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
↓ 2 callers
Method
_setup
(self, dt)
numpy/core/tests/test_numeric.py:2952
↓ 2 callers
Method
_sint
Return the content of a string buffer as integer value. For example: _sint('1234') -> 4321 _sint('123A') -> 17321
numpy/f2py/tests/test_string.py:43
↓ 2 callers
Method
_strict_call
(self, value)
numpy/lib/_iotools.py:676
↓ 2 callers
Function
_strided_byte_swap
numpy/core/src/multiarray/ctors.c:370
↓ 2 callers
Function
_struct_str
(dtype, include_align)
numpy/core/_dtype.py:305
↓ 2 callers
Function
_subarray_str
(dtype)
numpy/core/_dtype.py:322
↓ 2 callers
Function
_subscript_by_name
numpy/core/src/multiarray/descriptor.c:3504
↓ 2 callers
Function
_swap_direction
(norm)
numpy/fft/_pocketfft.py:110
↓ 2 callers
Method
_test_abs_func
(self, absfunc, test_dtype)
numpy/core/tests/test_scalarmath.py:751
↓ 2 callers
Function
_test_fail
( path: str, expression: str, error: str, expected_error: None | str, lineno: int, )
numpy/typing/tests/test_typing.py:208
↓ 2 callers
Method
_test_gcd_inner
(self, dtype)
numpy/core/tests/test_umath.py:3998
↓ 2 callers
Function
_test_redirected_print
(x, tp, ref=None)
numpy/core/tests/test_print.py:103
↓ 2 callers
Function
_tocomplex
Convert its input `arr` to a complex array. The input is returned as a complex array of the smallest type that will fit the original data: ty
numpy/lib/scimath.py:49
↓ 2 callers
Function
_try_convert_from_ctypes_type
* This function creates a dtype object when the object is a ctypes subclass. * * Returns `Py_NotImplemented` if the type is not a ctypes subclass.
numpy/core/src/multiarray/descriptor.c:42
↓ 2 callers
Function
_ufunc_setup_flags
* Set per-operand flags according to desired input or output flags. * op_flags[i] for i in input (as determined by ufunc->nin) will be * merged with
numpy/core/src/umath/ufunc_object.c:384
↓ 2 callers
Function
_uint64_euclidean_gcd
Euclidean algorithm on two positive numbers */
numpy/core/src/multiarray/datetime.c:1069
↓ 2 callers
Function
_umath_strings_richcompare
* This function is used for `compare_chararrays` and currently also void * comparisons (unstructured voids). The first could probably be deprecated
numpy/core/src/umath/string_ufuncs.cpp:329
↓ 2 callers
Method
_universal_flags
Return a list of -arch flags for every supported architecture.
numpy/distutils/fcompiler/gnu.py:316
↓ 2 callers
Method
_unwrap
(self, objs)
numpy/core/tests/test_umath.py:3611
↓ 2 callers
Function
_update_dim_sizes
Incrementally check and update core dimension sizes for a single argument. Arguments --------- dim_sizes : Dict[str, int] Si
numpy/lib/function_base.py:2032
↓ 2 callers
Method
_validate_index
Validate an index according to the array API. The array API specification only requires a subset of indices that are support
numpy/array_api/_array_object.py:259
↓ 2 callers
Method
_validate_input
(self, value)
numpy/ma/tests/test_subclassing.py:117
↓ 2 callers
Function
_warn_if_cast_exists_already
* Checks that there is no cast already cached using the new casting-impl * mechanism. * In that case, we do not clear out the cache (but otherwise s
numpy/core/src/multiarray/usertypes.c:324
↓ 2 callers
Function
_wheremask_converter
numpy/core/src/umath/ufunc_object.c:913
↓ 2 callers
Function
_wrap_header
Takes a stringified header, and attaches the prefix and padding to it
numpy/lib/format.py:366
↓ 2 callers
Method
_wrap_method
(self, mth, lang, args)
numpy/distutils/command/config.py:88
↓ 2 callers
Function
_wrapit
(obj, method, *args, **kwds)
numpy/core/fromnumeric.py:40
↓ 2 callers
Function
_zip_dtype
(seqarrays, flatten=False)
numpy/lib/recfunctions.py:195
↓ 2 callers
Function
_zseries_div
Divide the first z-series by the second. Divide `z1` by `z2` and return the quotient and remainder as z-series. Warning: this implementation
numpy/polynomial/chebyshev.py:210
↓ 2 callers
Function
_zseries_mul
Multiply two z-series. Multiply two z-series to produce a z-series. Parameters ---------- z1, z2 : 1-D ndarray The arrays mu
numpy/polynomial/chebyshev.py:183
↓ 2 callers
Function
acos
Array API compatible wrapper for :py:func:`np.arccos <numpy.arccos>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:31
↓ 2 callers
Method
addRoutine
Add a routine to the library.
numpy/linalg/lapack_lite/make_lite.py:128
↓ 2 callers
Method
add_include_dirs
Add paths to configuration include directories. Add the given sequence of paths to the beginning of the include_dirs list. This list
numpy/distutils/misc_util.py:1369
↓ 2 callers
Method
add_installed_library
Similar to add_library, but the specified library is installed. Most C libraries used with `distutils` are only used to build python
numpy/distutils/misc_util.py:1597
↓ 2 callers
Function
all
Array API compatible wrapper for :py:func:`np.all <numpy.all>`. See its docstring for more information.
numpy/array_api/_utility_functions.py:10
↓ 2 callers
Method
allRoutinesByType
(self, typename)
numpy/linalg/lapack_lite/make_lite.py:194
↓ 2 callers
Method
all_types
(self)
numpy/f2py/tests/test_array_from_pyobj.py:232
↓ 2 callers
Function
alltrue
Check if all elements of input array are true. .. deprecated:: 1.25.0 ``alltrue`` is deprecated as of NumPy 1.25.0, and will be
numpy/core/fromnumeric.py:3908
↓ 2 callers
Function
appenddecl
(decl, decl2, force=1)
numpy/f2py/crackfortran.py:901
↓ 2 callers
Function
apply_along_axis
(This docstring should be overwritten)
numpy/ma/extras.py:370
↓ 2 callers
Function
apply_tag
Add the given tag (a string) to each of the cases (a list of LinalgCase objects)
numpy/linalg/tests/test_linalg.py:98
↓ 2 callers
Function
argsort
Returns the indices that would sort an array. Perform an indirect sort along the given axis using the algorithm specified by the `kind`
numpy/core/fromnumeric.py:1026
↓ 2 callers
Method
array_api_define
(self)
numpy/core/code_generators/genapi.py:338
↓ 2 callers
Function
array_from_text
numpy/core/src/multiarray/ctors.c:3363
↓ 2 callers
Function
array_function_method_impl
* Core implementation of ndarray.__array_function__. This is exposed * separately so we can avoid the overhead of a Python method call from * within
numpy/core/src/multiarray/arrayfunction_override.c:159
↓ 2 callers
Function
array_get_dl_device
This function cannot return NULL, but it can fail, So call PyErr_Occurred to check if it failed after calling it.
numpy/core/src/multiarray/dlpack.c:96
↓ 2 callers
Function
array_reduce_ex_regular
numpy/core/src/multiarray/methods.c:1896
↓ 2 callers
Function
array_richcompare
numpy/core/src/multiarray/arrayobject.c:884
↓ 2 callers
Function
array_scalar_forward
* Convert the array to a scalar if allowed, and apply the builtin function * to it. The where argument is passed onto Py_EnterRecursiveCall when the
numpy/core/src/multiarray/number.c:867
↓ 2 callers
Function
array_shares_memory_impl
numpy/core/src/multiarray/multiarraymodule.c:4324
↓ 2 callers
Function
arraydescr_field_subset_view
numpy/core/src/multiarray/descriptor.c:3553
↓ 2 callers
Function
arraydescr_protocol_descr_get
numpy/core/src/multiarray/descriptor.c:2122
↓ 2 callers
Function
as_numer_denom
Return expression as numer-denom pair.
numpy/f2py/symbolic.py:1116
↓ 2 callers
Function
assert_arg_sorted
(arr, arg)
numpy/core/tests/test_multiarray.py:44
↓ 2 callers
Method
assert_array_compare
Assert that a comparison of two masked arrays is satisfied elementwise.
numpy/ma/timer_comparison.py:48
↓ 2 callers
Function
assert_copy_equivalent
Check that operation(*args, out=out) produces results equivalent to out[...] = operation(*args, out=out.copy())
numpy/core/tests/test_mem_overlap.py:576
↓ 2 callers
Function
assert_equal_
(o1, o2)
numpy/lib/tests/test_format.py:432
↓ 2 callers
Function
assert_finfo_equal
(f1, f2)
numpy/core/tests/test_getlimits.py:44
↓ 2 callers
Function
assert_iinfo_equal
(i1, i2)
numpy/core/tests/test_getlimits.py:53
↓ 2 callers
Function
assert_mt19937_state_equal
(a, b)
numpy/random/tests/test_randomstate.py:64
↓ 2 callers
Method
assert_partitioned
(self, d, kth)
numpy/core/tests/test_multiarray.py:2995
↓ 2 callers
Method
assert_raises_fpe
(self, fpeerr, flop, x, y)
numpy/core/tests/test_numeric.py:629
↓ 2 callers
Function
assert_string_equal
Test if two strings are equal. If the given strings are equal, `assert_string_equal` does nothing. If they are not equal, an AssertionEr
numpy/testing/_private/utils.py:1122
↓ 2 callers
Function
assign_fields_by_name
Assigns values from one structured array to another by field name. Normally in numpy >= 1.14, assignment of one structured array to another
numpy/lib/recfunctions.py:1228
↓ 2 callers
Function
astype_anyint
Convert obj to an ndarray with integer dtype or fail */
numpy/core/src/multiarray/compiled_base.c:874
↓ 2 callers
Function
asunicode
(s)
numpy/compat/py3k.py:34
↓ 2 callers
Function
available_fcompilers_for_platform
(osname=None, platform=None)
numpy/distutils/fcompiler/__init__.py:840
↓ 2 callers
Function
binary_search_with_guess
@brief find index of a sorted array such that arr[i] <= key < arr[i + 1]. * * If an starting index guess is in-range, the array values around this
numpy/core/src/multiarray/compiled_base.c:414
↓ 2 callers
Function
blas_stride
* Convert NumPy stride to BLAS stride. Returns 0 if conversion cannot be done * (BLAS won't handle negative or zero strides the way we want). */
numpy/core/src/common/npy_cblas.h:97
↓ 2 callers
Function
bmat
Build a matrix object from a string, nested sequence, or array. Parameters ---------- obj : str or array_like Input data. If
numpy/matrixlib/defmatrix.py:1037
↓ 2 callers
Function
bounded_lemire_uint64
Static `Lemire rejection` function called by random_bounded_uint64(...) */
numpy/random/src/distributions/distributions.c:1190
↓ 2 callers
Function
bounded_masked_uint64
Static `masked rejection` function called by random_bounded_uint64(...) */
numpy/random/src/distributions/distributions.c:1116
↓ 2 callers
Function
bounded_uint
(lb, ub, state)
numpy/random/_examples/numba/extending.py:57
↓ 2 callers
Function
broadcast_shapes
Broadcast the input shapes into a single shape. :ref:`Learn more about broadcasting here <basics.broadcasting>`. .. versionadded:: 1.20
numpy/lib/stride_tricks.py:434
↓ 2 callers
Function
broadcast_strides
See array_assign.h for parameter documentation */
numpy/core/src/common/array_assign.c:28
↓ 2 callers
Function
buffer_info_from_unicode
numpy/core/src/multiarray/textreading/stream_pyobject.c:67
↓ 2 callers
Function
buffered_bounded_bool
numpy/random/src/distributions/distributions.c:1173
↓ 2 callers
Function
buffered_bounded_lemire_uint16
Static `Lemire rejection` function called by * random_buffered_bounded_uint16(...) */
numpy/random/src/distributions/distributions.c:1315
↓ 2 callers
Function
buffered_bounded_lemire_uint8
Static `Lemire rejection` function called by * random_buffered_bounded_uint8(...) */
numpy/random/src/distributions/distributions.c:1351
↓ 2 callers
Function
buffered_bounded_masked_uint16
Static `masked rejection` function called by * random_buffered_bounded_uint16(...) */
numpy/random/src/distributions/distributions.c:1147
↓ 2 callers
Function
buffered_bounded_masked_uint8
Static `masked rejection` function called by * random_buffered_bounded_uint8(...) */
numpy/random/src/distributions/distributions.c:1160
↓ 2 callers
Function
build_module
Compile and import a f2py module, built from the given files.
numpy/f2py/tests/util.py:102
↓ 2 callers
Function
byte_swap_vector
numpy/core/src/multiarray/ctors.c:430
↓ 2 callers
Function
byteswap
numpy/core/src/umath/_rational_tests.c:756
↓ 2 callers
Method
cache_flush
Force update the cache.
numpy/distutils/ccompiler_opt.py:857
↓ 2 callers
Method
cache_hash
(self, *factors)
numpy/distutils/ccompiler_opt.py:885
↓ 2 callers
Method
calc_libraries_info
(self)
numpy/distutils/system_info.py:753
↓ 2 callers
Function
call_array_function
* Calls __array_function__ on the provided argument, with a fast-path for * ndarray. */
numpy/core/src/multiarray/arrayfunction_override.c:192
↓ 2 callers
Function
call_evd
numpy/linalg/umath_linalg.cpp:1272
↓ 2 callers
Function
call_geev
numpy/linalg/umath_linalg.cpp:2052
↓ 2 callers
Function
call_gelsd
numpy/linalg/umath_linalg.cpp:3698
↓ 2 callers
Function
call_geqrf
numpy/linalg/umath_linalg.cpp:3055
↓ 2 callers
Function
call_gesdd
numpy/linalg/umath_linalg.cpp:2613
↓ 2 callers
Function
can_cast_scalar_to
* NOTE: This function uses value based casting logic for scalars. It will * require updates when we phase out value-based-casting. */
numpy/core/src/multiarray/convert_datatype.c:785
↓ 2 callers
Method
can_ccompiler_link
Check if the given C compiler can link objects produced by this compiler.
numpy/distutils/fcompiler/__init__.py:719
↓ 2 callers
Function
cast_datetime_to_datetime
* Casts a single datetime from having src_meta metadata into * dst_meta metadata. * * Returns 0 on success, -1 on failure. */
numpy/core/src/multiarray/datetime.c:3012
↓ 2 callers
Function
cast_timedelta_to_timedelta
* Casts a single timedelta from having src_meta metadata into * dst_meta metadata. * * Returns 0 on success, -1 on failure. */
numpy/core/src/multiarray/datetime.c:3046
↓ 2 callers
Function
cast_to_void_dtype_class
* Small helper function to handle the case of `arr.astype(dtype="V")`. * When the output descriptor is not passed, we always use `V<itemsize>` * of
numpy/core/src/multiarray/convert_datatype.c:3059
↓ 2 callers
Method
cc_name
(self)
numpy/distutils/tests/test_ccompiler_opt.py:97
↓ 2 callers
Function
cfftp_backward
numpy/fft/_pocketfft.c:962
← previous
next →
1,701–1,800 of 17,008, ranked by callers