MCPcopy Create free account

hub / github.com/numpy/numpy / functions

Functions17,008 in github.com/numpy/numpy

↓ 37 callersFunctiont
(name, statement)
doc/neps/nep-0016-benchmark.py:33
↓ 36 callersMethod_rc
(self, a)
numpy/lib/user_array.py:242
↓ 36 callersMethodmax
Return the maximum along a given axis. Parameters ---------- axis : None or int or tuple of ints, optional
numpy/ma/core.py:5859
↓ 36 callersMethodtake
numpy/ma/core.py:6066
↓ 35 callersMethod_data
(self, start=None, count=None, reverse=False)
numpy/core/tests/test_simd.py:129
↓ 35 callersMethodfastclip
(self, a, m, M, out=None, **kwargs)
numpy/core/tests/test_numeric.py:1839
↓ 35 callersFunctionnext
numpy/random/src/splitmix64/splitmix64.orig.c:23
↓ 35 callersMethodwrite
(self, data)
numpy/distutils/command/config.py:508
↓ 34 callersMethodencode
Calls `str.encode` element-wise. See Also -------- char.encode
numpy/core/defchararray.py:2306
↓ 34 callersFunctionfilled
Return input as an array with masked data replaced by a fill value. If `a` is not a `MaskedArray`, `a` itself is returned. If `a` is a `
numpy/ma/core.py:587
↓ 34 callersMethodopen
Open and return file-like object. If `path` is an URL, it will be downloaded, stored in the `DataSource` directory and opene
numpy/lib/_datasource.py:487
↓ 33 callersFunctionPyArray_FromAny
NUMPY_API * Does not check for NPY_ARRAY_ENSURECOPY and NPY_ARRAY_NOTSWAPPED in flags * Steals a reference to newtype --- which can be NULL */
numpy/core/src/multiarray/ctors.c:1501
↓ 33 callersFunctionassert_array_equal
Checks the elementwise equality of two masked arrays.
numpy/ma/testutils.py:220
↓ 33 callersFunctionassert_array_strict_equal
(x, y)
numpy/core/tests/test_numeric.py:1817
↓ 33 callersMethodfunc
(arr)
numpy/core/tests/test_numeric.py:1617
↓ 33 callersMethodget_version
(self,*args,**kwds)
numpy/distutils/fcompiler/ibm.py:29
↓ 32 callersFunctiondtype
(request)
numpy/random/tests/test_smoke.py:12
↓ 32 callersMethodmean
Returns the average of the array elements along given axis. Masked entries are ignored, and result elements which are not fi
numpy/ma/core.py:5306
↓ 32 callersMethodvalues
(self)
numpy/lib/tests/test_function_base.py:1261
↓ 31 callersFunctionNPY_cast_info_xfree
* Free's all references and data held inside the struct (not the struct). * First checks whether `cast_info.func == NULL`, and assume it is * uninit
numpy/core/src/multiarray/dtype_transfer.h:55
↓ 31 callersMethodcopy
(self)
numpy/lib/user_array.py:222
↓ 31 callersFunctionsum
Sum of array elements over a given axis. Parameters ---------- a : array_like Elements to sum. axis : None or int or tup
numpy/core/fromnumeric.py:2178
↓ 30 callersMethodfromstring
(cls, s, language=Language.C)
numpy/f2py/symbolic.py:78
↓ 30 callersFunctiongetmaskarray
Return the mask of a masked array, or full boolean array of False. Return the mask of `arr` as an ndarray if `arr` is a `MaskedArray` and
numpy/ma/core.py:1424
↓ 30 callersFunctionnpy_cache_import
! \brief Fetch and cache Python function. * * Import a Python function and cache it for use. The function checks if * cache is NULL, and if not NUL
numpy/core/src/common/npy_import.h:19
↓ 30 callersMethodsetSeed
(self)
numpy/random/tests/test_random.py:1059
↓ 30 callersMethodset_seed
(self)
numpy/random/tests/test_randomstate.py:1319
↓ 30 callersMethodtobytes
Return the array data as a string containing the raw bytes in the array. The array is filled with a fill value before the string con
numpy/ma/core.py:6168
↓ 30 callersMethodvar
Returns the variance of the array elements along given axis. Masked entries are ignored, and result elements which are not f
numpy/ma/core.py:5398
↓ 29 callersFunctionNpyIter_Deallocate
NUMPY_API * Deallocate an iterator. * * To correctly work when an error is in progress, we have to check * `PyErr_Occurred()`. This is necessary w
numpy/core/src/multiarray/nditer_constr.c:678
↓ 29 callersFunctionPyArray_Return
NUMPY_API * * Return either an array or the appropriate Python object if the array * is 0d and matches a Python type. * steals reference to mp */
numpy/core/src/multiarray/scalarapi.c:778
↓ 29 callersFunctionis_string
(s)
numpy/distutils/misc_util.py:487
↓ 28 callersFunctionassert_all
(x)
numpy/lib/tests/test_type_check.py:11
↓ 28 callersMethodcheck_output
(self, want, got, optionflags)
tools/refguide_check.py:682
↓ 28 callersFunctioneq
(v, w, msg='')
numpy/ma/tests/test_old_ma.py:29
↓ 28 callersFunctionmask_or
Combine two masks with the ``logical_or`` operator. The result may be a view on `m1` or `m2` if the other is `nomask` (i.e. False).
numpy/ma/core.py:1704
↓ 28 callersFunctionnext_double
numpy/core/include/numpy/random/distributions.h:201
↓ 27 callersFunction_result_type
(type1, type2)
numpy/array_api/_dtypes.py:177
↓ 27 callersFunctionany
Test whether any array element along a given axis evaluates to True. Returns single boolean if `axis` is ``None`` Parameters ------
numpy/core/fromnumeric.py:2323
↓ 27 callersFunctiondcopy_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:6642
↓ 27 callersMethodmax
Maximum value of given dtype.
numpy/core/getlimits.py:710
↓ 27 callersMethodmin
Return the minimum along a given axis. Parameters ---------- axis : None or int or tuple of ints, optional
numpy/ma/core.py:5760
↓ 27 callersMethodresize
.. warning:: This method does nothing, except raise a ValueError exception. A masked array does not own its data and
numpy/ma/core.py:4752
↓ 27 callersFunctionscopy_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:11245
↓ 27 callersMethodstd
Returns the standard deviation of the array elements along given axis. Masked entries are ignored. Refer to `numpy.std` for
numpy/ma/core.py:5462
↓ 26 callersFunctionNpyIter_GetIterSize
NUMPY_API * Gets the number of elements being iterated */
numpy/core/src/multiarray/nditer_api.c:911
↓ 26 callersFunctiondict_append
(d, **kws)
numpy/distutils/system_info.py:3205
↓ 26 callersFunctionget_info
notfound_action: 0 - do nothing 1 - display warning message 2 - raise error
numpy/distutils/system_info.py:501
↓ 26 callersFunctionnormalize_axis_index
numpy/core/src/multiarray/multiarraymodule.c:4454
↓ 26 callersMethodrecord
Append a new recording filter or apply it if the state is entered. All warnings matching will be appended to the ``log`` attribute.
numpy/testing/_private/utils.py:2148
↓ 25 callersFunctionPyArray_DescrNewFromType
NUMPY_API*/
numpy/core/src/multiarray/descriptor.c:1363
↓ 25 callersMethodbyteswap
(self)
numpy/lib/user_array.py:234
↓ 25 callersFunctionempty
Array API compatible wrapper for :py:func:`np.empty <numpy.empty>`. See its docstring for more information.
numpy/array_api/_creation_functions.py:97
↓ 25 callersMethodfind
For each element, return the lowest index in the string where substring `sub` is found. See Also -------- ch
numpy/core/defchararray.py:2341
↓ 25 callersFunctiongetdata
Return the data of a masked array as an ndarray. Return the data of `a` (if any) as an ndarray if `a` is a ``MaskedArray``, else return
numpy/ma/core.py:671
↓ 25 callersFunctionnpy_clear_floatstatus_barrier
numpy/core/src/npymath/ieee754.cpp:440
↓ 24 callersFunctionNpyIter_GetDataPtrArray
NUMPY_API * Get the array of data pointers (1 per object being iterated) * * This function may be safely called without holding the Python GIL. */
numpy/core/src/multiarray/nditer_api.c:1087
↓ 24 callersFunctionPyArray_GetDTypeTransferFunction
numpy/core/src/multiarray/dtype_transfer.c:3087
↓ 24 callersFunctionisarray
(var)
numpy/f2py/auxfuncs.py:111
↓ 24 callersFunctionmax
Return the maximum of an array or maximum along an axis. Parameters ---------- a : array_like Input data. axis : None or
numpy/core/fromnumeric.py:2694
↓ 24 callersMethodouter
Return the function applied to the outer product of a and b.
numpy/ma/core.py:6786
↓ 24 callersFunctionufunc_get_name_cstr
* Produce a name for the ufunc, if one is not already set * This is used in the PyUFunc_handlefperr machinery, and in error messages */
numpy/core/src/umath/ufunc_object.c:876
↓ 24 callersFunctionzeros
Array API compatible wrapper for :py:func:`np.zeros <numpy.zeros>`. See its docstring for more information.
numpy/array_api/_creation_functions.py:319
↓ 23 callersFunctionPyArray_NewFromDescrAndBase
* Sets the base object using PyArray_SetBaseObject */
numpy/core/src/multiarray/ctors.c:1006
↓ 23 callersFunctionoutmess
(t)
numpy/f2py/auxfuncs.py:62
↓ 23 callersMethodtofile
Save a masked array to a file in binary format. .. warning:: This function is not implemented yet. Raises
numpy/ma/core.py:6208
↓ 22 callersFunctionPyArray_DTypeFromTypeNum
* This function will hopefully be phased out or replaced, but was convenient * for incremental implementation of new DTypes based on DTypeMeta. * (E
numpy/core/src/multiarray/dtypemeta.h:127
↓ 22 callersFunctionPyArray_STRIDE
numpy/core/include/numpy/ndarraytypes.h:1540
↓ 22 callersMethodaccumulate
Accumulate `target` along `axis` after filling with y fill value.
numpy/ma/core.py:1112
↓ 22 callersFunctiondgemm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:6837
↓ 22 callersMethoddist_log
Print a console message
numpy/distutils/ccompiler_opt.py:692
↓ 22 callersFunctiondscal_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:7818
↓ 22 callersFunctionis_sequence
(seq)
numpy/distutils/misc_util.py:497
↓ 22 callersFunctionjoin
Return a string which is the concatenation of the strings in the sequence `seq`. Calls `str.join` element-wise. Parameters ----
numpy/core/defchararray.py:1028
↓ 22 callersFunctionpow_ii
(ap, bp)
numpy/linalg/lapack_lite/f2c.c:694
↓ 22 callersFunctionsgemm_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:11439
↓ 22 callersFunctionsscal_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:12418
↓ 21 callersFunctionNpyIter_GetInnerLoopSizePtr
NUMPY_API * Get a pointer to the size of the inner loop (when HasExternalLoop is true) * * This function may be safely called without holding the
numpy/core/src/multiarray/nditer_api.c:1421
↓ 21 callersFunctionPyArray_FailUnlessWriteable
NUMPY_API * * This function does nothing and returns 0 if *obj* is writeable. * It raises an exception and returns -1 if *obj* is not writeable.
numpy/core/src/multiarray/arrayobject.c:636
↓ 21 callersMethod_test_not_equal
(self, a, b)
numpy/testing/tests/test_utils.py:24
↓ 21 callersFunctionas_number
Return object as INTEGER or REAL constant.
numpy/f2py/symbolic.py:950
↓ 21 callersFunctionassert_almost_equal
Asserts that two items are almost equal. The test is equivalent to abs(desired-actual) < 0.5 * 10**(-decimal).
numpy/ma/testutils.py:176
↓ 21 callersMethodconjugate
(self)
numpy/core/tests/test_ufunc.py:124
↓ 21 callersFunctiondlacpy_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:8424
↓ 21 callersMethodflatten
Return a flattened copy of the matrix. All `N` elements of the matrix are placed into a single row. Parameters ----
numpy/matrixlib/defmatrix.py:377
↓ 21 callersMethodget_lib_dirs
(self, key='library_dirs')
numpy/distutils/system_info.py:935
↓ 21 callersMethodndim
Array API compatible wrapper for :py:meth:`np.ndarray.ndim <numpy.ndarray.ndim>`. See its docstring for more information.
numpy/array_api/_array_object.py:1095
↓ 21 callersMethodrstrip
For each element in `self`, return a copy with the trailing characters removed. See Also -------- char.rstri
numpy/core/defchararray.py:2582
↓ 21 callersFunctionsetup
(**attr)
numpy/distutils/core.py:108
↓ 21 callersFunctionslacpy_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:8402
↓ 21 callersMethodsqueeze
Return a possibly reshaped matrix. Refer to `numpy.squeeze` for more documentation. Parameters ---------- a
numpy/matrixlib/defmatrix.py:324
↓ 20 callersFunctionPyArray_EquivTypes
NUMPY_API * * This function returns true if the two typecodes are * equivalent (same basic kind and same itemsize). */
numpy/core/src/multiarray/multiarraymodule.c:1538
↓ 20 callersMethod__setmask__
Set the mask.
numpy/ma/core.py:3445
↓ 20 callersMethod_generate_data
(self, n, m)
numpy/core/tests/test_numeric.py:1848
↓ 20 callersMethodcumsum
Return the cumulative sum of the array elements over the given axis. Masked values are set to 0 internally during the computation.
numpy/ma/core.py:5192
↓ 20 callersFunctiondlascl_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:23771
↓ 20 callersFunctionget_datetime_metadata_from_dtype
* This function returns a pointer to the DateTimeMetaData * contained within the provided datetime dtype. */
numpy/core/src/multiarray/datetime.c:691
↓ 20 callersFunctionones
Return a new array of given shape and type, filled with ones. Parameters ---------- shape : int or sequence of ints Shape of
numpy/core/numeric.py:138
↓ 20 callersFunctionslascl_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:23688
↓ 19 callersFunctionNpyIter_GetInnerStrideArray
NUMPY_API * Get the array of strides for the inner loop (when HasExternalLoop is true) * * This function may be safely called without holding the P
numpy/core/src/multiarray/nditer_api.c:1268
← previousnext →101–200 of 17,008, ranked by callers