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
_mask_propagate
Mask whole 1-d vectors of an array that contain masked values.
numpy/ma/core.py:7825
↓ 1 callers
Function
_matmul_array_vals
()
numpy/array_api/tests/test_array_object.py:221
↓ 1 callers
Function
_merge
Concatenate two environment paths avoiding repeats. Here `old` is the environment string before the base class initialize function is called
numpy/distutils/msvccompiler.py:7
↓ 1 callers
Function
_merge
Concatenate two environment paths avoiding repeats. Here `old` is the environment string before the base class initialize function is called
numpy/distutils/msvc9compiler.py:7
↓ 1 callers
Function
_min_int
get small int that fits the range
numpy/lib/twodim_base.py:33
↓ 1 callers
Method
_move_exec_to_root
(self, build_dir: Path)
numpy/f2py/_backends/_meson.py:130
↓ 1 callers
Function
_multi_dot
Actually do the multiplication with the given order.
numpy/linalg/linalg.py:2826
↓ 1 callers
Function
_multi_dot_three
Find the best order for three arrays and do the multiplication. For three arguments `_multi_dot_three` is approximately 15 times faster
numpy/linalg/linalg.py:2764
↓ 1 callers
Function
_multi_svd_norm
Compute a function of the singular values of the 2-D matrices in `x`. This is a private utility function used by `numpy.linalg.norm()`. Para
numpy/linalg/linalg.py:2351
↓ 1 callers
Function
_n_to_n_data_free
transfer data free function */
numpy/core/src/multiarray/dtype_transfer.c:1566
↓ 1 callers
Function
_name_includes_bit_suffix
(dtype)
numpy/core/_dtype.py:330
↓ 1 callers
Function
_nan_mask
Parameters ---------- a : array-like Input array with at least 1 dimension. out : ndarray, optional Alternate output
numpy/lib/nanfunctions.py:41
↓ 1 callers
Function
_nanmedian1d
Private function for rank 1 arrays. Compute the median ignoring NaNs. See nanmedian for parameter usage
numpy/lib/nanfunctions.py:1058
↓ 1 callers
Function
_nanmedian_small
sort + indexing median, faster for small medians along multiple dimensions due to the high overhead of apply_along_axis see nanmedian fo
numpy/lib/nanfunctions.py:1101
↓ 1 callers
Function
_nanquantile_1d
Private function for rank 1 arrays. Compute quantile ignoring NaNs. See nanpercentile for parameter usage
numpy/lib/nanfunctions.py:1597
↓ 1 callers
Function
_needs_add_docstring
Returns true if the only way to set the docstring of `obj` from python is via add_docstring. This function errs on the side of being ove
numpy/core/function_base.py:465
↓ 1 callers
Function
_needs_build
Check if an objects needs to be rebuild based on its dependencies Parameters ---------- obj : str object file Returns
numpy/distutils/ccompiler.py:39
↓ 1 callers
Method
_newFortranRoutine
(self, rname, filename)
numpy/linalg/lapack_lite/make_lite.py:117
↓ 1 callers
Function
_next
* FIXME: There is a lot of redundancy between _next* and npy_nextafter*. * refactor this at some point * * p >= 0, returnx x + nulp * p < 0, retur
numpy/core/src/npymath/ieee754.cpp:28
↓ 1 callers
Function
_next_non_white_space
Return the position of next non-white-space char in the string */
numpy/core/src/umath/ufunc_object.c:550
↓ 1 callers
Function
_nonzero_indices
* This function takes a Boolean array and constructs index objects and * iterators as if nonzero(Bool) had been called * * Must not be called on a
numpy/core/src/multiarray/mapping.c:2165
↓ 1 callers
Function
_normalize_byteorder
* normalize endian character: always return 'I', '<' or '>' */
numpy/core/src/multiarray/hashdescr.c:39
↓ 1 callers
Function
_normed_hermite_e_n
Evaluate a normalized HermiteE polynomial. Compute the value of the normalized HermiteE polynomial of degree ``n`` at the points ``x``.
numpy/polynomial/hermite_e.py:1509
↓ 1 callers
Function
_normed_hermite_n
Evaluate a normalized Hermite polynomial. Compute the value of the normalized Hermite polynomial of degree ``n`` at the points ``x``.
numpy/polynomial/hermite.py:1516
↓ 1 callers
Function
_npy_half_isnan
numpy/core/src/npysort/npysort_common.h:145
↓ 1 callers
Function
_npy_half_lt_nonan
numpy/core/src/npysort/npysort_common.h:152
↓ 1 callers
Function
_nth_slice
(i, ndim)
numpy/polynomial/polyutils.py:375
↓ 1 callers
Function
_num_fromflags
(flaglist)
numpy/ctypeslib.py:164
↓ 1 callers
Function
_numeric_methods
Implement forward, reflected and inplace binary methods with a ufunc.
numpy/lib/mixins.py:44
↓ 1 callers
Function
_one_to_n_data_free
transfer data free function */
numpy/core/src/multiarray/dtype_transfer.c:1389
↓ 1 callers
Function
_opt_info
Returns a string contains the supported CPU features by the current build. The string format can be explained as follows: - dispatch
numpy/lib/utils.py:1123
↓ 1 callers
Function
_optimal_path
Computes all possible pair contractions, sieves the results based on ``memory_limit`` and returns the lowest cost path. This algorithm sc
numpy/core/einsumfunc.py:145
↓ 1 callers
Method
_optimize_data_files
(self)
numpy/distutils/misc_util.py:1191
↓ 1 callers
Function
_override_imports
Override the first `module`-based import with new `imports`.
numpy/typing/mypy_plugin.py:136
↓ 1 callers
Function
_pad_simple
Pad array on all sides with either a single value or undefined values. Parameters ---------- array : ndarray Array to grow.
numpy/lib/arraypad.py:86
↓ 1 callers
Method
_parseFormats
Parse the field formats
numpy/core/records.py:152
↓ 1 callers
Method
_parse_arg_features
(self, arg_name, req_features)
numpy/distutils/ccompiler_opt.py:1895
↓ 1 callers
Function
_parse_axes_arg
* Interpret a possible axes keyword argument, using it to fill the remap_axis * array which maps default to actual axes for each operand, indexed as
numpy/core/src/umath/ufunc_object.c:1810
↓ 1 callers
Function
_parse_axis_arg
* Simplified version of the above, using axis to fill the remap_axis * array, which maps default to actual axes for each operand, indexed as * as re
numpy/core/src/umath/ufunc_object.c:1957
↓ 1 callers
Function
_parse_docstrings
Convert all docstrings in ``_docstrings_list`` into a single sphinx-legible text block.
numpy/_typing/_add_docstring.py:27
↓ 1 callers
Function
_parse_einsum_input
A reproduction of einsum c side einsum parsing in python. Returns ------- input_strings : str Parsed input strings outpu
numpy/core/einsumfunc.py:523
↓ 1 callers
Function
_parse_gufunc_signature
Parse string signatures for a generalized universal function. Arguments --------- signature : string Generalized universal f
numpy/lib/function_base.py:2007
↓ 1 callers
Function
_parse_input_dimensions
Parse broadcast and core dimensions for vectorize with a signature. Arguments --------- args : Tuple[ndarray, ...] Tuple of
numpy/lib/function_base.py:2066
↓ 1 callers
Function
_parse_letter_version
(letter, number)
numpy/_utils/_pep440.py:392
↓ 1 callers
Function
_parse_local_version
Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
numpy/_utils/_pep440.py:426
↓ 1 callers
Method
_parse_multi_target
validate multi targets that defined between parentheses()
numpy/distutils/ccompiler_opt.py:2102
↓ 1 callers
Function
_parse_possible_contraction
Compute the cost (removed size + flops) and resultant indices for performing the contraction specified by ``positions``. Parameters -----
numpy/core/einsumfunc.py:215
↓ 1 callers
Function
_parse_signature
* Sets the following fields in the PyUFuncObject 'ufunc': * * Field Type Array Length * core_enabled int (effe
numpy/core/src/umath/ufunc_object.c:645
↓ 1 callers
Method
_parse_signature
(self, args, kw)
tools/npy_tempita/__init__.py:548
↓ 1 callers
Function
_parse_size
Convert memory size strings ('12 GB' etc.) to float
numpy/testing/_private/utils.py:2438
↓ 1 callers
Method
_parse_token_group
validate group token
numpy/distutils/ccompiler_opt.py:2080
↓ 1 callers
Method
_parse_token_policy
validate policy token
numpy/distutils/ccompiler_opt.py:2068
↓ 1 callers
Function
_parse_version_parts
(s)
numpy/_utils/_pep440.py:207
↓ 1 callers
Function
_path
(*a)
numpy/f2py/tests/test_docs.py:23
↓ 1 callers
Function
_pep3118_letter_to_type
numpy/core/src/multiarray/buffer.c:1068
↓ 1 callers
Function
_philox4x64bumpkey
numpy/random/src/philox/philox.h:21
↓ 1 callers
Function
_philox4x64round
numpy/random/src/philox/philox.h:106
↓ 1 callers
Method
_possible_names
Return a tuple containing compressed filename variations.
numpy/lib/_datasource.py:294
↓ 1 callers
Function
_prepare_sources
(mname, sources, bdir)
numpy/f2py/_backends/_meson.py:182
↓ 1 callers
Function
_preprocess_comments
Generator that consumes a line iterated iterable and strips out the multiple (or multi-character) comments from lines. This is a pre-proc
numpy/lib/npyio.py:796
↓ 1 callers
Function
_preserve_environment
( names )
numpy/distutils/exec_command.py:167
↓ 1 callers
Function
_prime_global_pytype_to_type_dict
* Adds known sequence types to the global type dictionary, note that when * a DType is passed in, this lookup may be ignored. * * @return -1 on err
numpy/core/src/multiarray/array_coercion.c:110
↓ 1 callers
Method
_process_unlinkable_fobjects
(self, objects, libraries, fcompiler, library_dirs,
numpy/distutils/command/build_ext.py:639
↓ 1 callers
Function
_prod
(a)
numpy/core/_internal.py:838
↓ 1 callers
Method
_promote_scalar
Returns a promoted version of a Python scalar appropriate for use with operations on self. This may raise an OverflowError i
numpy/array_api/_array_object.py:172
↓ 1 callers
Function
_putzero
numpy/core/src/multiarray/shape.c:315
↓ 1 callers
Function
_pyarray_revert
* Revert a one dimensional array in-place * * Return 0 on success, other value on failure */
numpy/core/src/multiarray/multiarraymodule.c:1341
↓ 1 callers
Function
_quantile
Private function that doesn't support extended axis or keepdims. These methods are extended to this function using _ureduce See nanpercen
numpy/lib/function_base.py:4765
↓ 1 callers
Function
_quote_arg
Quote the argument for safe use in a shell command line.
numpy/distutils/exec_command.py:305
↓ 1 callers
Function
_raise_power
(astr, wrap=70)
numpy/lib/polynomial.py:1050
↓ 1 callers
Function
_read
r""" Read a NumPy array from a text file. Parameters ---------- fname : str or file object The filename or the file to be rea
numpy/lib/npyio.py:818
↓ 1 callers
Function
_read_config
(f)
numpy/distutils/npy_pkg_config.py:286
↓ 1 callers
Function
_read_config_imp
(filenames, dirs=None)
numpy/distutils/npy_pkg_config.py:285
↓ 1 callers
Function
_readtext_from_stream
`usecols` must point to a Python object that is Py_None or a 1-d contiguous numpy array with data type int32. `dtype` must point to a Python object t
numpy/core/src/multiarray/textreading/readtext.c:37
↓ 1 callers
Function
_recursive_filled
Recursively fill `a` with `fill_value`.
numpy/ma/core.py:2475
↓ 1 callers
Function
_recursive_mask_or
(m1, m2, newmask)
numpy/ma/core.py:1694
↓ 1 callers
Function
_recursive_rename_fields
(ndtype, namemapper)
numpy/lib/recfunctions.py:631
↓ 1 callers
Function
_recursive_set_fill_value
Create a fill value for a structured dtype. Parameters ---------- fillvalue : scalar or array_like Scalar or array represent
numpy/ma/core.py:401
↓ 1 callers
Function
_register_type
(machar, bytepat)
numpy/core/getlimits.py:157
↓ 1 callers
Function
_register_types
()
numpy/core/numerictypes.py:589
↓ 1 callers
Function
_replace_dtype_fields_recursive
Private function allowing recursion in _replace_dtype_fields.
numpy/ma/core.py:1283
↓ 1 callers
Method
_replace_return_type
Replace documentation of ``np`` function's return type. Replaces it with the proper type for the ``np.ma`` function. Parame
numpy/ma/core.py:8406
↓ 1 callers
Method
_repr_latex_scalar
(x, parens=False)
numpy/polynomial/_polybase.py:435
↓ 1 callers
Method
_repr_latex_term
(cls, i, arg_str, needs_parens)
numpy/polynomial/_polybase.py:426
↓ 1 callers
Method
_reset_state
(self)
numpy/random/tests/test_smoke.py:113
↓ 1 callers
Function
_resize_if_necessary
numpy/core/src/common/npy_hashtable.c:121
↓ 1 callers
Function
_resolvenameargspattern
(line)
numpy/f2py/crackfortran.py:979
↓ 1 callers
Function
_resolvetypedefpattern
(line)
numpy/f2py/crackfortran.py:959
↓ 1 callers
Method
_roots
(c)
numpy/polynomial/_polybase.py:181
↓ 1 callers
Function
_round_if_needed
Rounds arr inplace if destination dtype is integer. Parameters ---------- arr : ndarray Input array. dtype : dtype
numpy/lib/arraypad.py:18
↓ 1 callers
Method
_run_axis_tests
(self, dtype)
numpy/lib/tests/test_arraysetops.py:894
↓ 1 callers
Method
_run_machar_highprec
(self)
numpy/core/tests/test_machar.py:12
↓ 1 callers
Method
_run_subprocess_command
(self, command, cwd)
numpy/f2py/_backends/_meson.py:166
↓ 1 callers
Method
_sanitize_relative_path
Return a sanitised relative path for which os.path.abspath(os.path.join(base, path)).startswith(base)
numpy/lib/_datasource.py:417
↓ 1 callers
Function
_sanity_check
Quick sanity checks for common bugs caused by environment. There are some cases e.g. with wrong BLAS ABI that cause wrong res
numpy/__init__.py:351
↓ 1 callers
Function
_scalar_str
(dtype, short)
numpy/core/_dtype.py:103
↓ 1 callers
Function
_search_sorted_inclusive
Like `searchsorted`, but where the last item in `v` is placed on the right. In the context of a histogram, this makes the last bin edge incl
numpy/lib/histograms.py:454
↓ 1 callers
Method
_select
(self, cond, values, default=0)
numpy/lib/tests/test_function_base.py:438
↓ 1 callers
Function
_select_matrix_shape
numpy/core/src/common/cblasfuncs.c:158
↓ 1 callers
Function
_set_array_types
()
numpy/core/_type_aliases.py:211
← previous
next →
2,901–3,000 of 17,008, ranked by callers