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
↓ 2 callers
Function
NumPyOS_ascii_strtold
numpy/core/src/common/numpyos.c:512
↓ 2 callers
Function
NumPyOS_strtoll
numpy/core/src/common/numpyos.c:773
↓ 2 callers
Function
PyArrayIdentityHash_SetItem
* Add an item to the identity cache. The storage location must not change * unless the cache is cleared. * * @param tb The mapping. * @param key
numpy/core/src/common/npy_hashtable.c:187
↓ 2 callers
Function
PyArrayMethod_GetMaskedStridedLoop
* Fetches a strided-loop function that supports a boolean mask as additional * (last) operand to the strided-loop. It is otherwise largely identical
numpy/core/src/multiarray/array_method.c:913
↓ 2 callers
Function
PyArray_AssignFromCache
* Fills an item based on a coercion cache object. It consumes the cache * object while doing so. * * @param self Array to fill. * @param cache coe
numpy/core/src/multiarray/ctors.c:552
↓ 2 callers
Function
PyArray_AssignRawScalar
* Assigns a scalar value specified by 'src_dtype' and 'src_data' * to elements of 'dst'. * * dst: The destination array. * src_dtype: The data typ
numpy/core/src/multiarray/array_assign_scalar.c:232
↓ 2 callers
Function
PyArray_Byteswap
NUMPY_API*/
numpy/core/src/multiarray/methods.c:528
↓ 2 callers
Function
PyArray_CastRawArrays
numpy/core/src/multiarray/dtype_transfer.c:3380
↓ 2 callers
Function
PyArray_CheckAnyScalarExact
NUMPY_API * return 1 if an object is exactly a numpy scalar */
numpy/core/src/multiarray/scalarapi.c:114
↓ 2 callers
Function
PyArray_CheckFromAny_int
numpy/core/src/multiarray/ctors.c:1793
↓ 2 callers
Function
PyArray_CheckStrides
NUMPY_API*/
numpy/core/src/multiarray/arrayobject.c:1123
↓ 2 callers
Function
PyArray_CommonDType
* This function defines the common DType operator. * * Note that the common DType will not be "object" (unless one of the dtypes * is object), even
numpy/core/src/multiarray/common_dtype.c:45
↓ 2 callers
Function
PyArray_ConcatenateInto
* Implementation for np.concatenate * * @param op Sequence of arrays to concatenate * @param axis Axis to concatenate along * @param ret output ar
numpy/core/src/multiarray/multiarraymodule.c:684
↓ 2 callers
Function
PyArray_CountNonzero
NUMPY_API * Counts the number of non-zero elements in the array. * * Returns -1 on error. */
numpy/core/src/multiarray/item_selection.c:2646
↓ 2 callers
Function
PyArray_Diagonal
NUMPY_API * Diagonal * * In NumPy versions prior to 1.7, this function always returned a copy of * the diagonal array. In 1.7, the code has been
numpy/core/src/multiarray/item_selection.c:2217
↓ 2 callers
Function
PyArray_EquivTypenums
NUMPY_API*/
numpy/core/src/multiarray/multiarraymodule.c:1578
↓ 2 callers
Function
PyArray_FindConcatenationDescriptor
* Helper to find the target descriptor for multiple arrays given an input * one that may be a DType class (e.g. "U" or "S"). * Works with arrays, si
numpy/core/src/multiarray/convert_datatype.c:1151
↓ 2 callers
Function
PyArray_FromAny_int
numpy/core/src/multiarray/ctors.c:1531
↓ 2 callers
Function
PyArray_FromArrayAttr_int
* Check for an __array__ attribute and call it when it exists. * * .. warning: * If returned, `NotImplemented` is borrowed and must not be De
numpy/core/src/multiarray/ctors.c:2395
↓ 2 callers
Function
PyArray_GenericAccumulateFunction
numpy/core/src/multiarray/number.c:249
↓ 2 callers
Function
PyArray_GetField
NUMPY_API Get a subset of bytes from each element of the array steals reference to typed, must not be NULL */
numpy/core/src/multiarray/methods.c:376
↓ 2 callers
Function
PyArray_GetStridedZeroPadCopyFn
numpy/core/src/multiarray/dtype_transfer.c:458
↓ 2 callers
Function
PyArray_GetSubType
* Get the ndarray subclass with the highest priority */
numpy/core/src/multiarray/multiarraymodule.c:370
↓ 2 callers
Function
PyArray_IntpFromIndexSequence
* Reads values from a sequence of integers and stores them into an array. * * @param seq A sequence created using `PySequence_Fast`. * @param
numpy/core/src/multiarray/conversion_utils.c:1091
↓ 2 callers
Function
PyArray_LegacyEquivTypes
numpy/core/src/multiarray/legacy_dtype_implementation.c:82
↓ 2 callers
Function
PyArray_MapIterArrayCopyIfOverlap
NUMPY_API * * Same as PyArray_MapIterArray, but: * * If copy_if_overlap != 0, check if `a` has memory overlap with any of the * arrays in `index`
numpy/core/src/multiarray/mapping.c:3321
↓ 2 callers
Function
PyArray_MapIterNext
NUMPY_API * This function needs to update the state of the map iterator * and point mit->dataptr to the memory-location of the next object * * Not
numpy/core/src/multiarray/mapping.c:2309
↓ 2 callers
Function
PyArray_MinScalarType_internal
numpy/core/src/multiarray/convert_datatype.c:1568
↓ 2 callers
Function
PyArray_MoveInto
NUMPY_API * Move the memory of one array into another, allowing for overlapping data. * * Returns 0 on success, negative on failure. */
numpy/core/src/multiarray/ctors.c:2783
↓ 2 callers
Function
PyArray_MultiIterFromObjects
NUMPY_API * Get MultiIterator from array of Python objects and any additional * * PyObject **mps - array of PyObjects * int n - number of PyObject
numpy/core/src/multiarray/iterators.c:1334
↓ 2 callers
Function
PyArray_NewFlagsObject
NUMPY_API * * Get New ArrayFlagsObject */
numpy/core/src/multiarray/flagsobject.c:27
↓ 2 callers
Function
PyArray_NewLikeArrayWithShape
* Creates a new array with the same shape as the provided one, * with possible memory layout order, data type and shape changes. * * prototype - Th
numpy/core/src/multiarray/ctors.c:1035
↓ 2 callers
Function
PyArray_OrderConverter
NUMPY_API * Convert an object to FORTRAN / C / ANY / KEEP */
numpy/core/src/multiarray/conversion_utils.c:693
↓ 2 callers
Function
PyArray_PrepareTwoRawArrayIter
* The same as PyArray_PrepareOneRawArrayIter, but for two * operands instead of one. Any broadcasting of the two operands * should have already been
numpy/core/src/multiarray/dtype_transfer.c:3581
↓ 2 callers
Function
PyArray_PromoteDTypeSequence
* Promotes a list of DTypes with each other in a way that should guarantee * stable results even when changing the order. * * In general this appro
numpy/core/src/multiarray/common_dtype.c:207
↓ 2 callers
Function
PyArray_PyIntAsIntp_ErrMsg
numpy/core/src/multiarray/conversion_utils.c:978
↓ 2 callers
Function
PyArray_Ravel
NUMPY_API * Ravel * Returns a contiguous array */
numpy/core/src/multiarray/shape.c:889
↓ 2 callers
Function
PyArray_RemoveAxesInPlace
NUMPY_API * * Removes the axes flagged as True from the array, * modifying it in place. If an axis flagged for removal * has a shape entry bigger
numpy/core/src/multiarray/shape.c:1005
↓ 2 callers
Function
PyArray_Reshape
NUMPY_API * Reshape */
numpy/core/src/multiarray/shape.c:300
↓ 2 callers
Function
PyArray_Sort
NUMPY_API * Sort an array in-place */
numpy/core/src/multiarray/item_selection.c:1496
↓ 2 callers
Function
PyArray_TakeFrom
NUMPY_API * Take */
numpy/core/src/multiarray/item_selection.c:221
↓ 2 callers
Function
PyArray_realloc_aligned
numpy/random/include/aligned_malloc.h:9
↓ 2 callers
Function
PyRational_Check
numpy/core/src/umath/_rational_tests.c:370
↓ 2 callers
Function
PyRational_FromRational
numpy/core/src/umath/_rational_tests.c:375
↓ 2 callers
Function
PyUFuncOverride_GetNonDefaultArrayUfunc
* Check whether an object has __array_ufunc__ defined on its class and it * is not the default, i.e., the object is not an ndarray, and its * __arra
numpy/core/src/common/ufunc_override.c:18
↓ 2 callers
Function
PyUFunc_FromFuncAndDataAndSignatureAndIdentity
UFUNC_API*/
numpy/core/src/umath/ufunc_object.c:5183
↓ 2 callers
Function
PyUFunc_GetPyValues
UFUNC_API * * On return, if errobj is populated with a non-NULL value, the caller * owns a new reference to errobj. */
numpy/core/src/umath/ufunc_object.c:541
↓ 2 callers
Function
PyUFunc_RegisterLoopForType
UFUNC_API*/
numpy/core/src/umath/ufunc_object.c:5530
↓ 2 callers
Function
ToDoubleBits
numpy/core/src/common/half_private.hpp:299
↓ 2 callers
Function
ToFloatBits
numpy/core/src/common/half_private.hpp:269
↓ 2 callers
Function
WARN_NO_RETURN
Similar to array_dealloc in arrayobject.c */
numpy/core/src/multiarray/alloc.c:209
↓ 2 callers
Function
_IsWriteable
numpy/core/src/multiarray/common.c:131
↓ 2 callers
Function
_PyArray_GetNumericOps
numpy/core/src/multiarray/number.c:144
↓ 2 callers
Function
_PyArray_SetNumericOps
numpy/core/src/multiarray/number.c:78
↓ 2 callers
Method
__array__
(self)
numpy/core/tests/test_overrides.py:714
↓ 2 callers
Method
__call__
(self, x)
numpy/core/arrayprint.py:1241
↓ 2 callers
Method
__deepcopy__
(self, *args, **kwargs)
numpy/core/tests/test_multiarray.py:2297
↓ 2 callers
Method
__del__
(self)
numpy/lib/_datasource.py:256
↓ 2 callers
Method
__divmod__
(self, other)
numpy/polynomial/_polybase.py:578
↓ 2 callers
Method
__eq__
(self, other)
numpy/testing/tests/test_utils.py:178
↓ 2 callers
Method
__get_nbits
(self)
numpy/distutils/cpuinfo.py:88
↓ 2 callers
Method
__getattribute__
(self, key)
numpy/lib/npyio.py:76
↓ 2 callers
Method
__html__
(self)
tools/npy_tempita/__init__.py:440
↓ 2 callers
Method
__next__
Return the next value, or raise StopIteration. Examples -------- >>> x = np.ma.array([3, 2], mask=[0, 1]) >>
numpy/ma/core.py:2669
↓ 2 callers
Method
__rdivmod__
(self, other)
numpy/polynomial/_polybase.py:637
↓ 2 callers
Function
_add_keepdims
hack in keepdims behavior into a function taking an axis
numpy/lib/tests/test_shape_base.py:19
↓ 2 callers
Method
_add_library
Common implementation for add_library and add_installed_library. Do not use directly
numpy/distutils/misc_util.py:1581
↓ 2 callers
Function
_apply_array_wrap
* Apply the __array_wrap__ function with the given array and content. * * Interprets wrap=None and wrap=NULL as intended by _find_array_wrap * * S
numpy/core/src/umath/ufunc_object.c:482
↓ 2 callers
Function
_arange_safe_ceil_to_intp
* Like ceil(value), but check for overflow. * * Return 0 on success, -1 on failure. In case of failure, set a PyExc_Overflow * exception */
numpy/core/src/multiarray/ctors.c:2916
↓ 2 callers
Method
_argtypes_string
(self)
numpy/core/code_generators/genapi.py:425
↓ 2 callers
Function
_array_vals
()
numpy/array_api/tests/test_array_object.py:108
↓ 2 callers
Function
_assert_2d
(*arrays)
numpy/linalg/linalg.py:197
↓ 2 callers
Function
_assert_finite
(*arrays)
numpy/linalg/linalg.py:215
↓ 2 callers
Function
_assert_valid_refcount
Check that ufuncs don't mishandle refcount of object `1`. Used in a few regression tests.
numpy/testing/_private/utils.py:1412
↓ 2 callers
Function
_atleast_nd
(a, ndim)
numpy/core/shape_base.py:553
↓ 2 callers
Function
_binary_method
Implement a forward binary method with a ufunc, e.g., __add__.
numpy/lib/mixins.py:16
↓ 2 callers
Function
_block_concatenate
(arrays, list_ndim, result_ndim)
numpy/core/shape_base.py:915
↓ 2 callers
Function
_block_format_index
Convert a list of indices ``[0, 1, 2]`` into ``"arrays[0][1][2]"``.
numpy/core/shape_base.py:469
↓ 2 callers
Function
_block_slicing
(arrays, list_ndim, result_ndim)
numpy/core/shape_base.py:896
↓ 2 callers
Function
_broadcast_to
(array, shape, subok, readonly)
numpy/lib/stride_tricks.py:340
↓ 2 callers
Function
_buffer_get_info
* Get the buffer info returning either the old one (passed in) or a new * buffer info which adds holds on to (and thus replaces) the old one. */
numpy/core/src/multiarray/buffer.c:687
↓ 2 callers
Function
_buffer_info_free_untagged
* NOTE: for backward compatibility (esp. with PyArg_ParseTuple("s#", ...)) * we do *not* define bf_releasebuffer at all. * * Instead, any extra dat
numpy/core/src/multiarray/buffer.c:651
↓ 2 callers
Function
_buffer_info_untag
numpy/core/src/multiarray/buffer.c:614
↓ 2 callers
Function
_calculate_shapes
Helper for calculating broadcast shapes with core dimensions.
numpy/lib/function_base.py:2095
↓ 2 callers
Function
_can_coerce_all
(dtypelist, start=0)
numpy/core/numerictypes.py:574
↓ 2 callers
Function
_chbevl
(x, vals)
numpy/lib/function_base.py:3406
↓ 2 callers
Function
_check_branch_cut
Check for a branch cut in a function. Assert that `x0` lies on a branch cut of function `f` and `f` is continuous from the direction `dx
numpy/core/tests/test_umath.py:4365
↓ 2 callers
Function
_check_for_import_lib
Check if an import library for the Python runtime already exists.
numpy/distutils/mingw32ccompiler.py:353
↓ 2 callers
Method
_check_info
(self, info)
numpy/distutils/system_info.py:2004
↓ 2 callers
Function
_check_interpolation_as_method
(method, interpolation, fname)
numpy/lib/function_base.py:4577
↓ 2 callers
Method
_check_libs
Find mandatory and optional libs in expected paths. Missing optional libraries are silently forgotten.
numpy/distutils/system_info.py:1055
↓ 2 callers
Method
_check_multi_index
Check a multi index item getting and simple setting. Parameters ---------- arr : ndarray Array to be indexed, mus
numpy/core/tests/test_indexing.py:1098
↓ 2 callers
Function
_check_neg_zero
(value)
numpy/core/tests/test_ufunc.py:2806
↓ 2 callers
Function
_check_object_rec
numpy/core/src/multiarray/convert_datatype.c:2139
↓ 2 callers
Method
_check_range
(self, x, cmin, cmax)
numpy/core/tests/test_multiarray.py:4959
↓ 2 callers
Method
_check_value_error
(self, val)
numpy/core/tests/test_conversion_utils.py:20
↓ 2 callers
Function
_commandline_dep_string
Return commandline representation used to determine if a file needs to be recompiled
numpy/distutils/misc_util.py:582
↓ 2 callers
Method
_compare_group
(self, item, other, getter)
tools/npy_tempita/_looper.py:142
↓ 2 callers
Method
_compare_index_result
Compare mimicked result to indexing result.
numpy/core/tests/test_indexing.py:1146
↓ 2 callers
Function
_complexType
(t, default=cdouble)
numpy/linalg/linalg.py:156
← previous
next →
1,501–1,600 of 17,008, ranked by callers