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
↓ 7 callers
Function
clarft_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:19365
↓ 7 callers
Function
corrcoef
Return Pearson product-moment correlation coefficients. Please refer to the documentation for `cov` for more detail. The relationship b
numpy/lib/function_base.py:2758
↓ 7 callers
Function
cos
Array API compatible wrapper for :py:func:`np.cos <numpy.cos>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:255
↓ 7 callers
Function
delete
Return a new array with sub-arrays along an axis deleted. For a one dimensional array, this returns those entries not returned by `arr[ob
numpy/lib/function_base.py:5174
↓ 7 callers
Function
disnan_
numpy/linalg/lapack_lite/f2c_d_lapack.c:7932
↓ 7 callers
Function
dlarft_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:22478
↓ 7 callers
Function
equal
Return (x1 == x2) element-wise. Unlike `numpy.equal`, this comparison is performed by first stripping whitespace characters from the end
numpy/core/defchararray.py:105
↓ 7 callers
Method
f
()
numpy/lib/tests/test_io.py:1955
↓ 7 callers
Method
feature_implies
Return a set of CPU features that implied by 'names' Parameters ---------- names : str or sequence of str
numpy/distutils/ccompiler_opt.py:1348
↓ 7 callers
Function
fill_diagonal
Fill the main diagonal of the given array of any dimensionality. For an array `a` with ``a.ndim >= 2``, the diagonal is the list of locations
numpy/lib/index_tricks.py:786
↓ 7 callers
Function
flipud
Reverse the order of elements along axis 0 (up/down). For a 2-D array, this flips the entries in each column in the up/down direction. R
numpy/lib/twodim_base.py:103
↓ 7 callers
Function
fromarrays
Creates a mrecarray from a (flat) list of masked arrays. Parameters ---------- arraylist : sequence A list of (masked) array
numpy/ma/mrecords.py:504
↓ 7 callers
Method
func
(*vargs)
numpy/lib/function_base.py:2356
↓ 7 callers
Function
get_rtol
(dtype)
numpy/linalg/tests/test_linalg.py:61
↓ 7 callers
Function
greater_equal
Return (x1 >= x2) element-wise. Unlike `numpy.greater_equal`, this comparison is performed by first stripping whitespace characters from
numpy/core/defchararray.py:157
↓ 7 callers
Function
hstack
Stack arrays in sequence horizontally (column wise). This is equivalent to concatenation along the second axis, except for 1-D arrays wh
numpy/core/shape_base.py:293
↓ 7 callers
Function
is_leapyear
* Returns 1 if the given year is a leap year, 0 otherwise. */
numpy/core/src/multiarray/datetime.c:109
↓ 7 callers
Function
isdigit
Returns true for each element if all characters in the string are digits and there is at least one character, false otherwise. Calls `st
numpy/core/defchararray.py:872
↓ 7 callers
Function
isspace
Returns true for each element if there are only whitespace characters in the string and there is at least one character, false otherwise.
numpy/core/defchararray.py:934
↓ 7 callers
Function
l_or
(*f)
numpy/f2py/auxfuncs.py:610
↓ 7 callers
Method
less_equal
numpy/core/src/common/numpy_tag.h:78
↓ 7 callers
Function
masked_equal
Mask an array where equal to a given value. Return a MaskedArray, masked where the data in array `x` are equal to `value`. The fill_valu
numpy/ma/core.py:2080
↓ 7 callers
Function
median
Compute the median along the specified axis. Returns the median of the array elements. Parameters ---------- a : array_like
numpy/ma/extras.py:659
↓ 7 callers
Function
nonzero
Return the indices of the elements that are non-zero. Returns a tuple of arrays, one for each dimension of `a`, containing the indices o
numpy/core/fromnumeric.py:1882
↓ 7 callers
Method
nopt
(self, *args, **kwargs)
numpy/distutils/tests/test_ccompiler_opt.py:85
↓ 7 callers
Function
not_equal
Return (x1 != x2) element-wise. Unlike `numpy.not_equal`, this comparison is performed by first stripping whitespace characters from the
numpy/core/defchararray.py:131
↓ 7 callers
Function
npy_casting_to_string
numpy/core/src/multiarray/convert_datatype.c:956
↓ 7 callers
Function
npy_is_aligned
* return true if pointer is aligned to 'alignment' */
numpy/core/src/multiarray/common.h:203
↓ 7 callers
Function
npyiter_resetbasepointers
numpy/core/src/multiarray/nditer_pywrap.c:1171
↓ 7 callers
Function
npyv__bitscan_revnz_u32
numpy/core/src/common/simd/intdiv.h:84
↓ 7 callers
Function
npyv_setall_u64
numpy/core/src/common/simd/sse/misc.h:32
↓ 7 callers
Function
params_1
(f, bounded=False)
numpy/random/tests/test_smoke.py:29
↓ 7 callers
Function
raise_binary_type_reso_error
* Always returns -1 to indicate the exception was raised, for convenience */
numpy/core/src/umath/ufunc_type_resolution.c:77
↓ 7 callers
Method
rfind
For each element in `self`, return the highest index in the string where substring `sub` is found, such that `sub` is contained
numpy/core/defchararray.py:2523
↓ 7 callers
Function
rk_random
* Slightly optimised reference implementation of the Mersenne Twister * Note that regardless of the precision of long, only 32 bit random * integers
numpy/random/src/mt19937/randomkit.c:216
↓ 7 callers
Function
set_overflow
numpy/core/src/umath/_rational_tests.c:20
↓ 7 callers
Function
sisnan_
numpy/linalg/lapack_lite/f2c_s_lapack.c:7912
↓ 7 callers
Function
slarft_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:22398
↓ 7 callers
Function
solve_may_share_memory
* Determine whether two arrays share some memory. * * Returns: 0 (no shared memory), 1 (shared memory), or < 0 (failed to solve). * * Note that fa
numpy/core/src/common/mem_overlap.c:757
↓ 7 callers
Function
sort
Return a sorted copy of the masked array. Equivalent to creating a copy of the array and applying the MaskedArray ``sort()`` method.
numpy/ma/core.py:7016
↓ 7 callers
Method
version_match
(self, version_string)
numpy/distutils/fcompiler/gnu.py:76
↓ 7 callers
Function
zlarft_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:19469
↓ 6 callers
Function
Format_floatbits
* Helper function that takes Dragon4 parameters and options and * calls Dragon4. */
numpy/core/src/multiarray/dragon4.c:2182
↓ 6 callers
Function
NpyIter_HasMultiIndex
NUMPY_API * Whether the iterator is tracking a multi-index */
numpy/core/src/multiarray/nditer_api.c:746
↓ 6 callers
Function
NpyIter_ResetBasePointers
NUMPY_API * Resets the iterator to its initial state, with new base data pointers. * This function requires great caution. * * If errmsg is non-NU
numpy/core/src/multiarray/nditer_api.c:316
↓ 6 callers
Function
PrintInfNan
* Print special case values for infinities and NaNs. * The output string is always NUL terminated and the string length (not * including the NUL) is
numpy/core/src/multiarray/dragon4.c:2111
↓ 6 callers
Function
PyArray_CastToType
NUMPY_API * For backward compatibility * * Cast an array using typecode structure. * steals reference to dtype --- cannot be NULL * * This funct
numpy/core/src/multiarray/convert_datatype.c:323
↓ 6 callers
Function
PyArray_CreateSortedStridePerm
NUMPY_API * * This function populates the first ndim elements * of strideperm with sorted descending by their absolute values. * For example, the
numpy/core/src/multiarray/shape.c:773
↓ 6 callers
Function
PyArray_Empty
NUMPY_API * Empty * * accepts NULL type * steals a reference to type */
numpy/core/src/multiarray/ctors.c:2879
↓ 6 callers
Function
PyArray_GETITEM
numpy/core/include/numpy/ndarraytypes.h:1582
↓ 6 callers
Function
PyArray_GetCastingImpl
* Fetch the casting implementation from one DType to another. * * @params from * @params to * * @returns A castingimpl (PyArrayDTypeMethod *), No
numpy/core/src/multiarray/convert_datatype.c:152
↓ 6 callers
Function
PyArray_PyIntFromIntp
numpy/core/src/multiarray/conversion_utils.h:55
↓ 6 callers
Function
PyDataMem_GetHandler
NUMPY_API * Return the policy that will be used to allocate data * for the next PyArrayObject. On failure, return NULL. */
numpy/core/src/multiarray/alloc.c:559
↓ 6 callers
Function
PyDataMem_NEW
NUMPY_API * Allocates memory for array data. */
numpy/core/src/multiarray/alloc.c:277
↓ 6 callers
Function
PyUFunc_AddLoop
* Function to add a new loop to the ufunc. This mainly appends it to the * list (as it currently is just a list). * * @param ufunc The universal f
numpy/core/src/umath/dispatching.c:79
↓ 6 callers
Function
PyUFunc_SimpleUniformOperationTypeResolver
* This function applies special type resolution rules for the case * where all of the types in the signature are the same, eg XX->X or XX->XX. * It
numpy/core/src/umath/ufunc_type_resolution.c:491
↓ 6 callers
Method
__new__
(self, data, mask=nomask, dtype=None, fill_value=None, hardmask=False, copy=False, subok=True)
numpy/ma/core.py:6350
↓ 6 callers
Method
__reduce__
Return a 3-tuple for pickling a MaskedArray.
numpy/ma/core.py:6310
↓ 6 callers
Function
_check_mask_axis
Check whether there are masked values along the given axis
numpy/ma/core.py:1816
↓ 6 callers
Method
_compare
(self, other, method)
numpy/_utils/_pep440.py:158
↓ 6 callers
Method
_compare
(self, other)
numpy/lib/_version.py:114
↓ 6 callers
Method
_comparison
Compare self with other using operator.eq or operator.ne. When either of the elements is masked, the result is masked as well, but th
numpy/ma/core.py:4097
↓ 6 callers
Method
_div
(c1, c2)
numpy/polynomial/_polybase.py:146
↓ 6 callers
Function
_fix_real_lt_zero
Convert `x` to complex if it has real, negative components. Otherwise, output is just the array version of the input (via asarray). Paramete
numpy/lib/scimath.py:112
↓ 6 callers
Method
_get_command_flags
(self, key)
numpy/distutils/fcompiler/__init__.py:379
↓ 6 callers
Method
_neg_byteorder
(self, a)
numpy/core/tests/test_numeric.py:1857
↓ 6 callers
Method
_pow
(c, pow, maxpower=None)
numpy/polynomial/_polybase.py:151
↓ 6 callers
Function
_slice_at_axis
Construct tuple of slices to slice an array in the given dimension. Parameters ---------- sl : slice The slice for the given
numpy/lib/arraypad.py:33
↓ 6 callers
Method
_zeros
(shape, dtype=str)
numpy/core/tests/test_multiarray.py:1737
↓ 6 callers
Function
add
(line, ret=ret)
numpy/f2py/func2subr.py:98
↓ 6 callers
Method
add_method
(self, name, arr_class, enable_value_error=False)
numpy/core/tests/test_overrides.py:562
↓ 6 callers
Function
appendpath
(prefix, path)
numpy/distutils/misc_util.py:2307
↓ 6 callers
Function
as_array
Return object as ARRAY expression (array constant).
numpy/f2py/symbolic.py:995
↓ 6 callers
Function
as_eq
(left, right)
numpy/f2py/symbolic.py:1035
↓ 6 callers
Function
as_string
Return object as STRING expression (string literal constant).
numpy/f2py/symbolic.py:989
↓ 6 callers
Function
as_ternary
Return object as TERNARY expression (cond?expr1:expr2).
numpy/f2py/symbolic.py:1017
↓ 6 callers
Function
assert_dtype_not_equal
(a, b)
numpy/core/tests/test_dtype.py:30
↓ 6 callers
Function
atleast_3d
View inputs as arrays with at least three dimensions. Parameters ---------- arys1, arys2, ... : array_like One or more array
numpy/core/shape_base.py:140
↓ 6 callers
Method
build_operands
(self, string, size_dict=global_size_dict)
numpy/core/tests/test_einsum.py:1082
↓ 6 callers
Method
calc_extra_info
Updates the information in the current information with respect to these flags: extra_compile_args extra_link_args
numpy/distutils/system_info.py:828
↓ 6 callers
Function
check_object
numpy/linalg/lapack_litemodule.c:75
↓ 6 callers
Function
clascl_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:19965
↓ 6 callers
Function
colour_text
(s, fg=None, bg=None, bold=False)
numpy/distutils/misc_util.py:353
↓ 6 callers
Function
compare_chararrays
* The only purpose of this function is that it allows the "rstrip". * From my (@seberg's) perspective, this function should be deprecated * and I do
numpy/core/src/multiarray/multiarraymodule.c:3957
↓ 6 callers
Function
compute_datetime_metadata_greatest_common_divisor
* Computes the GCD of the two date-time metadata values. Raises * an exception if there is no reasonable GCD, such as with * years and days. * * T
numpy/core/src/multiarray/datetime.c:1517
↓ 6 callers
Function
convert_datetime_to_datetimestruct
* Converts a datetime based on the given metadata into a datetimestruct */
numpy/core/src/multiarray/datetime.c:448
↓ 6 callers
Function
convert_shape_to_string
* Convert an array shape to a string such as "(1, 2)". * * @param Dimensionality of the shape * @param npy_intp pointer to shape array * @param St
numpy/core/src/multiarray/common.c:197
↓ 6 callers
Function
corrcoef
Return Pearson product-moment correlation coefficients. Except for the handling of missing data this function does the same as `numpy.co
numpy/ma/extras.py:1517
↓ 6 callers
Function
ctrmm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:4160
↓ 6 callers
Function
ddot_
numpy/linalg/lapack_lite/f2c_blas.c:6738
↓ 6 callers
Function
dlanv2_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:17015
↓ 6 callers
Function
dot_generalized
(a, b)
numpy/linalg/tests/test_linalg.py:434
↓ 6 callers
Function
dot_join
(*args)
numpy/distutils/misc_util.py:742
↓ 6 callers
Method
double
(row)
numpy/lib/tests/test_shape_base.py:124
↓ 6 callers
Function
dtrmm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:9285
↓ 6 callers
Function
exec_mod_from_location
Use importlib machinery to import a module `modname` from the file `modfile`. Depending on the `spec.loader`, the module may not be regis
numpy/distutils/misc_util.py:2484
↓ 6 callers
Method
expect_targets
(self, targets, groups={}, **kwargs)
numpy/distutils/tests/test_ccompiler_opt.py:238
↓ 6 callers
Method
f
(self,z)
benchmarks/benchmarks/bench_ufunc_strides.py:171
↓ 6 callers
Method
flush
Write any changes in the array to the file on disk. For further information, see `memmap`. Parameters ----------
numpy/core/memmap.py:301
↓ 6 callers
Function
func
(a)
numpy/typing/tests/test_runtime.py:59
← previous
next →
601–700 of 17,008, ranked by callers