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
_set_constant
numpy/core/src/multiarray/iterators.c:1551
↓ 1 callers
Function
_set_out_array
* Checks if 'obj' is a valid output array for a ufunc, i.e. it is * either None or a writeable array, increments its reference count * and stores a
numpy/core/src/umath/ufunc_object.c:847
↓ 1 callers
Function
_set_pad_area
Set empty-padded area in given dimension. Parameters ---------- padded : ndarray Array with the pad area which is modified i
numpy/lib/arraypad.py:129
↓ 1 callers
Function
_set_reflect_both
Pad `axis` of `arr` with reflection. Parameters ---------- padded : ndarray Input array of arbitrary shape. axis : int
numpy/lib/arraypad.py:296
↓ 1 callers
Function
_set_up_aliases
()
numpy/core/_type_aliases.py:151
↓ 1 callers
Function
_set_wrap_both
Pad `axis` of `arr` with wrapped values. Parameters ---------- padded : ndarray Input array of arbitrary shape. axis : i
numpy/lib/arraypad.py:381
↓ 1 callers
Function
_setdef
()
numpy/core/_ufunc_config.py:441
↓ 1 callers
Method
_setfieldnames
convert input field names into a list and assign to the _names attribute
numpy/core/records.py:173
↓ 1 callers
Function
_setlist_pkl
numpy/core/src/multiarray/methods.c:1793
↓ 1 callers
Method
_setup
(self)
numpy/distutils/tests/test_ccompiler_opt_conf.py:166
↓ 1 callers
Function
_show_numpy_info
()
numpy/_pytesttester.py:36
↓ 1 callers
Function
_signbit_set
numpy/core/src/multiarray/multiarraymodule.c:781
↓ 1 callers
Function
_signs
(dt)
numpy/core/tests/test_scalarmath.py:286
↓ 1 callers
Function
_signs
(dt)
numpy/core/tests/test_umath.py:699
↓ 1 callers
Function
_simplifyargs
(argsline)
numpy/f2py/crackfortran.py:688
↓ 1 callers
Method
_size_to_string
Convert a number of bytes into a binary size string
numpy/core/_exceptions.py:131
↓ 1 callers
Function
_slow_array_clip
numpy/core/src/multiarray/calculation.c:817
↓ 1 callers
Function
_solve
(a, b)
numpy/array_api/linalg.py:303
↓ 1 callers
Function
_split_line
(name, arguments, width)
numpy/lib/utils.py:430
↓ 1 callers
Method
_splitzipext
Split zip extension from filename and return filename. Returns ------- base, zip_ext : {tuple}
numpy/lib/_datasource.py:280
↓ 1 callers
Function
_std
(a, **args)
numpy/core/tests/test_multiarray.py:6061
↓ 1 callers
Function
_stride_comb_iter
Generate cartesian product of strides for all axes
numpy/linalg/tests/test_linalg.py:276
↓ 1 callers
Function
_struct_dict_str
(dtype, includealignedflag)
numpy/core/_dtype.py:189
↓ 1 callers
Function
_struct_list_str
(dtype)
numpy/core/_dtype.py:279
↓ 1 callers
Function
_subarray_broadcast_data_free
transfer data free function */
numpy/core/src/multiarray/dtype_transfer.c:1742
↓ 1 callers
Function
_subok_converter
* Converters for use in parsing of keywords arguments. */
numpy/core/src/umath/ufunc_object.c:885
↓ 1 callers
Function
_subscript_by_index
numpy/core/src/multiarray/descriptor.c:3520
↓ 1 callers
Method
_test_type_repr
(self, t)
numpy/core/tests/test_scalarmath.py:621
↓ 1 callers
Function
_text_to_list
(txt)
numpy/core/tests/test_cpu_features.py:60
↓ 1 callers
Function
_to_native_byte_order
(*arrays)
numpy/linalg/linalg.py:184
↓ 1 callers
Function
_torf_
numpy/core/src/multiarray/flagsobject.c:607
↓ 1 callers
Function
_try_convert_from_inherit_tuple
* A tuple type would be either (generic typeobject, typesize) * or (fixed-length data-type, shape) * * or (inheriting data-type, new-data-type) *
numpy/core/src/multiarray/descriptor.c:842
↓ 1 callers
Function
_typecharfromnum
numpy/core/src/umath/ufunc_object.c:6960
↓ 1 callers
Function
_unaligned_strided_byte_copy
numpy/core/src/multiarray/ctors.c:336
↓ 1 callers
Function
_unary_method
Implement a unary special method with a ufunc.
numpy/lib/mixins.py:51
↓ 1 callers
Function
_unique1d
Find the unique elements of an array, ignoring shape.
numpy/lib/arraysetops.py:323
↓ 1 callers
Function
_unpack_field
* unpack tuple of dtype->fields (descr, offset, title[not-needed]) * * @param "value" should be the tuple. * * @return "descr" will be set to the
numpy/core/src/multiarray/common.c:309
↓ 1 callers
Function
_unpack_tuple
(tup)
numpy/core/_exceptions.py:10
↓ 1 callers
Function
_unpack_tuple
Unpacks one-element tuples for use as return values
numpy/lib/arraysetops.py:125
↓ 1 callers
Function
_update_descr_and_dimensions
* Change a sub-array field to the base descriptor * and update the dimensions and strides * appropriately. Dimensions and strides are added * to t
numpy/core/src/multiarray/ctors.c:278
↓ 1 callers
Function
_update_environment
( **env )
numpy/distutils/exec_command.py:172
↓ 1 callers
Function
_update_other_results
Update the positions and provisional input_sets of ``results`` based on performing the contraction result ``best``. Remove any involving the tenso
numpy/core/einsumfunc.py:273
↓ 1 callers
Function
_using_numpy2_behavior
numpy/core/src/multiarray/multiarraymodule.c:4532
↓ 1 callers
Method
_val
(x, c)
numpy/polynomial/_polybase.py:156
↓ 1 callers
Function
_validate_num_dims
* Validate that operands have enough dimensions, accounting for * possible flexible dimensions that may be absent. */
numpy/core/src/umath/ufunc_object.c:1676
↓ 1 callers
Function
_validate_object_field_overlap
* Validates that any field of the structured array 'dtype' which has * the NPY_ITEM_HASOBJECT flag set does not overlap with another field. * * Thi
numpy/core/src/multiarray/descriptor.c:919
↓ 1 callers
Function
_validate_union_object_dtype
* helper function for _try_convert_from_inherit_tuple to disallow dtypes of the form * (old_dtype, new_dtype) where either of the dtypes contains pyt
numpy/core/src/multiarray/descriptor.c:781
↓ 1 callers
Function
_vander_nd
r""" A generalization of the Vandermonde matrix for N dimensions The result is built by combining the results of 1d Vandermonde matrices,
numpy/polynomial/polyutils.py:381
↓ 1 callers
Function
_var
(a, axis=None, dtype=None, out=None, ddof=0, keepdims=False, *, where=True)
numpy/core/_methods.py:135
↓ 1 callers
Function
_vec_string_no_args
numpy/core/src/multiarray/multiarraymodule.c:4136
↓ 1 callers
Function
_vec_string_with_args
numpy/core/src/multiarray/multiarraymodule.c:4040
↓ 1 callers
Method
_vectorize_call
Vectorized call to `func` over positional `args`.
numpy/lib/function_base.py:2443
↓ 1 callers
Method
_vectorize_call_with_signature
Vectorized call over positional arguments with a signature.
numpy/lib/function_base.py:2464
↓ 1 callers
Function
_view_roi
Get a view of the current region of interest during iterative padding. When padding multiple dimensions iteratively corner values are un
numpy/lib/arraypad.py:58
↓ 1 callers
Function
_void_compare
* VOID-type arrays can only be compared equal and not-equal * in which case the fields are all compared by extracting the fields * and testing one a
numpy/core/src/multiarray/arrayobject.c:665
↓ 1 callers
Method
_wildcard_get_subpackage
(self, subpackage_name, parent_name, caller_
numpy/distutils/misc_util.py:914
↓ 1 callers
Function
_wrap_header_guess_version
Like `_wrap_header`, but chooses an appropriate version given the contents
numpy/lib/format.py:390
↓ 1 callers
Method
_wrap_target
(self, output_dir, dispatch_src, target, nochange=False)
numpy/distutils/ccompiler_opt.py:2548
↓ 1 callers
Method
_x2
(self, intrin_name)
numpy/core/tests/test_simd.py:38
↓ 1 callers
Function
abs2
numpy/linalg/umath_linalg.cpp:3970
↓ 1 callers
Method
addIgnorableRoutine
Add a routine that we don't want to consider when looking at dependencies.
numpy/linalg/lapack_lite/make_lite.py:120
↓ 1 callers
Function
addUfuncs
numpy/linalg/umath_linalg.cpp:4513
↓ 1 callers
Function
add_close
(x, y, out=None)
numpy/core/tests/test_nditer.py:3157
↓ 1 callers
Function
add_context
(x, y, out=None)
numpy/core/tests/test_nditer.py:3167
↓ 1 callers
Method
add_define_macros
Add define macros to configuration Add the given sequence of macro name and value duples to the beginning of the define_macros list T
numpy/distutils/misc_util.py:1353
↓ 1 callers
Function
add_field
numpy/core/src/multiarray/textreading/tokenize.cpp:77
↓ 1 callers
Method
add_guard
Wrap a definition behind a version guard
numpy/core/code_generators/genapi.py:112
↓ 1 callers
Function
add_loop
* This function replaces the strided loop with the passed in one, * and registers it with the given ufunc. */
numpy/core/src/umath/string_ufuncs.cpp:195
↓ 1 callers
Function
add_newdoc
Append ``_docstrings_list`` with a docstring for `name`. Parameters ---------- name : str The name of the object. value : str
numpy/_typing/_add_docstring.py:11
↓ 1 callers
Function
add_newdoc
(place, name, doc)
numpy/core/code_generators/ufunc_docstrings.py:42
↓ 1 callers
Function
add_newdoc
(module, name, doc)
numpy/doc/constants.py:20
↓ 1 callers
Function
add_newdoc_for_scalar_type
(obj, fixed_aliases, doc)
numpy/core/_add_newdocs_scalars.py:71
↓ 1 callers
Method
add_npy_pkg_config
Generate and install a npy-pkg config file from a template. The config file generated from `template` is installed in the gi
numpy/distutils/misc_util.py:1648
↓ 1 callers
Function
add_numeric_cast
numpy/core/src/multiarray/convert_datatype.c:2634
↓ 1 callers
Function
add_other_to_and_from_string_cast
numpy/core/src/multiarray/convert_datatype.c:2857
↓ 1 callers
Function
add_state
numpy/random/src/mt19937/mt19937-jump.c:44
↓ 1 callers
Function
add_system_root
Add a package manager root to the include directories
numpy/distutils/system_info.py:293
↓ 1 callers
Function
addfield
Adds a new field to the masked record array Uses `newfield` as data and `newfieldname` as name. If `newfieldname` is None, the new field name
numpy/ma/mrecords.py:749
↓ 1 callers
Method
allRoutineNames
Return the names of all the routines.
numpy/linalg/lapack_lite/make_lite.py:144
↓ 1 callers
Method
allRoutines
Return all the routines.
numpy/linalg/lapack_lite/make_lite.py:149
↓ 1 callers
Function
all_strings
Return True if all items in lst are string objects.
numpy/distutils/misc_util.py:490
↓ 1 callers
Function
allclose
Returns True if two arrays are element-wise equal within a tolerance. The tolerance values are positive, typically very small numbers. The
numpy/core/numeric.py:2171
↓ 1 callers
Function
allow
(attr)
numpy/distutils/ccompiler.py:410
↓ 1 callers
Function
allpath
Convert a /-separated pathname to one using the OS's path separator.
numpy/distutils/misc_util.py:129
↓ 1 callers
Function
almost
Returns True if a and b are equal up to decimal places. If fill_value is True, masked values considered equal. Otherwise, masked values
numpy/ma/testutils.py:63
↓ 1 callers
Function
amax
Return the maximum of an array or maximum along an axis. `amax` is an alias of `~numpy.max`. See Also -------- max : alias of t
numpy/core/fromnumeric.py:2815
↓ 1 callers
Function
analyzeargs
(block)
numpy/f2py/crackfortran.py:3179
↓ 1 callers
Function
analyzebody
(block, args, tab='')
numpy/f2py/crackfortran.py:2237
↓ 1 callers
Function
analyzecommon
(block)
numpy/f2py/crackfortran.py:2194
↓ 1 callers
Function
analyzeline
Reads each line in the input file in sequence and updates global vars. Effectively reads and collects information from the input file to the
numpy/f2py/crackfortran.py:995
↓ 1 callers
Function
analyzevars
Sets correct dimension information for each variable/parameter
numpy/f2py/crackfortran.py:2606
↓ 1 callers
Function
any
Array API compatible wrapper for :py:func:`np.any <numpy.any>`. See its docstring for more information.
numpy/array_api/_utility_functions.py:25
↓ 1 callers
Function
any_array_ufunc_overrides
* Check whether any of the input and output args have a non-default * __array_ufunc__ method. Return 1 if so, 0 if not, and -1 on error. * * This f
numpy/core/src/multiarray/methods.c:1099
↓ 1 callers
Method
api_hash
(self)
numpy/core/code_generators/genapi.py:155
↓ 1 callers
Function
appendmultiline
(group, context_name, ml)
numpy/f2py/crackfortran.py:1590
↓ 1 callers
Function
apply_along_fields
Apply function 'func' as a reduction across fields of a structured array. This is similar to `apply_along_axis`, but treats the fields of a
numpy/lib/recfunctions.py:1182
↓ 1 callers
Function
apply_business_day_count
* Applies a single business day count operation. See the function * business_day_count for the meaning of all the parameters. * * Returns 0 on succ
numpy/core/src/multiarray/datetime_busday.c:361
↓ 1 callers
Function
apply_business_day_offset
* Applies a single business day offset. See the function * business_day_offset for the meaning of all the parameters. * * Returns 0 on success, -1
numpy/core/src/multiarray/datetime_busday.c:271
↓ 1 callers
Function
apply_business_day_roll
* Applies the 'roll' strategy to 'date', placing the result in 'out' * and setting 'out_day_of_week' to the day of the week that results. * * Retur
numpy/core/src/multiarray/datetime_busday.c:158
↓ 1 callers
Function
apply_over_axes
Apply a function repeatedly over multiple axes. `func` is called as `res = func(a, axis)`, where `axis` is the first element of `axes`.
numpy/lib/shape_base.py:422
← previous
next →
3,001–3,100 of 17,008, ranked by callers