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
↓ 8 callers
Function
PyArray_PyIntAsInt
NUMPY_API*/
numpy/core/src/multiarray/conversion_utils.c:972
↓ 8 callers
Function
PyArray_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 callers
Function
PyUFunc_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 callers
Method
_add
(c1, c2)
numpy/polynomial/_polybase.py:131
↓ 8 callers
Method
_generate_int32_data
(self, n, m)
numpy/core/tests/test_numeric.py:1874
↓ 8 callers
Function
_get_bufsize_errmask
numpy/core/src/umath/extobj.c:338
↓ 8 callers
Method
_nan
(self)
numpy/core/tests/test_simd.py:111
↓ 8 callers
Function
_realType
(t, default=double)
numpy/linalg/linalg.py:153
↓ 8 callers
Method
_sub
(c1, c2)
numpy/polynomial/_polybase.py:136
↓ 8 callers
Function
_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 callers
Function
_wrapreduction
(obj, ufunc, method, axis, dtype, out, **kwargs)
numpy/core/fromnumeric.py:71
↓ 8 callers
Method
add_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 callers
Method
advance
(self, n)
numpy/core/_internal.py:621
↓ 8 callers
Method
all
Test whether all matrix elements along a given axis evaluate to True. Parameters ---------- See `numpy.all` for comp
numpy/matrixlib/defmatrix.py:572
↓ 8 callers
Function
aquicksort_dispatch
numpy/core/src/npysort/quicksort.cpp:81
↓ 8 callers
Method
argpartition
(self, *args, **kwargs)
numpy/ma/core.py:6060
↓ 8 callers
Function
as_complex
Return object as COMPLEX expression (complex literal constant).
numpy/f2py/symbolic.py:1003
↓ 8 callers
Function
assert_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 callers
Function
bitmask_u32
numpy/core/src/multiarray/dragon4.c:53
↓ 8 callers
Function
break_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 callers
Method
cast_types
(self)
numpy/f2py/tests/test_array_from_pyobj.py:229
↓ 8 callers
Function
cgemv_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:1037
↓ 8 callers
Method
check_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 callers
Method
check_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 callers
Method
check_pickling
(self, dtype)
numpy/core/tests/test_dtype.py:1288
↓ 8 callers
Function
clarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:18366
↓ 8 callers
Function
claset_
Subroutine */
numpy/linalg/lapack_lite/f2c_c_lapack.c:20320
↓ 8 callers
Function
consistent_subclass
(out, in_)
numpy/linalg/tests/test_linalg.py:33
↓ 8 callers
Function
copy
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 callers
Function
dlanst_
numpy/linalg/lapack_lite/f2c_d_lapack.c:16676
↓ 8 callers
Function
dlarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:21553
↓ 8 callers
Function
dlasrt_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:31332
↓ 8 callers
Function
dnrm2_
numpy/linalg/lapack_lite/f2c_blas.c:7668
↓ 8 callers
Function
empty_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 callers
Function
filepath_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 callers
Function
getctype
Determines C type
numpy/f2py/capi_maps.py:187
↓ 8 callers
Function
getstrlength
(var)
numpy/f2py/capi_maps.py:253
↓ 8 callers
Function
histogram2d
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 callers
Method
laplace
(N, Niter=100, func=num_update, args=())
benchmarks/benchmarks/bench_app.py:34
↓ 8 callers
Function
logspace
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 callers
Method
mapparms
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 callers
Function
nan_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 callers
Function
ndpointer
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 callers
Function
new_fcompiler
Generate an instance of some FCompiler subclass for the supplied platform/compiler combination.
numpy/distutils/fcompiler/__init__.py:873
↓ 8 callers
Function
npy_log1p
numpy/core/src/npymath/arm64_exports.c:22
↓ 8 callers
Function
npyv_setall_s64
numpy/core/src/common/simd/sse/misc.h:40
↓ 8 callers
Function
power
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 callers
Method
ravel
Return a flattened matrix. Refer to `numpy.ravel` for more documentation. Parameters ---------- order : {'C
numpy/matrixlib/defmatrix.py:898
↓ 8 callers
Function
setmesstext
(block)
numpy/f2py/crackfortran.py:1984
↓ 8 callers
Method
size
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 callers
Function
slanst_
numpy/linalg/lapack_lite/f2c_s_lapack.c:16618
↓ 8 callers
Function
slarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:21475
↓ 8 callers
Function
slasrt_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:31216
↓ 8 callers
Function
sliding_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 callers
Function
snrm2_
numpy/linalg/lapack_lite/f2c_blas.c:12268
↓ 8 callers
Function
stack_arrays
Superposes arrays fields by fields Parameters ---------- arrays : array or sequence Sequence of input arrays. defaults :
numpy/lib/recfunctions.py:1318
↓ 8 callers
Function
string_converter_helper
numpy/core/src/multiarray/conversion_utils.c:442
↓ 8 callers
Function
take
numpy/ma/core.py:6914
↓ 8 callers
Function
tempdir
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 callers
Method
todict
Return a dictionary compatible with the keyword arguments of distutils setup function. Examples -------- >>>
numpy/distutils/misc_util.py:866
↓ 8 callers
Function
trim
(x)
numpy/polynomial/tests/test_legendre.py:27
↓ 8 callers
Function
trim
(x)
numpy/polynomial/tests/test_hermite.py:27
↓ 8 callers
Function
trim
(x)
numpy/polynomial/tests/test_hermite_e.py:27
↓ 8 callers
Function
trim
(x)
numpy/polynomial/tests/test_polynomial.py:15
↓ 8 callers
Function
trim
(x)
numpy/polynomial/tests/test_laguerre.py:24
↓ 8 callers
Function
unique
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 callers
Function
valid_textfile
(filedir)
numpy/lib/tests/test__datasource.py:50
↓ 8 callers
Function
zgemv_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:16315
↓ 8 callers
Function
zlarfb_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:18467
↓ 8 callers
Function
zlaset_
Subroutine */
numpy/linalg/lapack_lite/f2c_z_lapack.c:20425
↓ 7 callers
Method
Array1
Default/length/array constructor
tools/swig/test/Array1.cxx:6
↓ 7 callers
Function
GENERIC_COPY
numpy/core/src/npysort/npysort_common.h:363
↓ 7 callers
Function
NPY_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 callers
Function
NPY_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 callers
Function
NpyIter_New
NUMPY_API * Allocate a new iterator for one array object. */
numpy/core/src/multiarray/nditer_constr.c:540
↓ 7 callers
Function
PyArray_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 callers
Function
PyArray_DescrFromScalar
NUMPY_API * Return descr object from array scalar. * * New reference */
numpy/core/src/multiarray/scalarapi.c:531
↓ 7 callers
Function
PyArray_DiscardWritebackIfCopy
numpy/core/include/numpy/ndarrayobject.h:155
↓ 7 callers
Function
PyArray_GenericUnaryFunction
numpy/core/src/multiarray/number.c:275
↓ 7 callers
Function
PyArray_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 callers
Function
PyArray_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 callers
Function
PyArray_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 callers
Function
PyArray_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 callers
Function
PyDataMem_FREE
NUMPY_API * Free memory for array data. */
numpy/core/src/multiarray/alloc.c:322
↓ 7 callers
Method
__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 callers
Function
_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 callers
Method
_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 callers
Method
_check_roundtrip
(self, obj)
numpy/core/tests/test_multiarray.py:7828
↓ 7 callers
Method
_delegate_binop
(self, other)
numpy/ma/core.py:4083
↓ 7 callers
Method
_extra_setup
(cls)
numpy/random/tests/test_smoke.py:107
↓ 7 callers
Method
_fit
(x, y, deg, rcond, full)
numpy/polynomial/_polybase.py:171
↓ 7 callers
Method
_fromroots
(r)
numpy/polynomial/_polybase.py:186
↓ 7 callers
Method
_loads
(self, obj)
numpy/core/tests/test_multiarray.py:4323
↓ 7 callers
Method
_ninfinity
(self)
numpy/core/tests/test_simd.py:108
↓ 7 callers
Method
_pinfinity
(self)
numpy/core/tests/test_simd.py:105
↓ 7 callers
Function
append_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 callers
Function
array
Create a `chararray`. .. note:: This class is provided for numarray backward-compatibility. New code (not concerned with numar
numpy/core/defchararray.py:2731
↓ 7 callers
Function
array_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 callers
Function
as_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 callers
Function
ceil
Array API compatible wrapper for :py:func:`np.ceil <numpy.ceil>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:230
← previous
next →
501–600 of 17,008, ranked by callers