MCPcopy Create free account

hub / github.com/numpy/numpy / functions

Functions17,008 in github.com/numpy/numpy

↓ 10 callersFunctionPyArray_IntpConverter
NUMPY_API * Get intp chunk from sequence * * This function takes a Python sequence object and allocates and * fills in an intp array with the conv
numpy/core/src/multiarray/conversion_utils.c:111
↓ 10 callersFunctionPyArray_TupleFromItems
* Simple helper to create a tuple from an array of items. The `make_null_none` * flag means that NULL entries are replaced with None, which is occasi
numpy/core/src/multiarray/common.h:314
↓ 10 callersFunctionPyArray_UpdateFlags
NUMPY_API * Update Several Flags at once. */
numpy/core/src/multiarray/flagsobject.c:61
↓ 10 callersMethod__array__
(self)
numpy/ma/tests/test_subclassing.py:167
↓ 10 callersMethod_check
(self, spec, wanted)
numpy/core/tests/test_multiarray.py:7719
↓ 10 callersMethod_int_max
(self)
numpy/core/tests/test_simd.py:75
↓ 10 callersFunctionas_strided
Create a view into the array with the given shape and strides. .. warning:: This function has to be used with extreme care, see notes.
numpy/lib/stride_tricks.py:38
↓ 10 callersFunctionatleast_2d
View inputs as arrays with at least two dimensions. Parameters ---------- arys1, arys2, ... : array_like One or more array-l
numpy/core/shape_base.py:82
↓ 10 callersFunctioncheck_and_adjust_axis
numpy/core/src/multiarray/common.h:171
↓ 10 callersFunctioncreate_datetime_dtype
* Creates a datetime or timedelta dtype using a copy of the provided metadata. */
numpy/core/src/multiarray/datetime.c:646
↓ 10 callersFunctioncscal_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:3805
↓ 10 callersMethodcustomize
Customize Fortran compiler. This method gets Fortran compiler specific information from (i) class definition, (ii) environment, (iii)
numpy/distutils/fcompiler/__init__.py:439
↓ 10 callersFunctiondictappend
(rd, ar)
numpy/f2py/auxfuncs.py:806
↓ 10 callersFunctiondlamc3_
numpy/linalg/lapack_lite/f2c_config.c:689
↓ 10 callersFunctiondlamrg_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:16397
↓ 10 callersFunctionfortran_int_max
numpy/linalg/umath_linalg.cpp:671
↓ 10 callersFunctionfortran_int_min
numpy/linalg/umath_linalg.cpp:666
↓ 10 callersMethodget_distribution
Return the distutils distribution object for self.
numpy/distutils/misc_util.py:909
↓ 10 callersFunctionget_linalg_error_extobj
(callback)
numpy/linalg/linalg.py:130
↓ 10 callersFunctionhasnote
(var)
numpy/f2py/auxfuncs.py:531
↓ 10 callersFunctionisnan
Array API compatible wrapper for :py:func:`np.isnan <numpy.isnan>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:414
↓ 10 callersFunctionisscalar
Returns True if the type of `element` is a scalar type. Parameters ---------- element : any Input argument, can be of any ty
numpy/core/numeric.py:1856
↓ 10 callersMethodlength
Length accessor
tools/swig/test/Array1.cxx:49
↓ 10 callersMethodless
numpy/core/src/common/numpy_tag.h:75
↓ 10 callersFunctionless_equal
Return (x1 <= x2) element-wise. Unlike `numpy.less_equal`, this comparison is performed by first stripping whitespace characters from th
numpy/core/defchararray.py:184
↓ 10 callersMethodmean
(a)
numpy/lib/tests/test_function_base.py:1652
↓ 10 callersFunctionmerge_arrays
Merge arrays field by field. Parameters ---------- seqarrays : sequence of ndarrays Sequence of arrays fill_value : {flo
numpy/lib/recfunctions.py:362
↓ 10 callersFunctionmin
Return the minimum of an array or minimum along an axis. Parameters ---------- a : array_like Input data. axis : None or
numpy/core/fromnumeric.py:2837
↓ 10 callersFunctionnext_uint64
numpy/random/src/distributions/distributions.c:15
↓ 10 callersMethodparse
Parse a Fortran expression to a Expr.
numpy/f2py/symbolic.py:164
↓ 10 callersFunctionpiecewise
Evaluate a piecewise-defined function. Given a set of conditions and corresponding functions, evaluate each function on the input data w
numpy/lib/function_base.py:643
↓ 10 callersFunctionslamc3_
numpy/linalg/lapack_lite/f2c_config.c:1759
↓ 10 callersFunctionslamrg_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:16339
↓ 10 callersMethodsqueeze
(self)
numpy/core/tests/test_regression.py:1745
↓ 10 callersFunctionstack
Join a sequence of arrays along a new axis. The ``axis`` parameter specifies the index of the new axis in the dimensions of the result.
numpy/core/shape_base.py:373
↓ 10 callersFunctiontry_binary_elide
* try eliding a binary op, if commutative is true also try swapped arguments */
numpy/core/src/multiarray/temp_elide.c:339
↓ 10 callersFunctionzscal_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:19087
↓ 9 callersFunctionIsAligned
numpy/core/src/common/array_assign.c:135
↓ 9 callersFunctionNpyIter_GetInnerFixedStrideArray
NUMPY_API * Get an array of strides which are fixed. Any strides which may * change during iteration receive the value NPY_MAX_INTP. Once * the i
numpy/core/src/multiarray/nditer_api.c:1339
↓ 9 callersFunctionNpyIter_HasDelayedBufAlloc
NUMPY_API * Whether the buffer allocation is being delayed */
numpy/core/src/multiarray/nditer_api.c:728
↓ 9 callersFunctionNpyIter_Reset
NUMPY_API * Resets the iterator to its initial state * * The use of errmsg is discouraged, it cannot be guaranteed that the GIL * will not be grab
numpy/core/src/multiarray/nditer_api.c:251
↓ 9 callersFunctionPyArray_AddCastingImplementation_FromSpec
* Add a new casting implementation using a PyArrayMethod_Spec. * * @param spec * @param private If private, allow slots not publicly exposed. * @r
numpy/core/src/multiarray/convert_datatype.c:2446
↓ 9 callersFunctionPyArray_AssignArray
* An array assignment function for copying arrays, broadcasting 'src' into * 'dst'. This function makes a temporary copy of 'src' if 'src' and * 'ds
numpy/core/src/multiarray/array_assign_array.c:294
↓ 9 callersFunctionPyArray_CHKFLAGS
numpy/core/include/numpy/ndarraytypes.h:1576
↓ 9 callersFunctionPyArray_CanCastArrayTo
NUMPY_API * Returns 1 if the array object may be cast to the given data type using * the casting rule, 0 otherwise. This differs from PyArray_CanCa
numpy/core/src/multiarray/convert_datatype.c:912
↓ 9 callersFunctionPyArray_HANDLER
numpy/core/include/numpy/ndarraytypes.h:1662
↓ 9 callersFunctionPyArray_Newshape
NUMPY_API * New shape for an array */
numpy/core/src/multiarray/shape.c:200
↓ 9 callersFunctionPyArray_Transpose
NUMPY_API * Return Transpose. */
numpy/core/src/multiarray/shape.c:668
↓ 9 callersFunctionPyUFunc_GiveFloatingpointErrors
* Handler which uses the default `np.errstate` given that `fpe_errors` is * already set. `fpe_errors` is typically the (nonzero) result of * `npy_g
numpy/core/src/umath/extobj.c:276
↓ 9 callersFunction_assert_equal_type_and_value
(result, expected, err_msg=None)
numpy/lib/tests/test_mixins.py:59
↓ 9 callersFunction_check_fill_value
Private function validating the given `fill_value` for the given dtype. If fill_value is None, it is set to the default corresponding to the
numpy/ma/core.py:433
↓ 9 callersFunction_check_ufunc_fperr
* check the floating point status * - errmask: mask of status to check * - extobj: ufunc pyvals object * may be null, in which case th
numpy/core/src/umath/extobj.c:303
↓ 9 callersMethod_collapse
A convenience function for operations that want to collapse to a scalar like _align, but are using keepdims=True
numpy/matrixlib/defmatrix.py:254
↓ 9 callersMethod_int_min
(self)
numpy/core/tests/test_simd.py:83
↓ 9 callersFunctionadd
Return element-wise string concatenation for two arrays of str or unicode. Arrays `x1` and `x2` must have the same shape. Parameters
numpy/core/defchararray.py:302
↓ 9 callersMethodall
(self, *args, **kwargs)
numpy/testing/tests/test_utils.py:634
↓ 9 callersFunctionapply_along_axis
Apply a function to 1-D slices along the given axis. Execute `func1d(a, *args, **kwargs)` where `func1d` operates on 1-D arrays and `a`
numpy/lib/shape_base.py:268
↓ 9 callersFunctionarray_split
Split an array into multiple sub-arrays. Please refer to the ``split`` documentation. The only difference between these functions is th
numpy/lib/shape_base.py:732
↓ 9 callersFunctionas_apply
Return object as APPLY expression (function call, constructor, etc.)
numpy/f2py/symbolic.py:1009
↓ 9 callersMethodassert_not_deprecated
Test that warnings are not raised. This is just a shorthand for: self.assert_deprecated(function, num=0, ignore_others=True,
numpy/core/tests/test_deprecations.py:125
↓ 9 callersFunctionassert_poly_almost_equal
(p1, p2, msg="")
numpy/polynomial/tests/test_classes.py:38
↓ 9 callersFunctionaverage
Return the weighted average of array over the given axis. Parameters ---------- a : array_like Data to be averaged.
numpy/ma/extras.py:527
↓ 9 callersMethodblock
(self, request)
numpy/core/tests/test_shape_base.py:519
↓ 9 callersFunctionbroadcast_arrays
Broadcast any number of arrays against each other. Parameters ---------- `*args` : array_likes The arrays to broadcast.
numpy/lib/stride_tricks.py:481
↓ 9 callersFunctionbroadcast_to
Broadcast an array to a new shape. Parameters ---------- array : array_like The array to broadcast. shape : tuple or int
numpy/lib/stride_tricks.py:368
↓ 9 callersMethodclear
(self)
numpy/linalg/lapack_lite/clapack_scrub.py:117
↓ 9 callersFunctioncsscal_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:4008
↓ 9 callersMethodcumprod
Return the cumulative product of the array elements over the given axis. Masked values are set to 1 internally during the computatio
numpy/ma/core.py:5275
↓ 9 callersFunctiondigitize
Return the indices of the bins to which each value in input array belongs. ========= ============= ============================ `right
numpy/lib/function_base.py:5626
↓ 9 callersMethoddist_fatal
Raise a distutils error
numpy/distutils/ccompiler_opt.py:686
↓ 9 callersFunctiondlartg_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:23485
↓ 9 callersFunctiondswap_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:7901
↓ 9 callersMethodexecute
(self, command)
benchmarks/benchmarks/bench_import.py:11
↓ 9 callersFunctiongeomspace
Return numbers spaced evenly on a log scale (a geometric progression). This is similar to `logspace`, but with endpoints specified directly.
numpy/core/function_base.py:308
↓ 9 callersFunctionget_io_paths
Takes in a temporary file for testing and returns the expected output and input paths Here expected output is essentially one of any of the possi
numpy/f2py/tests/test_f2py2e.py:18
↓ 9 callersFunctionget_masked_subclass
Return the youngest subclass of MaskedArray from a list of (masked) arrays. In case of siblings, the first listed takes over.
numpy/ma/core.py:644
↓ 9 callersFunctiongreater
Return (x1 > x2) element-wise. Unlike `numpy.greater`, this comparison is performed by first stripping whitespace characters from the en
numpy/core/defchararray.py:210
↓ 9 callersFunctionmarkoutercomma
(line, comma=',')
numpy/f2py/crackfortran.py:877
↓ 9 callersFunctionmulti_dot
Compute the dot product of two or more arrays in a single function call, while automatically selecting the fastest evaluation order. `mu
numpy/linalg/linalg.py:2644
↓ 9 callersFunctionnpyv_select_f32
numpy/core/src/common/simd/sse/misc.h:119
↓ 9 callersFunctionnpyv_setall_s64
numpy/core/src/common/simd/avx2/misc.h:40
↓ 9 callersMethodoptimize_compare
(self, subscripts, operands=None)
numpy/core/tests/test_einsum.py:924
↓ 9 callersFunctionp
(func: Callable, *args, **kwargs)
numpy/array_api/tests/test_validation.py:8
↓ 9 callersMethodpaths
Apply glob to paths and prepend local_path if needed. Applies glob.glob(...) to each path in the sequence (if needed) and pre-pends t
numpy/distutils/misc_util.py:1419
↓ 9 callersMethodptp
Return (maximum - minimum) along the given dimension (i.e. peak-to-peak value). .. warning:: `ptp` preserves the
numpy/ma/core.py:5966
↓ 9 callersFunctionrandom_standard_exponential
numpy/random/src/distributions/distributions.c:60
↓ 9 callersFunctionrandom_standard_normal
numpy/random/src/distributions/distributions.c:137
↓ 9 callersFunctionround
Evenly round to the given number of decimals. Parameters ---------- a : array_like Input data. decimals : int, optional
numpy/core/fromnumeric.py:3270
↓ 9 callersFunctionshape
maskedarray version of the numpy function.
numpy/ma/core.py:7451
↓ 9 callersFunctionslartg_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:23402
↓ 9 callersFunctionsswap_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:12500
↓ 9 callersFunctiontrim
(x)
numpy/polynomial/tests/test_chebyshev.py:14
↓ 9 callersFunctiontrim_zeros
Trim the leading and/or trailing zeros from a 1-D array or sequence. Parameters ---------- filt : 1-D array or sequence Inpu
numpy/lib/function_base.py:1805
↓ 9 callersFunctionvalid_httpurl
()
numpy/lib/tests/test__datasource.py:65
↓ 9 callersMethodview
Returns a view of the mrecarray.
numpy/ma/mrecords.py:362
↓ 9 callersFunctionvstack
Stack arrays in sequence vertically (row wise). This is equivalent to concatenation along the first axis after 1-D arrays of shape `(N,)
numpy/core/shape_base.py:220
↓ 9 callersFunctionzdscal_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:15576
↓ 8 callersFunctionIsUintAligned
numpy/core/src/common/array_assign.c:143
↓ 8 callersFunctionNPY_traverse_info_copy
numpy/core/src/multiarray/dtype_traversal.h:68
↓ 8 callersFunctionPyArray_GetClearFunction
* Helper to set up a strided loop used for clearing. Clearing means * deallocating any references (e.g. via Py_DECREF) and resetting the data * bac
numpy/core/src/multiarray/dtype_traversal.c:87
← previousnext →401–500 of 17,008, ranked by callers