MCPcopy Create free account

hub / github.com/numpy/numpy / functions

Functions17,008 in github.com/numpy/numpy

↓ 8 callersFunctionPyArray_PyIntAsInt
NUMPY_API*/
numpy/core/src/multiarray/conversion_utils.c:972
↓ 8 callersFunctionPyArray_ResultType
NUMPY_API * * Produces the result type of a bunch of inputs, using the same rules * as `np.result_type`. * * NOTE: This function is expected to t
numpy/core/src/multiarray/convert_datatype.c:1757
↓ 8 callersFunctionPyUFunc_DefaultTypeResolver
UFUNC_API * * This function applies the default type resolution rules * for the provided ufunc. * * Returns 0 on success, -1 on error. */
numpy/core/src/umath/ufunc_type_resolution.c:281
↓ 8 callersMethod_add
(c1, c2)
numpy/polynomial/_polybase.py:131
↓ 8 callersMethod_generate_int32_data
(self, n, m)
numpy/core/tests/test_numeric.py:1874
↓ 8 callersFunction_get_bufsize_errmask
numpy/core/src/umath/extobj.c:338
↓ 8 callersMethod_nan
(self)
numpy/core/tests/test_simd.py:111
↓ 8 callersFunction_realType
(t, default=double)
numpy/linalg/linalg.py:153
↓ 8 callersMethod_sub
(c1, c2)
numpy/polynomial/_polybase.py:136
↓ 8 callersFunction_to_bytes_or_str_array
Helper function to cast a result back into an array with the appropriate dtype if an object array must be used as an intermediary.
numpy/core/defchararray.py:60
↓ 8 callersFunction_wrapreduction
(obj, ufunc, method, axis, dtype, out, **kwargs)
numpy/core/fromnumeric.py:71
↓ 8 callersMethodadd_data_dir
Recursively add files under data_path to data_files list. Recursively add files under data_path to the list of data_files to be insta
numpy/distutils/misc_util.py:1070
↓ 8 callersMethodadvance
(self, n)
numpy/core/_internal.py:621
↓ 8 callersMethodall
Test whether all matrix elements along a given axis evaluate to True. Parameters ---------- See `numpy.all` for comp
numpy/matrixlib/defmatrix.py:572
↓ 8 callersFunctionaquicksort_dispatch
numpy/core/src/npysort/quicksort.cpp:81
↓ 8 callersMethodargpartition
(self, *args, **kwargs)
numpy/ma/core.py:6060
↓ 8 callersFunctionas_complex
Return object as COMPLEX expression (complex literal constant).
numpy/f2py/symbolic.py:1003
↓ 8 callersFunctionassert_array_almost_equal_nulp
Compare two arrays relatively to their spacing. This is a relatively robust method to compare two arrays whose amplitude is variable.
numpy/testing/_private/utils.py:1508
↓ 8 callersFunctionbitmask_u32
numpy/core/src/multiarray/dragon4.c:53
↓ 8 callersFunctionbreak_cycles
Break reference cycles by calling gc.collect Objects can call other objects' methods (for instance, another object's __del__) inside the
numpy/testing/_private/utils.py:2369
↓ 8 callersMethodcast_types
(self)
numpy/f2py/tests/test_array_from_pyobj.py:229
↓ 8 callersFunctioncgemv_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:1037
↓ 8 callersMethodcheck_libs
If static or shared libraries are available then return their info dictionary. Checks for all libraries as shared libraries first, th
numpy/distutils/system_info.py:985
↓ 8 callersMethodcheck_libs2
If static or shared libraries are available then return their info dictionary. Checks each library for shared or static.
numpy/distutils/system_info.py:1003
↓ 8 callersMethodcheck_pickling
(self, dtype)
numpy/core/tests/test_dtype.py:1288
↓ 8 callersFunctionclarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:18366
↓ 8 callersFunctionclaset_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:20320
↓ 8 callersFunctionconsistent_subclass
(out, in_)
numpy/linalg/tests/test_linalg.py:33
↓ 8 callersFunctioncopy
Return an array copy of the given object. Parameters ---------- a : array_like Input data. order : {'C', 'F', 'A', 'K'},
numpy/lib/function_base.py:874
↓ 8 callersFunctiondlanst_
numpy/linalg/lapack_lite/f2c_d_lapack.c:16676
↓ 8 callersFunctiondlarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:21553
↓ 8 callersFunctiondlasrt_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:31332
↓ 8 callersFunctiondnrm2_
numpy/linalg/lapack_lite/f2c_blas.c:7668
↓ 8 callersFunctionempty_like
empty_like(prototype, dtype=None, order='K', subok=True, shape=None) Return a new array with the same shape and type as a given array.
numpy/core/multiarray.py:86
↓ 8 callersFunctionfilepath_from_subprocess_output
Convert `bytes` in the encoding used by a subprocess into a filesystem-appropriate `str`. Inherited from `exec_command`, and possibly incorr
numpy/distutils/exec_command.py:63
↓ 8 callersFunctiongetctype
Determines C type
numpy/f2py/capi_maps.py:187
↓ 8 callersFunctiongetstrlength
(var)
numpy/f2py/capi_maps.py:253
↓ 8 callersFunctionhistogram2d
Compute the bi-dimensional histogram of two data samples. Parameters ---------- x : array_like, shape (N,) An array containi
numpy/lib/twodim_base.py:644
↓ 8 callersMethodlaplace
(N, Niter=100, func=num_update, args=())
benchmarks/benchmarks/bench_app.py:34
↓ 8 callersFunctionlogspace
Return numbers spaced evenly on a log scale. In linear space, the sequence starts at ``base ** start`` (`base` to the power of `start`)
numpy/core/function_base.py:191
↓ 8 callersMethodmapparms
Return the mapping parameters. The returned values define a linear map ``off + scl*x`` that is applied to the input arguments before
numpy/polynomial/_polybase.py:824
↓ 8 callersFunctionnan_to_num
Replace NaN with zero and infinity with large finite numbers (default behaviour) or with the numbers defined by the user using the `nan`,
numpy/lib/type_check.py:404
↓ 8 callersFunctionndpointer
Array-checking restype/argtypes. An ndpointer instance is used to describe an ndarray in restypes and argtypes specifications. This app
numpy/ctypeslib.py:233
↓ 8 callersFunctionnew_fcompiler
Generate an instance of some FCompiler subclass for the supplied platform/compiler combination.
numpy/distutils/fcompiler/__init__.py:873
↓ 8 callersFunctionnpy_log1p
numpy/core/src/npymath/arm64_exports.c:22
↓ 8 callersFunctionnpyv_setall_s64
numpy/core/src/common/simd/sse/misc.h:40
↓ 8 callersFunctionpower
Returns element-wise base array raised to power from second array. This is the masked array version of `numpy.power`. For details see `n
numpy/ma/core.py:6921
↓ 8 callersMethodravel
Return a flattened matrix. Refer to `numpy.ravel` for more documentation. Parameters ---------- order : {'C
numpy/matrixlib/defmatrix.py:898
↓ 8 callersFunctionsetmesstext
(block)
numpy/f2py/crackfortran.py:1984
↓ 8 callersMethodsize
Array API compatible wrapper for :py:meth:`np.ndarray.size <numpy.ndarray.size>`. See its docstring for more information.
numpy/array_api/_array_object.py:1113
↓ 8 callersFunctionslanst_
numpy/linalg/lapack_lite/f2c_s_lapack.c:16618
↓ 8 callersFunctionslarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:21475
↓ 8 callersFunctionslasrt_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:31216
↓ 8 callersFunctionsliding_window_view
Create a sliding window view into the array with the given window shape. Also known as rolling or moving window, the window slides across al
numpy/lib/stride_tricks.py:124
↓ 8 callersFunctionsnrm2_
numpy/linalg/lapack_lite/f2c_blas.c:12268
↓ 8 callersFunctionstack_arrays
Superposes arrays fields by fields Parameters ---------- arrays : array or sequence Sequence of input arrays. defaults :
numpy/lib/recfunctions.py:1318
↓ 8 callersFunctionstring_converter_helper
numpy/core/src/multiarray/conversion_utils.c:442
↓ 8 callersFunctiontake
numpy/ma/core.py:6914
↓ 8 callersFunctiontempdir
Context manager to provide a temporary test folder. All arguments are passed as this to the underlying tempfile.mkdtemp function.
numpy/testing/_private/utils.py:1902
↓ 8 callersMethodtodict
Return a dictionary compatible with the keyword arguments of distutils setup function. Examples -------- >>>
numpy/distutils/misc_util.py:866
↓ 8 callersFunctiontrim
(x)
numpy/polynomial/tests/test_legendre.py:27
↓ 8 callersFunctiontrim
(x)
numpy/polynomial/tests/test_hermite.py:27
↓ 8 callersFunctiontrim
(x)
numpy/polynomial/tests/test_hermite_e.py:27
↓ 8 callersFunctiontrim
(x)
numpy/polynomial/tests/test_polynomial.py:15
↓ 8 callersFunctiontrim
(x)
numpy/polynomial/tests/test_laguerre.py:24
↓ 8 callersFunctionunique
Finds the unique elements of an array. Masked values are considered the same element (masked). The output array is always a masked array
numpy/ma/extras.py:1180
↓ 8 callersFunctionvalid_textfile
(filedir)
numpy/lib/tests/test__datasource.py:50
↓ 8 callersFunctionzgemv_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:16315
↓ 8 callersFunctionzlarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:18467
↓ 8 callersFunctionzlaset_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:20425
↓ 7 callersMethodArray1
Default/length/array constructor
tools/swig/test/Array1.cxx:6
↓ 7 callersFunctionGENERIC_COPY
numpy/core/src/npysort/npysort_common.h:363
↓ 7 callersFunctionNPY_cast_info_copy
* Finalize a copy (INCREF+auxdata clone). This assumes a previous `memcpy` * of the struct. * NOTE: It is acceptable to call this with the same stru
numpy/core/src/multiarray/dtype_transfer.h:90
↓ 7 callersFunctionNPY_cast_info_init
* Create a new cast-info struct with cast_info->context.descriptors linked. * Compilers should inline this to ensure the whole struct is not actually
numpy/core/src/multiarray/dtype_transfer.h:34
↓ 7 callersFunctionNpyIter_New
NUMPY_API * Allocate a new iterator for one array object. */
numpy/core/src/multiarray/nditer_constr.c:540
↓ 7 callersFunctionPyArray_CastDescrToDType
* This function should possibly become public API eventually. At this * time it is implemented by falling back to `PyArray_AdaptFlexibleDType`. * W
numpy/core/src/multiarray/convert_datatype.c:1091
↓ 7 callersFunctionPyArray_DescrFromScalar
NUMPY_API * Return descr object from array scalar. * * New reference */
numpy/core/src/multiarray/scalarapi.c:531
↓ 7 callersFunctionPyArray_DiscardWritebackIfCopy
numpy/core/include/numpy/ndarrayobject.h:155
↓ 7 callersFunctionPyArray_GenericUnaryFunction
numpy/core/src/multiarray/number.c:275
↓ 7 callersFunctionPyArray_GetCastInfo
* Given two dtype instances, find the correct casting safety. * * Note that in many cases, it may be preferable to fetch the casting * implementati
numpy/core/src/multiarray/convert_datatype.c:523
↓ 7 callersFunctionPyArray_IterAllButAxis
NUMPY_API * Get Iterator that iterates over all but one axis (don't use this with * PyArray_ITER_GOTO1D). The axis will be over-written if negative
numpy/core/src/multiarray/iterators.c:282
↓ 7 callersFunctionPyArray_NewLikeArray
NUMPY_API * Creates a new array with the same shape as the provided one, * with possible memory layout order and data type changes. * * prototype
numpy/core/src/multiarray/ctors.c:1157
↓ 7 callersFunctionPyArray_SETITEM
* SETITEM should only be used if it is known that the value is a scalar * and of a type understood by the arrays dtype. * Use `PyArray_Pack` if the
numpy/core/include/numpy/ndarraytypes.h:1594
↓ 7 callersFunctionPyDataMem_FREE
NUMPY_API * Free memory for array data. */
numpy/core/src/multiarray/alloc.c:322
↓ 7 callersMethod__dir__
Enables dir(bagobj) to list the files in an NpzFile. This also enables tab-completion in an interpreter or IPython.
numpy/lib/npyio.py:82
↓ 7 callersFunction_as_pairs
Broadcast `x` to an array with the shape (`ndim`, 2). A helper function for `pad` that prepares and validates arguments like `pad_width`
numpy/lib/arraypad.py:458
↓ 7 callersMethod_check
Takes valid non-deprecated inputs for converters, runs converters on inputs, checks correctness of outputs, warnings and errors
numpy/core/tests/test_conversion_utils.py:32
↓ 7 callersMethod_check_roundtrip
(self, obj)
numpy/core/tests/test_multiarray.py:7828
↓ 7 callersMethod_delegate_binop
(self, other)
numpy/ma/core.py:4083
↓ 7 callersMethod_extra_setup
(cls)
numpy/random/tests/test_smoke.py:107
↓ 7 callersMethod_fit
(x, y, deg, rcond, full)
numpy/polynomial/_polybase.py:171
↓ 7 callersMethod_fromroots
(r)
numpy/polynomial/_polybase.py:186
↓ 7 callersMethod_loads
(self, obj)
numpy/core/tests/test_multiarray.py:4323
↓ 7 callersMethod_ninfinity
(self)
numpy/core/tests/test_simd.py:108
↓ 7 callersMethod_pinfinity
(self)
numpy/core/tests/test_simd.py:105
↓ 7 callersFunctionappend_fields
Add new fields to an existing array. The names of the fields are given with the `names` arguments, the corresponding values with the `da
numpy/lib/recfunctions.py:654
↓ 7 callersFunctionarray
Create a `chararray`. .. note:: This class is provided for numarray backward-compatibility. New code (not concerned with numar
numpy/core/defchararray.py:2731
↓ 7 callersFunctionarray_function_dispatch
Decorator for adding dispatch with the __array_function__ protocol. See NEP-18 for example usage. Parameters ---------- dispatcher :
numpy/core/overrides.py:105
↓ 7 callersFunctionas_series
Return argument as a list of 1-d arrays. The returned list contains array(s) of dtype double, complex double, or object. A 1-d argument
numpy/polynomial/polyutils.py:84
↓ 7 callersFunctionceil
Array API compatible wrapper for :py:func:`np.ceil <numpy.ceil>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:230
← previousnext →501–600 of 17,008, ranked by callers