MCPcopy Create free account

hub / github.com/numpy/numpy / functions

Functions17,008 in github.com/numpy/numpy

↓ 2 callersMethod_setup
(self, dt)
numpy/core/tests/test_numeric.py:2952
↓ 2 callersMethod_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 callersMethod_strict_call
(self, value)
numpy/lib/_iotools.py:676
↓ 2 callersFunction_strided_byte_swap
numpy/core/src/multiarray/ctors.c:370
↓ 2 callersFunction_struct_str
(dtype, include_align)
numpy/core/_dtype.py:305
↓ 2 callersFunction_subarray_str
(dtype)
numpy/core/_dtype.py:322
↓ 2 callersFunction_subscript_by_name
numpy/core/src/multiarray/descriptor.c:3504
↓ 2 callersFunction_swap_direction
(norm)
numpy/fft/_pocketfft.py:110
↓ 2 callersMethod_test_abs_func
(self, absfunc, test_dtype)
numpy/core/tests/test_scalarmath.py:751
↓ 2 callersFunction_test_fail
( path: str, expression: str, error: str, expected_error: None | str, lineno: int, )
numpy/typing/tests/test_typing.py:208
↓ 2 callersMethod_test_gcd_inner
(self, dtype)
numpy/core/tests/test_umath.py:3998
↓ 2 callersFunction_test_redirected_print
(x, tp, ref=None)
numpy/core/tests/test_print.py:103
↓ 2 callersFunction_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 callersFunction_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 callersFunction_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 callersFunction_uint64_euclidean_gcd
Euclidean algorithm on two positive numbers */
numpy/core/src/multiarray/datetime.c:1069
↓ 2 callersFunction_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 callersMethod_universal_flags
Return a list of -arch flags for every supported architecture.
numpy/distutils/fcompiler/gnu.py:316
↓ 2 callersMethod_unwrap
(self, objs)
numpy/core/tests/test_umath.py:3611
↓ 2 callersFunction_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 callersMethod_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 callersMethod_validate_input
(self, value)
numpy/ma/tests/test_subclassing.py:117
↓ 2 callersFunction_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 callersFunction_wheremask_converter
numpy/core/src/umath/ufunc_object.c:913
↓ 2 callersFunction_wrap_header
Takes a stringified header, and attaches the prefix and padding to it
numpy/lib/format.py:366
↓ 2 callersMethod_wrap_method
(self, mth, lang, args)
numpy/distutils/command/config.py:88
↓ 2 callersFunction_wrapit
(obj, method, *args, **kwds)
numpy/core/fromnumeric.py:40
↓ 2 callersFunction_zip_dtype
(seqarrays, flatten=False)
numpy/lib/recfunctions.py:195
↓ 2 callersFunction_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 callersFunction_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 callersFunctionacos
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 callersMethodaddRoutine
Add a routine to the library.
numpy/linalg/lapack_lite/make_lite.py:128
↓ 2 callersMethodadd_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 callersMethodadd_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 callersFunctionall
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 callersMethodallRoutinesByType
(self, typename)
numpy/linalg/lapack_lite/make_lite.py:194
↓ 2 callersMethodall_types
(self)
numpy/f2py/tests/test_array_from_pyobj.py:232
↓ 2 callersFunctionalltrue
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 callersFunctionappenddecl
(decl, decl2, force=1)
numpy/f2py/crackfortran.py:901
↓ 2 callersFunctionapply_along_axis
(This docstring should be overwritten)
numpy/ma/extras.py:370
↓ 2 callersFunctionapply_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 callersFunctionargsort
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 callersMethodarray_api_define
(self)
numpy/core/code_generators/genapi.py:338
↓ 2 callersFunctionarray_from_text
numpy/core/src/multiarray/ctors.c:3363
↓ 2 callersFunctionarray_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 callersFunctionarray_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 callersFunctionarray_reduce_ex_regular
numpy/core/src/multiarray/methods.c:1896
↓ 2 callersFunctionarray_richcompare
numpy/core/src/multiarray/arrayobject.c:884
↓ 2 callersFunctionarray_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 callersFunctionarray_shares_memory_impl
numpy/core/src/multiarray/multiarraymodule.c:4324
↓ 2 callersFunctionarraydescr_field_subset_view
numpy/core/src/multiarray/descriptor.c:3553
↓ 2 callersFunctionarraydescr_protocol_descr_get
numpy/core/src/multiarray/descriptor.c:2122
↓ 2 callersFunctionas_numer_denom
Return expression as numer-denom pair.
numpy/f2py/symbolic.py:1116
↓ 2 callersFunctionassert_arg_sorted
(arr, arg)
numpy/core/tests/test_multiarray.py:44
↓ 2 callersMethodassert_array_compare
Assert that a comparison of two masked arrays is satisfied elementwise.
numpy/ma/timer_comparison.py:48
↓ 2 callersFunctionassert_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 callersFunctionassert_equal_
(o1, o2)
numpy/lib/tests/test_format.py:432
↓ 2 callersFunctionassert_finfo_equal
(f1, f2)
numpy/core/tests/test_getlimits.py:44
↓ 2 callersFunctionassert_iinfo_equal
(i1, i2)
numpy/core/tests/test_getlimits.py:53
↓ 2 callersFunctionassert_mt19937_state_equal
(a, b)
numpy/random/tests/test_randomstate.py:64
↓ 2 callersMethodassert_partitioned
(self, d, kth)
numpy/core/tests/test_multiarray.py:2995
↓ 2 callersMethodassert_raises_fpe
(self, fpeerr, flop, x, y)
numpy/core/tests/test_numeric.py:629
↓ 2 callersFunctionassert_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 callersFunctionassign_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 callersFunctionastype_anyint
Convert obj to an ndarray with integer dtype or fail */
numpy/core/src/multiarray/compiled_base.c:874
↓ 2 callersFunctionasunicode
(s)
numpy/compat/py3k.py:34
↓ 2 callersFunctionavailable_fcompilers_for_platform
(osname=None, platform=None)
numpy/distutils/fcompiler/__init__.py:840
↓ 2 callersFunctionbinary_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 callersFunctionblas_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 callersFunctionbmat
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 callersFunctionbounded_lemire_uint64
Static `Lemire rejection` function called by random_bounded_uint64(...) */
numpy/random/src/distributions/distributions.c:1190
↓ 2 callersFunctionbounded_masked_uint64
Static `masked rejection` function called by random_bounded_uint64(...) */
numpy/random/src/distributions/distributions.c:1116
↓ 2 callersFunctionbounded_uint
(lb, ub, state)
numpy/random/_examples/numba/extending.py:57
↓ 2 callersFunctionbroadcast_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 callersFunctionbroadcast_strides
See array_assign.h for parameter documentation */
numpy/core/src/common/array_assign.c:28
↓ 2 callersFunctionbuffer_info_from_unicode
numpy/core/src/multiarray/textreading/stream_pyobject.c:67
↓ 2 callersFunctionbuffered_bounded_bool
numpy/random/src/distributions/distributions.c:1173
↓ 2 callersFunctionbuffered_bounded_lemire_uint16
Static `Lemire rejection` function called by * random_buffered_bounded_uint16(...) */
numpy/random/src/distributions/distributions.c:1315
↓ 2 callersFunctionbuffered_bounded_lemire_uint8
Static `Lemire rejection` function called by * random_buffered_bounded_uint8(...) */
numpy/random/src/distributions/distributions.c:1351
↓ 2 callersFunctionbuffered_bounded_masked_uint16
Static `masked rejection` function called by * random_buffered_bounded_uint16(...) */
numpy/random/src/distributions/distributions.c:1147
↓ 2 callersFunctionbuffered_bounded_masked_uint8
Static `masked rejection` function called by * random_buffered_bounded_uint8(...) */
numpy/random/src/distributions/distributions.c:1160
↓ 2 callersFunctionbuild_module
Compile and import a f2py module, built from the given files.
numpy/f2py/tests/util.py:102
↓ 2 callersFunctionbyte_swap_vector
numpy/core/src/multiarray/ctors.c:430
↓ 2 callersFunctionbyteswap
numpy/core/src/umath/_rational_tests.c:756
↓ 2 callersMethodcache_flush
Force update the cache.
numpy/distutils/ccompiler_opt.py:857
↓ 2 callersMethodcache_hash
(self, *factors)
numpy/distutils/ccompiler_opt.py:885
↓ 2 callersMethodcalc_libraries_info
(self)
numpy/distutils/system_info.py:753
↓ 2 callersFunctioncall_array_function
* Calls __array_function__ on the provided argument, with a fast-path for * ndarray. */
numpy/core/src/multiarray/arrayfunction_override.c:192
↓ 2 callersFunctioncall_evd
numpy/linalg/umath_linalg.cpp:1272
↓ 2 callersFunctioncall_geev
numpy/linalg/umath_linalg.cpp:2052
↓ 2 callersFunctioncall_gelsd
numpy/linalg/umath_linalg.cpp:3698
↓ 2 callersFunctioncall_geqrf
numpy/linalg/umath_linalg.cpp:3055
↓ 2 callersFunctioncall_gesdd
numpy/linalg/umath_linalg.cpp:2613
↓ 2 callersFunctioncan_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 callersMethodcan_ccompiler_link
Check if the given C compiler can link objects produced by this compiler.
numpy/distutils/fcompiler/__init__.py:719
↓ 2 callersFunctioncast_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 callersFunctioncast_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 callersFunctioncast_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 callersMethodcc_name
(self)
numpy/distutils/tests/test_ccompiler_opt.py:97
↓ 2 callersFunctioncfftp_backward
numpy/fft/_pocketfft.c:962
← previousnext →1,701–1,800 of 17,008, ranked by callers