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
↓ 5 callers
Method
flush
(self)
numpy/lib/tests/test_io.py:2661
↓ 5 callers
Function
gcd
numpy/core/src/umath/_rational_tests.c:86
↓ 5 callers
Method
get_paths
(self, section, key)
numpy/distutils/system_info.py:2918
↓ 5 callers
Function
get_view_from_index
* Get view into an array using all non-array indices. * * For any index, get a view of the subspace into the original * array. If there are no fanc
numpy/core/src/multiarray/mapping.c:822
↓ 5 callers
Method
getdoc
Return the doc of the function (from the doc of the method).
numpy/ma/core.py:6860
↓ 5 callers
Function
getmultilineblock
(rout, blockname, comment=1, counter=0)
numpy/f2py/auxfuncs.py:643
↓ 5 callers
Function
getpydocsign
(a, var)
numpy/f2py/capi_maps.py:342
↓ 5 callers
Function
hasbody
(rout)
numpy/f2py/auxfuncs.py:572
↓ 5 callers
Function
intel_version_match
(type)
numpy/distutils/fcompiler/intel.py:12
↓ 5 callers
Function
invalid_httpurl
()
numpy/lib/tests/test__datasource.py:69
↓ 5 callers
Function
iscomplex
(var)
numpy/f2py/auxfuncs.py:119
↓ 5 callers
Method
isdigit
Returns true for each element if all characters in the string are digits and there is at least one character, false otherwise.
numpy/core/defchararray.py:2390
↓ 5 callers
Function
isfinite
Array API compatible wrapper for :py:func:`np.isfinite <numpy.isfinite>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:392
↓ 5 callers
Function
isoptional
(var)
numpy/f2py/auxfuncs.py:408
↓ 5 callers
Function
isreal
Returns a bool array, where True if input element is real. If element has complex type with zero complex part, the return value for that
numpy/lib/type_check.py:247
↓ 5 callers
Method
isupper
Returns true for each element if all cased characters in the string are uppercase and there is at least one character, false
numpy/core/defchararray.py:2440
↓ 5 callers
Function
iteritems
(d, **kw)
tools/npy_tempita/compat3.py:13
↓ 5 callers
Function
legacy_double
numpy/random/src/legacy/legacy-distributions.c:14
↓ 5 callers
Function
legacy_standard_exponential
numpy/random/src/legacy/legacy-distributions.c:42
↓ 5 callers
Function
libdivide_128_div_64_to_64
libdivide_128_div_64_to_64: divides a 128-bit uint {u1, u0} by a 64-bit uint {v}. The result must fit in 64 bits. Returns the quotient directly and th
numpy/core/include/numpy/libdivide/libdivide.h:351
↓ 5 callers
Method
logical_xor
(self, obj)
numpy/core/tests/test_ufunc.py:127
↓ 5 callers
Function
make_rational_int
numpy/core/src/umath/_rational_tests.c:131
↓ 5 callers
Function
markinnerspaces
The function replace all spaces in the input variable line which are surrounded with quotation marks, with the triplet "@_@". For insta
numpy/f2py/crackfortran.py:1654
↓ 5 callers
Function
markouterparen
(line)
numpy/f2py/crackfortran.py:859
↓ 5 callers
Function
matrix_power
Raise a square matrix to the (integer) power `n`. For positive integers `n`, the power is computed by repeated matrix squarings and matr
numpy/linalg/linalg.py:570
↓ 5 callers
Function
maximum_fill_value
Return the minimum value that can be represented by the dtype of an object. This function is useful for calculating a fill value suitable fo
numpy/ma/core.py:350
↓ 5 callers
Function
meshgrid
Return a list of coordinate matrices from coordinate vectors. Make N-D coordinate arrays for vectorized evaluations of N-D scalar/vector
numpy/lib/function_base.py:5012
↓ 5 callers
Function
minimum_fill_value
Return the maximum value that can be represented by the dtype of an object. This function is useful for calculating a fill value suitable fo
numpy/ma/core.py:299
↓ 5 callers
Function
npy_bswap4_unaligned
numpy/core/src/common/lowlevel_strided_loops.h:506
↓ 5 callers
Function
npy_set_invalid_cast_error
* Helper function to set a useful error when casting is not possible. * * @param src_dtype * @param dst_dtype * @param casting * @param scalar Wh
numpy/core/src/multiarray/convert_datatype.c:985
↓ 5 callers
Function
npyiter_copy_to_buffers
* This gets called after the iterator has been positioned to a multi-index * for the start of a buffer. It decides which operands need a buffer, *
numpy/core/src/multiarray/nditer_api.c:2086
↓ 5 callers
Function
obj2sctype
Return the scalar dtype or NumPy equivalent of Python type of an object. Parameters ---------- rep : any The object of which
numpy/core/numerictypes.py:230
↓ 5 callers
Function
ones
Matrix of ones. Return a matrix of given shape and type, filled with ones. Parameters ---------- shape : {sequence of ints, int
numpy/matlib.py:62
↓ 5 callers
Function
polyadd
Add one polynomial to another. Returns the sum of two polynomials `c1` + `c2`. The arguments are sequences of coefficients from lowest
numpy/polynomial/polynomial.py:215
↓ 5 callers
Function
polymulx
Multiply a polynomial by x. Multiply the polynomial `c` by x, where x is the independent variable. Parameters ---------- c : ar
numpy/polynomial/polynomial.py:288
↓ 5 callers
Function
polysub
Subtract one polynomial from another. Returns the difference of two polynomials `c1` - `c2`. The arguments are sequences of coefficient
numpy/polynomial/polynomial.py:251
↓ 5 callers
Function
pow_di
(ap, bp)
numpy/linalg/lapack_lite/f2c.c:258
↓ 5 callers
Function
promote_types
* Internal promote types function which handles unsigned integers which * fit in same-sized signed integers specially. */
numpy/core/src/multiarray/convert_datatype.c:1026
↓ 5 callers
Function
random_poisson
numpy/random/src/distributions/distributions.c:596
↓ 5 callers
Function
rational_add
numpy/core/src/umath/_rational_tests.c:195
↓ 5 callers
Function
rational_lt
numpy/core/src/umath/_rational_tests.c:303
↓ 5 callers
Function
ravel
Return a contiguous flattened array. A 1-D array, containing the elements of the input, is returned. A copy is made only if needed. As
numpy/core/fromnumeric.py:1769
↓ 5 callers
Function
recursive_fill_fields
Fills fields from output with fields from input, with support for nested structures. Parameters ---------- input : ndarray
numpy/lib/recfunctions.py:36
↓ 5 callers
Function
remainder
Array API compatible wrapper for :py:func:`np.remainder <numpy.remainder>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:638
↓ 5 callers
Function
rk_uint32
* Returns an unsigned 32 bit random integer. */
numpy/random/src/mt19937/randomkit.c:259
↓ 5 callers
Function
rmbadname1
(name)
numpy/f2py/crackfortran.py:267
↓ 5 callers
Function
saxpy_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:10973
↓ 5 callers
Function
scalar_value
numpy/core/src/multiarray/scalarapi.c:34
↓ 5 callers
Function
should_use_min_scalar
* Determine if there is a mix of scalars and arrays/dtypes. * If this is the case, the scalars should be handled as the minimum type * capable of ho
numpy/core/src/multiarray/convert_datatype.c:1647
↓ 5 callers
Function
simple_version_match
Simple matching of version numbers, for use in CCompiler and FCompiler. Parameters ---------- pat : str, optional A regular
numpy/distutils/ccompiler.py:562
↓ 5 callers
Function
slahqr_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:13441
↓ 5 callers
Function
slasdq_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:28318
↓ 5 callers
Function
solve_diophantine
* Solve bounded Diophantine equation * * The problem considered is:: * * A[0] x[0] + A[1] x[1] + ... + A[n-1] x[n-1] == b * 0 <= x[i] <=
numpy/core/src/common/mem_overlap.c:482
↓ 5 callers
Function
strsm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:14641
↓ 5 callers
Method
substitute
Recursively substitute symbols with values in symbols map. Symbols map is a dictionary of symbol-expression pairs.
numpy/f2py/symbolic.py:585
↓ 5 callers
Function
take_along_axis
Take values from the input array by matching 1d index and data slices. This iterates over matching 1d slices oriented along the specified ax
numpy/lib/shape_base.py:55
↓ 5 callers
Method
tostring
Return a string representation of Expr.
numpy/f2py/symbolic.py:276
↓ 5 callers
Method
traverse
Traverse expression tree with visit function. The visit function is applied to an expression with given args and kwargs. Tra
numpy/f2py/symbolic.py:660
↓ 5 callers
Function
tri
An array with ones at and below the given diagonal and zeros elsewhere. Parameters ---------- N : int Number of rows in the
numpy/lib/twodim_base.py:368
↓ 5 callers
Function
z_div
(c, a, b)
numpy/linalg/lapack_lite/f2c.c:598
↓ 5 callers
Function
zaxpy_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:15108
↓ 5 callers
Function
zdotc_
Double Complex */
numpy/linalg/lapack_lite/f2c_blas.c:15269
↓ 5 callers
Function
zlahqr_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:10496
↓ 5 callers
Function
zswap_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:19155
↓ 5 callers
Function
ztrsm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:20431
↓ 4 callers
Method
Array2
Default constructor
tools/swig/test/Array2.cxx:5
↓ 4 callers
Method
ArrayZ
Default/length/array constructor
tools/swig/test/ArrayZ.cxx:6
↓ 4 callers
Function
BigInt_Set_uint32
numpy/core/src/multiarray/dragon4.c:257
↓ 4 callers
Function
Dragon4_PrintFloat_Intel_extended
* Intel's 80-bit IEEE extended precision floating-point format * * "long doubles" with this format are stored as 96 or 128 bits, but * are equivale
numpy/core/src/multiarray/dragon4.c:2506
↓ 4 callers
Method
IsNaN
@name Properties @{
numpy/core/src/common/half.hpp:216
↓ 4 callers
Function
LogBase2_32
* Get the log base 2 of a 32-bit unsigned integer. * http://graphics.stanford.edu/~seander/bithacks.html#IntegerLogLookup */
numpy/core/src/multiarray/dragon4.c:63
↓ 4 callers
Function
LogBase2_64
numpy/core/src/multiarray/dragon4.c:106
↓ 4 callers
Function
NpyIter_GetNDim
NUMPY_API * Gets the number of dimensions being iterated */
numpy/core/src/multiarray/nditer_api.c:893
↓ 4 callers
Function
NpyIter_GetTransferFlags
* Fetch the ArrayMethod (runtime) flags for all "transfer functions' (i.e. * copy to buffer/casts). * * TODO: This should be public API, but that o
numpy/core/src/multiarray/nditer_api.c:883
↓ 4 callers
Function
NpyIter_RemoveAxis
NUMPY_API * Removes an axis from iteration. This requires that NPY_ITER_MULTI_INDEX * was set for iterator creation, and does not work if buffering
numpy/core/src/multiarray/nditer_api.c:35
↓ 4 callers
Function
PyArray_AdaptDescriptorToArray
* Given a dtype or DType object, find the correct descriptor to cast the * array to. In some places, this function is used with dtype=NULL which *
numpy/core/src/multiarray/array_coercion.c:894
↓ 4 callers
Function
PyArray_CanCastSafely
NUMPY_API *Check the type coercion rules. */
numpy/core/src/multiarray/convert_datatype.c:610
↓ 4 callers
Function
PyArray_ClearBuffer
* Helper function to clear a strided memory (normally or always contiguous) * from all Python (or other) references. The function does nothing if th
numpy/core/src/multiarray/refcount.c:35
↓ 4 callers
Function
PyArray_CopyObject
* Assign an arbitrary object a NumPy array. This is largely basically * identical to PyArray_FromAny, but assigns directly to the output array. * *
numpy/core/src/multiarray/arrayobject.c:237
↓ 4 callers
Function
PyArray_DTYPE
numpy/core/include/numpy/ndarraytypes.h:1629
↓ 4 callers
Function
PyArray_DescrConverter2
NUMPY_API * Get typenum from an object -- None goes to NULL */
numpy/core/src/multiarray/descriptor.c:1381
↓ 4 callers
Function
PyArray_DiscoverDTypeAndShape
* Finds the DType and shape of an arbitrary nested sequence. This is the * general purpose function to find the parameters of the array (but not * t
numpy/core/src/multiarray/array_coercion.c:1214
↓ 4 callers
Function
PyArray_EnsureAnyArray
NUMPY_API*/
numpy/core/src/multiarray/ctors.c:2552
↓ 4 callers
Function
PyArray_GetCastFunc
NUMPY_API * Get a cast function to cast from the input descriptor to the * output type_number (must be a registered data-type). * Returns NULL if u
numpy/core/src/multiarray/convert_datatype.c:363
↓ 4 callers
Function
PyArray_Item_XDECREF
NUMPY_API * * XDECREF all objects in a single array item. This is complicated for * structured datatypes where the position of objects needs to be
numpy/core/src/multiarray/refcount.c:183
↓ 4 callers
Function
PyArray_LookupSpecial_OnInstance
* PyArray_LookupSpecial_OnInstance: * * Implements incorrect special method lookup rules, that break the python * convention, and looks on the inst
numpy/core/src/common/get_attr_string.h:76
↓ 4 callers
Function
PyArray_MapIterSwapAxes
NUMPY_API * * Swap the axes to or from their inserted form. MapIter always puts the * advanced (array) indices first in the iteration. But if they
numpy/core/src/multiarray/mapping.c:125
↓ 4 callers
Function
PyArray_MatrixProduct2
NUMPY_API * Numeric.matrixproduct2(a,v,out) * just like inner product but does the swapaxes stuff on the fly */
numpy/core/src/multiarray/multiarraymodule.c:997
↓ 4 callers
Function
PyArray_OverflowMultiplyList
NUMPY_API * Multiply a List of Non-negative numbers with over-flow detection. */
numpy/core/src/multiarray/multiarraymodule.c:196
↓ 4 callers
Function
PyArray_SetBaseObject
NUMPY_API * Sets the 'base' attribute of the array. This steals a reference * to 'obj'. * * Returns 0 on success, -1 on failure. */
numpy/core/src/multiarray/arrayobject.c:154
↓ 4 callers
Function
PyArray_SetWritebackIfCopyBase
NUMPY_API * * Precondition: 'arr' is a copy of 'base' (though possibly with different * strides, ordering, etc.). This function sets the WRITEBACKI
numpy/core/src/multiarray/arrayobject.c:108
↓ 4 callers
Function
PyArray_Size
NUMPY_API Compute the size of an array (in number of items) */
numpy/core/src/multiarray/arrayobject.c:71
↓ 4 callers
Function
PyDataMem_UserNEW
numpy/core/src/multiarray/alloc.c:433
↓ 4 callers
Function
PyUFunc_FromFuncAndData
UFUNC_API*/
numpy/core/src/umath/ufunc_object.c:5159
↓ 4 callers
Function
_PyArray_ArgMinMaxCommon
numpy/core/src/multiarray/calculation.c:39
↓ 4 callers
Method
__array_function__
(self, func, types, args, kwargs)
numpy/core/tests/test_overrides.py:293
↓ 4 callers
Method
__array_ufunc__
(self, func, method, *inputs, **kwargs)
numpy/core/tests/test_umath.py:3222
↓ 4 callers
Method
__call__
Executes the call behavior.
numpy/ma/core.py:834
↓ 4 callers
Method
__dlpack__
Performs the operation __dlpack__.
numpy/array_api/_array_object.py:483
↓ 4 callers
Method
__getattribute__
(self, attr)
numpy/core/records.py:242
← previous
next →
801–900 of 17,008, ranked by callers