MCPcopy Create free account

hub / github.com/numpy/numpy / functions

Functions17,008 in github.com/numpy/numpy

↓ 13 callersFunctiongradient
Return the gradient of an N-dimensional array. The gradient is computed using second order accurate central differences in the interior
numpy/lib/function_base.py:973
↓ 13 callersFunctioninit_linearize_data
numpy/linalg/umath_linalg.cpp:570
↓ 13 callersMethodlistdir
List files in the source Repository. Returns ------- files : list of str List of file names (not contain
numpy/lib/_datasource.py:686
↓ 13 callersMethodmin
Minimum value of given dtype.
numpy/core/getlimits.py:697
↓ 13 callersFunctionnormalize_axis_tuple
Normalizes an axis argument into a tuple of non-negative integer axes. This handles shorthands such as ``1`` and converts them to ``(1,)``,
numpy/core/numeric.py:1330
↓ 13 callersFunctionones
Array API compatible wrapper for :py:func:`np.ones <numpy.ones>`. See its docstring for more information.
numpy/array_api/_creation_functions.py:256
↓ 13 callersFunctionslarfg_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:22258
↓ 13 callersMethodsplitlines
For each element in `self`, return a list of the lines in the element, breaking at line boundaries. See Also -------
numpy/core/defchararray.py:2606
↓ 12 callersFunctionNpyIter_AdvancedNew
NUMPY_API * Allocate a new iterator for multiple array objects, and advanced * options for controlling the broadcasting, shape, and buffer size. */
numpy/core/src/multiarray/nditer_constr.c:107
↓ 12 callersFunctionPyArray_BASE
numpy/core/include/numpy/ndarraytypes.h:1546
↓ 12 callersFunctionPyArray_DescrNewByteorder
NUMPY_API * * returns a copy of the PyArray_Descr structure with the byteorder * altered: * no arguments: The byteorder is swapped (in all subfie
numpy/core/src/multiarray/descriptor.c:3175
↓ 12 callersFunctionPyArray_GenericInplaceBinaryFunction
numpy/core/src/multiarray/number.c:281
↓ 12 callersMethod__init__
(self, methodName="runTest")
tools/swig/test/testTensor.py:307
↓ 12 callersMethod__init__
(self, methodName="runTest")
tools/swig/test/testSuperTensor.py:292
↓ 12 callersMethod__init__
(self, methodName="runTest")
tools/swig/test/testVector.py:292
↓ 12 callersMethod__init__
(self, methodName="runTest")
tools/swig/test/testMatrix.py:273
↓ 12 callersMethod__init__
(self, methodName="runTest")
tools/swig/test/testFlat.py:111
↓ 12 callersMethod__init__
(self, methodName="runTest")
tools/swig/test/testFortran.py:74
↓ 12 callersFunction_assert_stacked_square
(*arrays)
numpy/linalg/linalg.py:209
↓ 12 callersMethod_check_from
(self, s, value, filename, **kw)
numpy/core/tests/test_multiarray.py:5520
↓ 12 callersFunction_check_valid_dtype
(dtype)
numpy/array_api/_creation_functions.py:20
↓ 12 callersMethodargmin
Return array of indices to the minimum values along the given axis. Parameters ---------- axis : {None, integer}
numpy/ma/core.py:5591
↓ 12 callersFunctionarray_implement_c_array_function_creation
* Implements the __array_function__ protocol for C array creation functions * only. Added as an extension to NEP-18 in an effort to bring NEP-35 to
numpy/core/src/multiarray/arrayfunction_override.c:277
↓ 12 callersFunctionas_expr
Convert non-Expr objects to Expr objects.
numpy/f2py/symbolic.py:928
↓ 12 callersFunctionccopy_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:122
↓ 12 callersMethodcheck_cases
Run func on each of the cases with all of the tags in require, and none of the tags in exclude
numpy/linalg/tests/test_linalg.py:344
↓ 12 callersFunctionclarfg_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:19208
↓ 12 callersFunctioncompare_results
Compare lists of arrays.
numpy/lib/tests/test_shape_base.py:781
↓ 12 callersFunctioncov
Estimate a covariance matrix, given data and weights. Covariance indicates the level to which two variables vary together. If we examine
numpy/lib/function_base.py:2531
↓ 12 callersFunctiondlapy2_
numpy/linalg/lapack_lite/f2c_d_lapack.c:17229
↓ 12 callersFunctiondlarf_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:21386
↓ 12 callersFunctioneye
Return a 2-D array with ones on the diagonal and zeros elsewhere. Parameters ---------- N : int Number of rows in the output.
numpy/lib/twodim_base.py:160
↓ 12 callersFunctionfloor
Array API compatible wrapper for :py:func:`np.floor <numpy.floor>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:325
↓ 12 callersMethodget_option_single
Ensure that only one of `options` are found in the section Parameters ---------- *options : list of str a list of
numpy/distutils/system_info.py:793
↓ 12 callersFunctionidamax_
numpy/linalg/lapack_lite/f2c_blas.c:10739
↓ 12 callersFunctionin1d
Test whether each element of a 1-D array is also present in a second array. Returns a boolean array the same length as `ar1` that is True
numpy/lib/arraysetops.py:525
↓ 12 callersFunctionisamax_
numpy/linalg/lapack_lite/f2c_blas.c:10817
↓ 12 callersFunctioniscomplexobj
Check for a complex type or an array of complex numbers. The type of the input is checked, not the value. Even if the input has an imagi
numpy/lib/type_check.py:303
↓ 12 callersFunctionmake_mask_descr
Construct a dtype description list from a given dtype. Returns a new dtype object, with the type of all fields in `ndtype` to a boolean
numpy/ma/core.py:1329
↓ 12 callersFunctionnormalize
Normalize Expr and apply basic evaluation methods.
numpy/f2py/symbolic.py:791
↓ 12 callersFunctionnpy_get_floatstatus_barrier
numpy/core/src/npymath/ieee754.cpp:422
↓ 12 callersMethodpartition
Partition each element in `self` around `sep`. See Also -------- partition
numpy/core/defchararray.py:2501
↓ 12 callersFunctionpow
Array API compatible wrapper for :py:func:`np.power <numpy.power>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:613
↓ 12 callersMethodrun
(self)
setup.py:181
↓ 12 callersFunctionslapy2_
numpy/linalg/lapack_lite/f2c_s_lapack.c:17170
↓ 12 callersFunctionslarf_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:21310
↓ 12 callersFunctionunique
Find the unique elements of an array. Returns the sorted unique elements of an array. There are three optional outputs in addition to th
numpy/lib/arraysetops.py:139
↓ 12 callersMethodwrite_text
(self, fd)
tools/c_coverage/c_coverage_report.py:56
↓ 12 callersFunctionzcopy_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:15195
↓ 12 callersFunctionzlarfg_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:19311
↓ 11 callersFunctionPyArray_CanCastTypeTo
NUMPY_API * Returns true if data of type 'from' may be cast to data of type * 'to' according to the rule 'casting'. */
numpy/core/src/multiarray/convert_datatype.c:741
↓ 11 callersFunctionPyArray_CopyInto
NUMPY_API * Copy an Array into another array. * Broadcast to the destination shape if necessary. * * Returns 0 on success, -1 on failure. */
numpy/core/src/multiarray/ctors.c:2772
↓ 11 callersFunctionPyArray_FromArray
NUMPY_API * steals reference to newtype --- acc. NULL */
numpy/core/src/multiarray/ctors.c:1840
↓ 11 callersFunctionPyArray_MinCastSafety
* Find the minimal cast safety level given two cast-levels as input. * Supports the NPY_CAST_IS_VIEW check, and should be preferred to allow * exten
numpy/core/src/multiarray/convert_datatype.c:300
↓ 11 callersFunctionPyArray_MultiplyList
NUMPY_API * Multiply a List */
numpy/core/src/multiarray/multiarraymodule.c:182
↓ 11 callersFunctionPyArray_NewCopy
NUMPY_API * Copy an array. */
numpy/core/src/multiarray/convert.c:475
↓ 11 callersFunctionPyArray_PromoteTypes
NUMPY_API * Produces the smallest size and lowest kind type to which both * input types can be cast. */
numpy/core/src/multiarray/convert_datatype.c:1210
↓ 11 callersFunctionPyUFunc_ValidateCasting
UFUNC_API * * Validates that the input operands can be cast to * the input types, and the output types can be cast to * the output operands where
numpy/core/src/umath/ufunc_type_resolution.c:225
↓ 11 callersMethod_get_array
(self, scaling, aligned=True)
numpy/core/tests/test_custom_dtypes.py:13
↓ 11 callersMethod_is_fp
(self)
numpy/core/tests/test_simd.py:62
↓ 11 callersFunction_replace_nan
If `a` is of inexact type, make a copy of `a`, replace NaNs with the `val` value, and return the copy together with a boolean mask markin
numpy/lib/nanfunctions.py:68
↓ 11 callersMethod_scalar_size
(self)
numpy/core/tests/test_simd.py:65
↓ 11 callersFunctionas_symbol
Return object as SYMBOL expression (variable or unparsed expression).
numpy/f2py/symbolic.py:944
↓ 11 callersFunctionasmatrix
Interpret the input as a matrix. Unlike `matrix`, `asmatrix` does not make a copy if the input is already a matrix or an ndarray. Equiv
numpy/matrixlib/defmatrix.py:38
↓ 11 callersFunctionbitmask_u64
numpy/core/src/multiarray/dragon4.c:47
↓ 11 callersFunctioncgemm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:369
↓ 11 callersFunctionclacgv_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:8878
↓ 11 callersFunctionclarf_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:18194
↓ 11 callersFunctioncomp_state
(state1, state2)
numpy/random/tests/test_smoke.py:62
↓ 11 callersFunctiondelinearize_matrix
numpy/linalg/umath_linalg.cpp:891
↓ 11 callersFunctiondgemv_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:7200
↓ 11 callersFunctiondrot_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:7743
↓ 11 callersMethodfeature_sorted
Sort a list of CPU features ordered by the lowest interest. Parameters ---------- 'names': sequence sequ
numpy/distutils/ccompiler_opt.py:1322
↓ 11 callersFunctionget_fp_invalid_and_clear
numpy/linalg/umath_linalg.cpp:414
↓ 11 callersFunctionget_squares_
()
benchmarks/benchmarks/common.py:75
↓ 11 callersMethodidentity
Identity function. If ``p`` is the returned series, then ``p(x) == x`` for all values of x. Parameters ----------
numpy/polynomial/_polybase.py:1091
↓ 11 callersFunctionisexternal
(var)
numpy/f2py/auxfuncs.py:413
↓ 11 callersFunctionlinearize_matrix
numpy/linalg/umath_linalg.cpp:846
↓ 11 callersFunctionmultiply
Return (a * i), that is string multiple concatenation, element-wise. Values in `i` of less than 0 are treated as 0 (which yields an
numpy/core/defchararray.py:344
↓ 11 callersFunctionnan_matrix
numpy/linalg/umath_linalg.cpp:940
↓ 11 callersFunctionnjoin
Join two or more pathname components + - convert a /-separated pathname to one using the OS's path separator. - resolve `..` and `.` from path
numpy/distutils/misc_util.py:178
↓ 11 callersFunctionnpyv_select_f64
numpy/core/src/common/simd/sse/misc.h:121
↓ 11 callersFunctionpolyval
Evaluate a polynomial at points x. If `c` is of length `n + 1`, this function returns the value .. math:: p(x) = c_0 + c_1 * x + ... +
numpy/polynomial/polynomial.py:664
↓ 11 callersFunctionquicksort_dispatch
numpy/core/src/npysort/quicksort.cpp:76
↓ 11 callersMethodrun
(self)
numpy/distutils/command/build.py:61
↓ 11 callersFunctionset_fp_invalid_or_clear
numpy/linalg/umath_linalg.cpp:422
↓ 11 callersFunctionsgemv_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:11801
↓ 11 callersFunctionsrot_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:12343
↓ 11 callersMethodtrace
(this docstring should be overwritten)
numpy/ma/core.py:5076
↓ 11 callersMethodtranslate
For each element in `self`, return a copy of the string where all characters occurring in the optional argument `deletechars`
numpy/core/defchararray.py:2667
↓ 11 callersFunctionzgemm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:15646
↓ 11 callersFunctionzlacgv_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:8933
↓ 11 callersFunctionzlarf_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:18293
↓ 10 callersFunctionNPY_traverse_info_init
numpy/core/src/multiarray/dtype_traversal.h:47
↓ 10 callersFunctionNPY_traverse_info_xfree
numpy/core/src/multiarray/dtype_traversal.h:56
↓ 10 callersFunctionNpyIter_IterationNeedsAPI
NUMPY_API * Whether the iteration loop, and in particular the iternext() * function, needs API access. If this is true, the GIL must * be retained
numpy/core/src/multiarray/nditer_api.c:869
↓ 10 callersFunctionNpyIter_MultiNew
NUMPY_API * Allocate a new iterator for more than one array object, using * standard NumPy broadcasting rules and the default buffer size. */
numpy/core/src/multiarray/nditer_constr.c:526
↓ 10 callersFunctionPyArray_DescrConverter
NUMPY_API * Get typenum from an object -- None goes to NPY_DEFAULT_TYPE * This function takes a Python object representing a type and converts it *
numpy/core/src/multiarray/descriptor.c:1716
↓ 10 callersFunctionPyArray_GenericReduceFunction
numpy/core/src/multiarray/number.c:229
↓ 10 callersFunctionPyArray_IntTupleFromIntp
Lifted from numarray */ TODO: not documented */ NUMPY_API PyArray_IntTupleFromIntp */
numpy/core/src/multiarray/conversion_utils.c:1331
← previousnext →301–400 of 17,008, ranked by callers