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
Function
parse_datetime_metadata_from_metastr
* Parses the metadata string into the metadata C structure. * * Returns 0 on success, -1 on failure. */
numpy/core/src/multiarray/datetime.c:803
↓ 2 callers
Function
parse_index_entry
* This function converts one element of the indexing tuple * into a step size and a number of steps, returning the * starting index. Non-slices are
numpy/core/src/multiarray/iterators.c:49
↓ 2 callers
Function
partition_prep_kth_array
* make kth array positive, ravel and sort it */
numpy/core/src/multiarray/item_selection.c:1546
↓ 2 callers
Function
pass_all
numpy/fft/_pocketfft.c:883
↓ 2 callers
Function
pcg128_mult
numpy/random/src/pcg64/pcg64.h:155
↓ 2 callers
Function
pcg128_mult_64
numpy/random/src/pcg64/pcg64.h:207
↓ 2 callers
Function
pcg_cm_random_r
numpy/random/src/pcg64/pcg64.h:246
↓ 2 callers
Function
pcg_cm_step_r
numpy/random/src/pcg64/pcg64.h:217
↓ 2 callers
Function
pcg_mcg_16_step_r
numpy/random/src/pcg64/pcg64.orig.h:421
↓ 2 callers
Function
pcg_mcg_32_step_r
numpy/random/src/pcg64/pcg64.orig.h:460
↓ 2 callers
Function
pcg_oneseq_8_step_r
numpy/random/src/pcg64/pcg64.orig.h:373
↓ 2 callers
Function
pcg_output_rxs_m_xs_8_8
numpy/random/src/pcg64/pcg64.orig.h:158
↓ 2 callers
Function
pcg_setseq_128_step_r
numpy/random/src/pcg64/pcg64.h:165
↓ 2 callers
Function
pcg_setseq_8_step_r
numpy/random/src/pcg64/pcg64.orig.h:401
↓ 2 callers
Function
philox_next
numpy/random/src/philox/philox.h:202
↓ 2 callers
Function
pkg_to_filename
(pkg_name)
numpy/distutils/npy_pkg_config.py:246
↓ 2 callers
Function
place
Change elements of an array based on conditional and input values. Similar to ``np.copyto(arr, vals, where=mask)``, the difference is that
numpy/lib/function_base.py:1918
↓ 2 callers
Function
poly
Find the coefficients of a polynomial with the given sequence of roots. .. note:: This forms part of the old polynomial API. Since ve
numpy/lib/polynomial.py:46
↓ 2 callers
Function
polyadd
Find the sum of two polynomials. .. note:: This forms part of the old polynomial API. Since version 1.4, the new polynomial AP
numpy/lib/polynomial.py:789
↓ 2 callers
Function
polydiv
Returns the quotient and remainder of polynomial division. .. note:: This forms part of the old polynomial API. Since version 1.4, th
numpy/lib/polynomial.py:978
↓ 2 callers
Function
polysub
Difference (subtraction) of two polynomials. .. note:: This forms part of the old polynomial API. Since version 1.4, the new p
numpy/lib/polynomial.py:857
↓ 2 callers
Function
polyval
Evaluate a polynomial at specific values. .. note:: This forms part of the old polynomial API. Since version 1.4, the new poly
numpy/lib/polynomial.py:706
↓ 2 callers
Function
postcrack
TODO: function return values determine expression types if in argument list
numpy/f2py/crackfortran.py:2064
↓ 2 callers
Function
prepare_ufunc_output
* Calls the given __array_prepare__ function on the operand *op, * substituting it in place if a new array is returned and matches * the old one. *
numpy/core/src/umath/ufunc_object.c:1180
↓ 2 callers
Function
process_str
(astr)
numpy/distutils/conv_template.py:254
↓ 2 callers
Function
process_str
(allstr)
numpy/f2py/_src_pyf.py:185
↓ 2 callers
Function
process_stringlike
* Helper function to support byte objects as well as unicode strings. * * NOTE: Steals a reference to `str` (although usually returns it unmodified)
numpy/core/src/multiarray/textreading/stream_pyobject.c:45
↓ 2 callers
Function
promote_and_get_info_and_ufuncimpl
* The main implementation to find the correct DType signature and ArrayMethod * to use for a ufunc. This function may recurse with `do_legacy_fallba
numpy/core/src/umath/dispatching.c:729
↓ 2 callers
Function
put
Set storage-indexed locations to corresponding values. This function is equivalent to `MaskedArray.put`, see that method for details.
numpy/ma/core.py:7262
↓ 2 callers
Function
put_along_axis
Put values into the destination array by matching 1d index and data slices. This iterates over matching 1d slices oriented along the specifi
numpy/lib/shape_base.py:178
↓ 2 callers
Function
py_resolve_dtypes_generic
* Python entry-point to ufunc promotion and dtype/descr resolution. * * This function does most of the work required to execute ufunc without * act
numpy/core/src/umath/ufunc_object.c:6569
↓ 2 callers
Function
raise_casting_error
numpy/core/src/umath/ufunc_type_resolution.c:137
↓ 2 callers
Function
raise_output_casting_error
Helper function to raise UFuncOutputCastingError * Always returns -1 to indicate the exception was raised, for convenience */
numpy/core/src/umath/ufunc_type_resolution.c:197
↓ 2 callers
Function
random_binomial_btpe
numpy/random/src/distributions/distributions.c:612
↓ 2 callers
Function
random_binomial_inversion
numpy/random/src/distributions/distributions.c:755
↓ 2 callers
Function
random_geometric_search
Still used but both generator and mtrand via legacy_random_geometric */
numpy/random/src/distributions/distributions.c:963
↓ 2 callers
Function
random_interval
numpy/random/src/distributions/distributions.c:1048
↓ 2 callers
Function
random_loggam
* log-gamma function to support some of these distributions. The * algorithm comes from SPECFUN by Shanjie Zhang and Jianming Jin and their * book "
numpy/random/src/distributions/distributions.c:344
↓ 2 callers
Function
random_slice
(n, step)
numpy/core/tests/test_mem_overlap.py:240
↓ 2 callers
Function
random_standard_normal_f
numpy/random/src/distributions/distributions.c:179
↓ 2 callers
Function
rational_negative
numpy/core/src/umath/_rational_tests.c:187
↓ 2 callers
Function
read_magic
Read the magic string to get the version of the file format. Parameters ---------- fp : filelike object Returns ------- maj
numpy/lib/format.py:223
↓ 2 callers
Function
read_numberlike_string
* read_numberlike_string: * * fp: FILE pointer * * value: Place to store the value read * * Read what looks like valid numeric input and
numpy/core/src/common/numpyos.c:602
↓ 2 callers
Function
recursionlimit
(n)
numpy/core/tests/test_scalarmath.py:869
↓ 2 callers
Function
repack_fields
Re-pack the fields of a structured array or dtype in memory. The memory layout of structured datatypes allows fields at arbitrary byte o
numpy/lib/recfunctions.py:769
↓ 2 callers
Function
replace_method
(klass, method_name, func)
numpy/distutils/ccompiler.py:89
↓ 2 callers
Function
reshape
Gives a new shape to an array without changing its data. Parameters ---------- a : array_like Array to be reshaped. news
numpy/core/fromnumeric.py:201
↓ 2 callers
Function
reshape
Array API compatible wrapper for :py:func:`np.reshape <numpy.reshape>`. See its docstring for more information.
numpy/array_api/_manipulation_functions.py:56
↓ 2 callers
Function
resize_buffer_char
numpy/core/src/npysort/timsort.cpp:1876
↓ 2 callers
Function
resize_buffer_intp
buffer method */
numpy/core/src/npysort/timsort.cpp:70
↓ 2 callers
Function
rfft
Compute the one-dimensional discrete Fourier Transform for real input. This function computes the one-dimensional *n*-point discrete Fourier
numpy/fft/_pocketfft.py:321
↓ 2 callers
Method
rindex
Like `rfind`, but raises `ValueError` when the substring `sub` is not found. See Also -------- char.rindex
numpy/core/defchararray.py:2536
↓ 2 callers
Method
rjust
Return an array with the elements of `self` right-justified in a string of length `width`. See Also --------
numpy/core/defchararray.py:2548
↓ 2 callers
Function
rk_devfill
numpy/random/src/mt19937/randomkit.c:506
↓ 2 callers
Function
rk_seed
numpy/random/src/mt19937/randomkit.c:143
↓ 2 callers
Function
rk_ulong
numpy/random/src/mt19937/randomkit.c:439
↓ 2 callers
Function
roll
Roll array elements along a given axis. Elements that roll beyond the last position are re-introduced at the first. Parameters
numpy/core/numeric.py:1130
↓ 2 callers
Method
roots
The roots of the polynomial, where self(x) == 0
numpy/lib/polynomial.py:1209
↓ 2 callers
Method
rpartition
Partition each element in `self` around `sep`. See Also -------- rpartition
numpy/core/defchararray.py:2560
↓ 2 callers
Function
run
()
numpy/f2py/diagnose.py:13
↓ 2 callers
Method
run
()
benchmarks/benchmarks/bench_app.py:43
↓ 2 callers
Method
run_lint
(self, uncommitted)
tools/linter.py:68
↓ 2 callers
Function
run_main
Equivalent to running:: f2py <args> where ``<args>=string.join(<list>,' ')``, but in Python. Unless ``-h`` is used, this funct
numpy/f2py/f2py2e.py:416
↓ 2 callers
Function
s_wsfe
numpy/linalg/lapack_lite/f2c.c:21
↓ 2 callers
Function
safe_abs64
numpy/core/src/umath/_rational_tests.c:73
↓ 2 callers
Function
sbdsdc_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:55
↓ 2 callers
Function
scabs1_
numpy/linalg/lapack_lite/f2c_blas.c:11069
↓ 2 callers
Function
scalar_instances
(times=True, extended_precision=True, user_dtype=True)
numpy/core/tests/test_array_coercion.py:81
↓ 2 callers
Function
scasum_
numpy/linalg/lapack_lite/f2c_blas.c:11088
↓ 2 callers
Function
scnrm2_
numpy/linalg/lapack_lite/f2c_blas.c:11157
↓ 2 callers
Method
serialize
(self, features_names)
doc/source/reference/simd/gen_features.py:37
↓ 2 callers
Method
set_and_check_flag
(self, flag, dtype, arr)
numpy/core/tests/test_numeric.py:3454
↓ 2 callers
Function
set_no_matching_types_error
numpy/core/src/multiarray/arrayfunction_override.c:252
↓ 2 callers
Method
set_options
Configure Configuration instance. The following options are available: - ignore_setup_xxx_py - assume_default_conf
numpy/distutils/misc_util.py:892
↓ 2 callers
Function
set_zero_divide
numpy/core/src/umath/_rational_tests.c:35
↓ 2 callers
Function
setdiff1d
Set difference of 1D arrays with unique elements. The output is always a masked array. See `numpy.setdiff1d` for more details. See
numpy/ma/extras.py:1368
↓ 2 callers
Function
seterr
Set how floating-point errors are handled. Note that operations on integer scalar types (such as `int16`) are handled like floating poin
numpy/core/_ufunc_config.py:34
↓ 2 callers
Function
seterrcall
Set the floating-point error callback function or log object. There are two ways to capture floating-point error messages. The first is
numpy/core/_ufunc_config.py:222
↓ 2 callers
Function
setup
(app)
doc/source/conf.py:155
↓ 2 callers
Method
setup_method
(self)
numpy/core/tests/test_defchararray.py:151
↓ 2 callers
Function
setup_openblas
Download and setup an openblas library for building. If successful, the configuration script will find it automatically. Returns ---
tools/openblas_support.py:150
↓ 2 callers
Function
sfloat_common_instance
numpy/core/src/umath/_scaled_float_dtype.c:84
↓ 2 callers
Function
sfloat_get_ufunc
numpy/core/src/umath/_scaled_float_dtype.c:699
↓ 2 callers
Function
sgebrd_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:2324
↓ 2 callers
Function
sgelqf_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:3799
↓ 2 callers
Function
sgeqrf_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:4866
↓ 2 callers
Function
sger_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:12094
↓ 2 callers
Function
short_path
Return relative or absolute path name, whichever is shortest. Parameters ---------- path : str or None cwd : str or None Re
tools/refguide_check.py:157
↓ 2 callers
Function
should_use_min_scalar_weak_literals
numpy/core/src/multiarray/convert_datatype.c:1704
↓ 2 callers
Function
show_all
(argv=None)
numpy/distutils/system_info.py:3237
↓ 2 callers
Function
show_fcompilers
Print list of available compilers (used by the "--help-fcompiler" option to "config_fc").
numpy/distutils/fcompiler/__init__.py:912
↓ 2 callers
Method
shrink_mask
Reduce a mask to nomask when possible. Parameters ---------- None Returns ------- None
numpy/ma/core.py:3656
↓ 2 callers
Function
sinc
r""" Return the normalized sinc function. The sinc function is equal to :math:`\sin(\pi x)/(\pi x)` for any argument :math:`x\ne 0`. ``si
numpy/lib/function_base.py:3633
↓ 2 callers
Function
sincos_2pibyn
numpy/fft/_pocketfft.c:211
↓ 2 callers
Function
sincos_2pibyn_half
numpy/fft/_pocketfft.c:194
↓ 2 callers
Function
sinh
Array API compatible wrapper for :py:func:`np.sinh <numpy.sinh>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:685
↓ 2 callers
Function
sladiv_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:8505
↓ 2 callers
Function
slaed4_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:10134
↓ 2 callers
Function
slaed6_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:11201
↓ 2 callers
Function
slaed9_
Subroutine */
numpy/linalg/lapack_lite/f2c_s_lapack.c:12335
← previous
next →
2,201–2,300 of 17,008, ranked by callers