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
↓ 1 callers
Function
apply_over_axes
(This docstring will be overwritten)
numpy/ma/extras.py:453
↓ 1 callers
Function
approx
Returns true if all components of a and b are equal to given tolerances. If fill_value is True, masked values considered equal. Otherwise,
numpy/ma/testutils.py:41
↓ 1 callers
Function
argbinsearch
numpy/core/src/npysort/binsearch.cpp:108
↓ 1 callers
Method
argmax
Indexes of the maximum values along an axis. Return the indexes of the first occurrences of the maximum values along the spe
numpy/matrixlib/defmatrix.py:647
↓ 1 callers
Function
around
Round an array to the given number of decimals. `around` is an alias of `~numpy.round`. See Also -------- ndarray.round : equiv
numpy/core/fromnumeric.py:3364
↓ 1 callers
Function
array_assign_boolean_subscript
* Implements boolean indexing assignment. This takes the one-dimensional * array 'v' and assigns its values to all of the elements of 'self' for whic
numpy/core/src/multiarray/mapping.c:1077
↓ 1 callers
Function
array_boolean_subscript
* Implements boolean indexing. This produces a one-dimensional * array which picks out all of the elements of 'self' for which * the corresponding e
numpy/core/src/multiarray/mapping.c:917
↓ 1 callers
Function
array_dataptr_get
numpy/core/src/multiarray/getset.c:242
↓ 1 callers
Function
array_from_pyobj
numpy/f2py/src/fortranobject.c:1102
↓ 1 callers
Function
array_fromfile_binary
This array creation function does not steal the reference to dtype. */
numpy/core/src/multiarray/ctors.c:3306
↓ 1 callers
Function
array_might_be_written
Call this from contexts where an array might be written to, but we have no * way to tell. (E.g., when converting to a read-write buffer.) */
numpy/core/src/multiarray/arrayobject.c:601
↓ 1 callers
Function
array_protocol_descr_get
numpy/core/src/multiarray/getset.c:203
↓ 1 callers
Function
array_protocol_strides_get
numpy/core/src/multiarray/getset.c:231
↓ 1 callers
Function
array_reduce_ex_picklebuffer
numpy/core/src/multiarray/methods.c:1915
↓ 1 callers
Function
array_shape_get
numpy/core/src/multiarray/getset.c:40
↓ 1 callers
Function
array_subscript
* General function for indexing a NumPy array with a Python object. */
numpy/core/src/multiarray/mapping.c:1434
↓ 1 callers
Function
array_subscript_asarray
make sure subscript always returns an array object */
numpy/core/src/multiarray/mapping.c:1316
↓ 1 callers
Function
array_typestr_get
numpy/core/src/multiarray/getset.c:190
↓ 1 callers
Function
arraydescr_subdescr_get
numpy/core/src/multiarray/descriptor.c:2011
↓ 1 callers
Function
arrayflags_aligned_set
numpy/core/src/multiarray/flagsobject.c:290
↓ 1 callers
Function
arrayflags_farray_get
numpy/core/src/multiarray/flagsobject.c:240
↓ 1 callers
Function
arrayflags_fnc_get
numpy/core/src/multiarray/flagsobject.c:224
↓ 1 callers
Function
arrayflags_forc_get
numpy/core/src/multiarray/flagsobject.c:208
↓ 1 callers
Function
arrayflags_writeable_set
numpy/core/src/multiarray/flagsobject.c:316
↓ 1 callers
Function
arrayflags_writebackifcopy_set
relies on setflags order being write, align, uic */
numpy/core/src/multiarray/flagsobject.c:265
↓ 1 callers
Function
as_ctypes_type
r""" Convert a dtype into a ctypes type. Parameters ---------- dtype : dtype The dtype to convert
numpy/ctypeslib.py:465
↓ 1 callers
Function
as_deref
Return object as dereferencing expression.
numpy/f2py/symbolic.py:1029
↓ 1 callers
Function
as_list
(seq)
numpy/distutils/misc_util.py:509
↓ 1 callers
Function
as_ref
Return object as referencing expression.
numpy/f2py/symbolic.py:1023
↓ 1 callers
Function
as_term_coeff
Return expression as term-coefficient pair.
numpy/f2py/symbolic.py:1095
↓ 1 callers
Function
asfarray
Return an array converted to a float type. Parameters ---------- a : array_like The input array. dtype : str or dtype ob
numpy/lib/type_check.py:84
↓ 1 callers
Function
asinh
Array API compatible wrapper for :py:func:`np.arcsinh <numpy.arcsinh>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:81
↓ 1 callers
Method
assemble_flags
Assemble flags from flag list Parameters ---------- in_flags : None or sequence None corresponds to empty list.
numpy/distutils/command/build_clib.py:188
↓ 1 callers
Function
assert_arctan2_isnan
(x, y)
numpy/core/tests/test_umath.py:2144
↓ 1 callers
Function
assert_array_almost_equal
Checks the equality of two masked arrays, up to given number odecimals. The equality is checked elementwise.
numpy/ma/testutils.py:255
↓ 1 callers
Function
assert_features_equal
(actual, desired, fname)
numpy/core/tests/test_cpu_features.py:13
↓ 1 callers
Function
assert_hypot_isinf
(x, y)
numpy/core/tests/test_umath.py:2121
↓ 1 callers
Function
assert_hypot_isnan
(x, y)
numpy/core/tests/test_umath.py:2115
↓ 1 callers
Function
assert_incompatible_shapes_raise
(input_shapes)
numpy/lib/tests/test_stride_tricks.py:25
↓ 1 callers
Function
assert_ma_equal
(discovered, ma_like)
numpy/core/tests/test_getlimits.py:139
↓ 1 callers
Function
assert_mask_equal
Asserts the equality of two masks.
numpy/ma/testutils.py:279
↓ 1 callers
Function
assert_raises_fpe
(strmatch, callable, *args, **kwargs)
numpy/core/tests/test_half.py:9
↓ 1 callers
Function
assert_same_as_ufunc
(shape0, shape1, transposed=False, flipped=False)
numpy/lib/tests/test_stride_tricks.py:33
↓ 1 callers
Function
assert_startswith
(a, b)
numpy/ma/tests/test_subclassing.py:19
↓ 1 callers
Function
asunicode
(s)
numpy/_utils/_convertions.py:9
↓ 1 callers
Function
asv_clear_cache
Force ASV to clear the cache according to specified commit hashes.
runtests.py:587
↓ 1 callers
Function
asv_compare_config
Fill the required build options through custom variable 'numpy_build_options' and return the generated config path.
runtests.py:560
↓ 1 callers
Function
asv_substitute_config
A workaround to allow substituting custom tokens within ASV configuration file since there's no official way to add custom variables(e.g.
runtests.py:598
↓ 1 callers
Function
async_test_context_locality
(get_module)
numpy/core/tests/test_mem_policy.py:315
↓ 1 callers
Method
autostrip
Wrapper to strip each member of the output of `method`. Parameters ---------- method : function Function
numpy/lib/_iotools.py:149
↓ 1 callers
Function
bad_arcsinh
The blocklisted trig functions are not accurate on aarch64/PPC for complex256. Rather than dig through the actual problem skip the test. This
numpy/core/tests/test_umath.py:104
↓ 1 callers
Function
bartlett
Return the Bartlett window. The Bartlett window is very similar to a triangular window, except that the end points are at zero. It is o
numpy/lib/function_base.py:3016
↓ 1 callers
Function
binsearch
numpy/core/src/npysort/binsearch.cpp:60
↓ 1 callers
Function
bitname
Return a bit-width name for a given type object
numpy/core/_type_aliases.py:58
↓ 1 callers
Function
bitwise_left_shift
Array API compatible wrapper for :py:func:`np.left_shift <numpy.left_shift>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:149
↓ 1 callers
Function
bitwise_right_shift
Array API compatible wrapper for :py:func:`np.right_shift <numpy.right_shift>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:196
↓ 1 callers
Function
blackman
Return the Blackman window. The Blackman window is a taper formed by using the first three terms of a summation of cosines. It was desig
numpy/lib/function_base.py:2911
↓ 1 callers
Function
bounded_uints
(lb, ub, n, state)
numpy/random/_examples/numba/extending.py:76
↓ 1 callers
Function
buffer_info_tag
* Tag the buffer info pointer by adding 2 (unless it is NULL to simplify * object initialization). * The linked list of buffer-infos was appended to
numpy/core/src/multiarray/buffer.c:602
↓ 1 callers
Function
build
use meson to build
numpy/testing/_private/extbuild.py:212
↓ 1 callers
Method
build_a_library
(self, build_info, lib_name, libraries)
numpy/distutils/command/build_clib.py:212
↓ 1 callers
Function
build_code
Compile and import Fortran code using f2py.
numpy/f2py/tests/util.py:176
↓ 1 callers
Method
build_data_files_sources
(self)
numpy/distutils/command/build_src.py:166
↓ 1 callers
Method
build_extension_sources
(self, ext)
numpy/distutils/command/build_src.py:304
↓ 1 callers
Function
build_func_data
(types, f)
numpy/core/code_generators/generate_umath.py:145
↓ 1 callers
Function
build_import_library
()
numpy/distutils/mingw32ccompiler.py:341
↓ 1 callers
Method
build_libraries
(self, libraries)
numpy/distutils/command/build_clib.py:184
↓ 1 callers
Method
build_library_sources
(self, lib_name, build_info)
numpy/distutils/command/build_src.py:280
↓ 1 callers
Function
build_msvcr_library
(debug=False)
numpy/distutils/mingw32ccompiler.py:282
↓ 1 callers
Method
build_npy_pkg_config
(self)
numpy/distutils/command/build_src.py:224
↓ 1 callers
Function
build_project
Build a dev version of the project. Returns ------- site_dir site-packages directory where it was installed
runtests.py:407
↓ 1 callers
Method
build_py_modules_sources
(self)
numpy/distutils/command/build_src.py:254
↓ 1 callers
Method
build_sources
(self)
numpy/distutils/command/build_src.py:146
↓ 1 callers
Function
buildapi
(rout)
numpy/f2py/rules.py:1450
↓ 1 callers
Function
buildcallback
(rout, um)
numpy/f2py/cb_rules.py:519
↓ 1 callers
Function
buildmodules
(lst)
numpy/f2py/f2py2e.py:371
↓ 1 callers
Function
buildusevar
(name, realname, vars, usemodulename)
numpy/f2py/use_rules.py:81
↓ 1 callers
Function
business_day_count
* Counts the number of business days between two dates, not including * the end date. This is the low-level function which requires already * cleane
numpy/core/src/multiarray/datetime_busday.c:597
↓ 1 callers
Function
business_day_offset
* Applies the given offsets in business days to the dates provided. * This is the low-level function which requires already cleaned input * data. *
numpy/core/src/multiarray/datetime_busday.c:460
↓ 1 callers
Function
cadd
(line, s=chooks)
numpy/f2py/f90mod_rules.py:122
↓ 1 callers
Function
cadd
(line, s=chooks)
numpy/f2py/common_rules.py:51
↓ 1 callers
Function
calc_first_half
numpy/fft/_pocketfft.c:124
↓ 1 callers
Function
calc_first_quadrant
numpy/fft/_pocketfft.c:104
↓ 1 callers
Method
calc_info
(self)
numpy/distutils/system_info.py:1309
↓ 1 callers
Method
calc_ver_info
Returns True on successful version detection, else False
numpy/distutils/system_info.py:1111
↓ 1 callers
Function
call_converter_function
* Convert functions helper for the generic converter. */
numpy/core/src/multiarray/textreading/conversions.c:341
↓ 1 callers
Function
call_potrf
numpy/linalg/umath_linalg.cpp:1859
↓ 1 callers
Function
call_promoter_and_recurse
* A promoter can currently be either a C-Capsule containing a promoter * function pointer, or a Python function. Both of these can at this time * o
numpy/core/src/umath/dispatching.c:476
↓ 1 callers
Function
callcrackfortran
(files, options)
numpy/f2py/f2py2e.py:335
↓ 1 callers
Function
can_cast_fields
* Compare two field dictionaries for castability. * * Return 1 if 'field1' can be cast to 'field2' according to the rule * 'casting', 0 if not. *
numpy/core/src/multiarray/legacy_dtype_implementation.c:299
↓ 1 callers
Function
can_cast_fields_safety
* Find the correct field casting safety. See the TODO note below, including * in 1.20 (and later) this was based on field names rather than field or
numpy/core/src/multiarray/convert_datatype.c:3437
↓ 1 callers
Function
can_cast_pyscalar_scalar_to
numpy/core/src/multiarray/convert_datatype.c:858
↓ 1 callers
Function
can_cast_timedelta64_units
* This provides the casting rules for the TIMEDELTA data type units. * * Notably, there is a barrier between the nonlinear years and * months units
numpy/core/src/multiarray/datetime.c:1342
↓ 1 callers
Function
can_elide_temp
* check if in "alhs @op@ orhs" that alhs is a temporary (refcnt == 1) so we * can do in-place operations instead of creating a new temporary * "cann
numpy/core/src/multiarray/temp_elide.c:285
↓ 1 callers
Function
can_link_svml_fp16
SVML FP16 requires binutils >= 2.38 for an updated assembler
numpy/core/setup.py:82
↓ 1 callers
Function
capitalize
Return a copy of `a` with only the first character of each element capitalized. Calls `str.capitalize` element-wise. For 8-bit stri
numpy/core/defchararray.py:423
↓ 1 callers
Method
capitalize
Return a copy of `self` with only the first character of each element capitalized. See Also -------- char.ca
numpy/core/defchararray.py:2260
↓ 1 callers
Method
cast
()
numpy/core/tests/test_datetime.py:892
↓ 1 callers
Function
cast_raw_scalar_item
* Helper function for casting a raw value from one descriptor to another. * This helper uses the normal casting machinery, but e.g. does not care abo
numpy/core/src/multiarray/array_coercion.c:389
↓ 1 callers
Function
cblas_matrixproduct
* dot(a,b) * Returns the dot product of a and b for arrays of floating point types. * Like the generic numpy equivalent the product sum is over * t
numpy/core/src/common/cblasfuncs.c:222
← previous
next →
3,101–3,200 of 17,008, ranked by callers