Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ functions
Functions
17,008 in github.com/numpy/numpy
⨍
Functions
17,008
◇
Types & classes
2,137
↳
Endpoints
358
↓ 19 callers
Function
PyArray_TYPE
numpy/core/include/numpy/ndarraytypes.h:1570
↓ 19 callers
Function
asarray
Array API compatible wrapper for :py:func:`np.asarray <numpy.asarray>`. See its docstring for more information.
numpy/array_api/_creation_functions.py:31
↓ 19 callers
Function
linspace
Return evenly spaced numbers over a specified interval. Returns `num` evenly spaced samples, calculated over the interval [`start`, `sto
numpy/core/function_base.py:25
↓ 19 callers
Function
npy_free_cache_dim_obj
numpy/core/src/multiarray/alloc.h:34
↓ 19 callers
Function
outmess
(line, flag=1)
numpy/f2py/crackfortran.py:236
↓ 18 callers
Function
PyArray_CheckAxis
NUMPY_API * PyArray_CheckAxis * * check that axis is valid * convert 0-d arrays to 1-d arrays */
numpy/core/src/multiarray/ctors.c:2795
↓ 18 callers
Function
PyArray_CompareLists
NUMPY_API * Compare Lists */
numpy/core/src/multiarray/multiarraymodule.c:234
↓ 18 callers
Function
PyArray_SHAPE
numpy/core/include/numpy/ndarraytypes.h:1635
↓ 18 callers
Method
__machine
(self, n)
numpy/distutils/cpuinfo.py:376
↓ 18 callers
Function
_wrapfunc
(obj, method, *args, **kwds)
numpy/core/fromnumeric.py:53
↓ 18 callers
Method
add_data_files
Add data files to configuration data_files. Parameters ---------- files : sequence Argument(s) can be either
numpy/distutils/misc_util.py:1200
↓ 18 callers
Method
argmax
Returns array of indices of the maximum values along the given axis. Masked values are treated as if they had the value fill_value.
numpy/ma/core.py:5638
↓ 18 callers
Function
assert_array_max_ulp
Check that all items of arrays differ in at most N Units in the Last Place. Parameters ---------- a, b : array_like Input ar
numpy/testing/_private/utils.py:1571
↓ 18 callers
Function
customized_fcompiler
(plat=None, compiler=None)
numpy/distutils/__init__.py:55
↓ 18 callers
Function
get_kind
(var)
numpy/f2py/auxfuncs.py:136
↓ 18 callers
Method
get_libs
(self, key, default)
numpy/distutils/system_info.py:950
↓ 18 callers
Function
isscalar
(var)
numpy/f2py/auxfuncs.py:115
↓ 18 callers
Function
masked_where
Mask an array where a condition is met. Return `a` as an array masked where `condition` is True. Any masked values of `a` or `condition`
numpy/ma/core.py:1828
↓ 17 callers
Function
NpyIter_GetOperandArray
NUMPY_API * Get the array of objects being iterated */
numpy/core/src/multiarray/nditer_api.c:1142
↓ 17 callers
Function
Poly
(request)
numpy/polynomial/tests/test_classes.py:29
↓ 17 callers
Function
PyArray_GenericBinaryFunction
numpy/core/src/multiarray/number.c:269
↓ 17 callers
Method
_check_compiler
(self)
numpy/distutils/command/config.py:40
↓ 17 callers
Method
argsort
Return an ndarray of indices that sort the array along the specified axis. Masked values are filled beforehand to `fill_valu
numpy/ma/core.py:5511
↓ 17 callers
Function
default_fill_value
Return the default fill value for the argument object. The default filling value depends on the datatype of the input array or the type
numpy/ma/core.py:230
↓ 17 callers
Function
dlaset_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:28898
↓ 17 callers
Function
dot
Return the dot product of two arrays. This function is the equivalent of `numpy.dot` that takes masked values into account. Note that `s
numpy/ma/core.py:7843
↓ 17 callers
Function
exp
Array API compatible wrapper for :py:func:`np.exp <numpy.exp>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:303
↓ 17 callers
Method
has_shared_memory
Check that created array shares data with input array.
numpy/f2py/tests/test_array_from_pyobj.py:363
↓ 17 callers
Function
histogram
r""" Compute the histogram of a dataset. Parameters ---------- a : array_like Input data. The histogram is computed over the
numpy/lib/histograms.py:679
↓ 17 callers
Function
slaset_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:28790
↓ 17 callers
Function
where
Return a masked array with elements from `x` or `y`, depending on condition. .. note:: When only `condition` is provided, this funct
numpy/ma/core.py:7603
↓ 16 callers
Function
PyArray_IterNew
NUMPY_API * Get Iterator. */
numpy/core/src/multiarray/iterators.c:174
↓ 16 callers
Method
_update_from
Copies some attributes of obj to self.
numpy/ma/core.py:2952
↓ 16 callers
Method
add_subpackage
Add a sub-package to the current Configuration instance. This is useful in a setup.py script for adding sub-packages to a package.
numpy/distutils/misc_util.py:1027
↓ 16 callers
Function
check
(A, U, exists=None)
numpy/core/tests/test_mem_overlap.py:398
↓ 16 callers
Method
check_einsum_sums
(self, dtype, do_opt=False)
numpy/core/tests/test_einsum.py:314
↓ 16 callers
Method
combine_paths
Return a list of existing paths composed by all combinations of items from the arguments.
numpy/distutils/system_info.py:1076
↓ 16 callers
Function
count
Returns an array with the number of non-overlapping occurrences of substring `sub` in the range [`start`, `end`]. Calls `str.count` elem
numpy/core/defchararray.py:523
↓ 16 callers
Method
count
Count the non-masked elements of the array along the given axis. Parameters ---------- axis : None or int or tuple o
numpy/ma/core.py:4525
↓ 16 callers
Function
isComplexType
(t)
numpy/linalg/linalg.py:140
↓ 16 callers
Function
next_uint32
Inline generators for internal use */
numpy/random/src/distributions/distributions.c:12
↓ 16 callers
Function
rand
Return a matrix of random values with given shape. Create a matrix of the given shape and propagate it with random samples from a unifor
numpy/matlib.py:231
↓ 16 callers
Function
wrap
(*args, **kwargs)
benchmarks/benchmarks/bench_overrides.py:8
↓ 15 callers
Function
PyArray_NewFromDescr_int
* Generic new array creation routine. * Internal variant with calloc argument for PyArray_Zeros. * * steals a reference to descr. On failure or des
numpy/core/src/multiarray/ctors.c:627
↓ 15 callers
Method
__cputype
(self, n)
numpy/distutils/cpuinfo.py:312
↓ 15 callers
Method
__machine
(self, n)
numpy/distutils/cpuinfo.py:333
↓ 15 callers
Function
_clean_args
Helper function for delegating arguments to Python string functions. Many of the Python string operations that have optional arguments
numpy/core/defchararray.py:73
↓ 15 callers
Function
_commonType
(*arrays)
numpy/linalg/linalg.py:159
↓ 15 callers
Method
assert_array_equal
Checks the elementwise equality of two masked arrays.
numpy/ma/timer_comparison.py:103
↓ 15 callers
Function
assert_equal_records
Asserts that two records are equal. Pretty crude for now.
numpy/ma/testutils.py:93
↓ 15 callers
Function
clacpy_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:9062
↓ 15 callers
Method
compress
Return `a` where condition is ``True``. If condition is a `~ma.MaskedArray`, missing values are considered as ``False``.
numpy/ma/core.py:3893
↓ 15 callers
Function
concatenate
Concatenate a sequence of arrays along the given axis. Parameters ---------- arrays : sequence of array_like The arrays must
numpy/ma/core.py:7095
↓ 15 callers
Function
dlabad_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:7968
↓ 15 callers
Method
filled
Return a copy of self, with masked values filled with a given value. **However**, if there are no masked values to fill, self will be
numpy/ma/core.py:3786
↓ 15 callers
Method
get_include_dirs
(self, key='include_dirs')
numpy/distutils/system_info.py:944
↓ 15 callers
Function
isstring
(var)
numpy/f2py/auxfuncs.py:97
↓ 15 callers
Function
make_mask
Create a boolean mask from an array. Return `m` as a boolean mask, creating a copy if necessary or requested. The function can accept an
numpy/ma/core.py:1555
↓ 15 callers
Method
put
Set storage-indexed locations to corresponding values. Sets self._data.flat[n] = values[n] for each n in indices. If `values
numpy/ma/core.py:4770
↓ 15 callers
Function
r_sign
(a,b)
numpy/linalg/lapack_lite/f2c.c:163
↓ 15 callers
Method
round
Return each element rounded to the given number of decimals. Refer to `numpy.around` for full documentation. See Also
numpy/ma/core.py:5486
↓ 15 callers
Function
slabad_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:7948
↓ 15 callers
Function
zlacpy_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:9117
↓ 14 callers
Function
PyArray_DescrNew
NUMPY_API * base cannot be NULL */
numpy/core/src/multiarray/descriptor.c:1903
↓ 14 callers
Function
PyArray_ENABLEFLAGS
* Enables the specified array flags. Does no checking, * assumes you know what you're doing. */
numpy/core/include/numpy/ndarraytypes.h:1645
↓ 14 callers
Function
PyArray_PyIntAsIntp
NUMPY_API*/
numpy/core/src/multiarray/conversion_utils.c:1059
↓ 14 callers
Function
_assert_stacked_2d
(*arrays)
numpy/linalg/linalg.py:203
↓ 14 callers
Method
_test_equal
(self, a, b)
numpy/testing/tests/test_utils.py:21
↓ 14 callers
Method
argsort
Return the indices that sort the array lexicographically. For full documentation see `numpy.argsort`, for which this method is
numpy/core/defchararray.py:2239
↓ 14 callers
Function
asbytes
(s)
numpy/compat/py3k.py:39
↓ 14 callers
Function
atleast_1d
Convert inputs to arrays with at least one dimension. Scalar inputs are converted to 1-dimensional arrays, whilst higher-dimensional inp
numpy/core/shape_base.py:24
↓ 14 callers
Function
block
Assemble an nd-array from nested lists of blocks. Blocks in the innermost lists are concatenated (see `concatenate`) along the last dime
numpy/core/shape_base.py:704
↓ 14 callers
Function
build_err_msg
(arrays, err_msg, header='Items are not equal:', verbose=True, names=('ACTUAL', 'DESIRED'),
numpy/testing/_private/utils.py:184
↓ 14 callers
Method
compressed
(self)
numpy/ma/tests/test_core.py:4915
↓ 14 callers
Function
d
numpy/core/src/umath/_rational_tests.c:167
↓ 14 callers
Function
diff
Calculate the n-th discrete difference along the given axis. The first difference is given by ``out[i] = a[i+1] - a[i]`` along the given
numpy/lib/function_base.py:1325
↓ 14 callers
Method
divide
Divides n by the divisor
numpy/core/include/numpy/libdivide/libdivide.h:2010
↓ 14 callers
Function
histogramdd
Compute the multidimensional histogram of some data. Parameters ---------- sample : (N, D) array, or (N, D) array_like The d
numpy/lib/histograms.py:902
↓ 14 callers
Function
isfunction
(rout)
numpy/f2py/auxfuncs.py:279
↓ 14 callers
Function
join_by
Join arrays `r1` and `r2` on key `key`. The key should be either a string or a sequence of string corresponding to the fields used to jo
numpy/lib/recfunctions.py:1475
↓ 14 callers
Method
lstrip
For each element in `self`, return a copy with the leading characters removed. See Also -------- char.lstrip
numpy/core/defchararray.py:2489
↓ 14 callers
Function
make_mask_none
Return a boolean mask of the given shape, filled with False. This function returns a boolean ndarray with all entries False, that can be
numpy/ma/core.py:1644
↓ 14 callers
Function
norm
Matrix or vector norm. This function is able to return one of eight different matrix norms, or one of an infinite number of vector norms
numpy/linalg/linalg.py:2384
↓ 13 callers
Function
NpyIter_GetNOp
NUMPY_API * Gets the number of operands being iterated */
numpy/core/src/multiarray/nditer_api.c:902
↓ 13 callers
Function
PyArray_CLEARFLAGS
* Clears the specified array flags. Does no checking, * assumes you know what you're doing. */
numpy/core/include/numpy/ndarraytypes.h:1655
↓ 13 callers
Function
PyArray_Pack
* Assign a single element in an array from a python value. * * The dtypes SETITEM should only be trusted to generally do the right * thing if somet
numpy/core/src/multiarray/array_coercion.c:466
↓ 13 callers
Function
PyArray_ResolveWritebackIfCopy
NUMPY_API * * If WRITEBACKIFCOPY and self has data, reset the base WRITEABLE flag, * copy the local data to base, release the local data, and set f
numpy/core/src/multiarray/arrayobject.c:362
↓ 13 callers
Function
PyArray_View
NUMPY_API * View * steals a reference to type -- accepts NULL */
numpy/core/src/multiarray/convert.c:503
↓ 13 callers
Function
_convert_from_any
numpy/core/src/multiarray/descriptor.c:1608
↓ 13 callers
Function
_makearray
(a)
numpy/linalg/linalg.py:135
↓ 13 callers
Function
assert_dtype_equal
(a, b)
numpy/core/tests/test_dtype.py:25
↓ 13 callers
Function
assert_no_warnings
Fail if the given callable produces any warnings. If called with all arguments omitted, may be used as a context manager: with asse
numpy/testing/_private/utils.py:1791
↓ 13 callers
Method
check
(ctype, dtype)
numpy/core/tests/test_dtype.py:1639
↓ 13 callers
Function
check_and_adjust_index
* Returns -1 and sets an exception if *index is an invalid index for * an array of size max_item, otherwise adjusts it in place to be * 0 <= *index
numpy/core/src/multiarray/common.h:103
↓ 13 callers
Method
copy
(self)
numpy/distutils/fcompiler/__init__.py:242
↓ 13 callers
Method
copy
Return a copy. Returns ------- new_series : series Copy of self.
numpy/polynomial/_polybase.py:664
↓ 13 callers
Function
divide
Array API compatible wrapper for :py:func:`np.divide <numpy.divide>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:277
↓ 13 callers
Function
dlarfg_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:22337
↓ 13 callers
Function
exc_iter
Iterate over Cartesian product of *args, and if an exception is raised, add information of the current iterate.
numpy/core/tests/test_extint128.py:44
↓ 13 callers
Method
foo
(x)
numpy/f2py/tests/test_callback.py:226
← previous
next →
201–300 of 17,008, ranked by callers