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
pyobject_array_insert
* Like list.insert(), but for C arrays of PyObject*. Skips error checking. */
numpy/core/src/multiarray/arrayfunction_override.c:56
↓ 1 callers
Function
pyod
Python implementation of the od UNIX utility (od -b, more exactly). Parameters ---------- filename : str name of the file to get
numpy/core/setup_common.py:288
↓ 1 callers
Method
pyrex_sources
Pyrex not supported; this remains for Cython support (see below)
numpy/distutils/command/build_src.py:443
↓ 1 callers
Function
pythonlib_dir
return path where libpython* is.
numpy/core/setup.py:102
↓ 1 callers
Function
r_lg10
numpy/linalg/lapack_lite/f2c.c:144
↓ 1 callers
Function
radb2
numpy/fft/_pocketfft.c:1396
↓ 1 callers
Function
radb3
numpy/fft/_pocketfft.c:1421
↓ 1 callers
Function
radb4
numpy/fft/_pocketfft.c:1456
↓ 1 callers
Function
radb5
numpy/fft/_pocketfft.c:1502
↓ 1 callers
Function
radbg
numpy/fft/_pocketfft.c:1562
↓ 1 callers
Function
radf2
numpy/fft/_pocketfft.c:1096
↓ 1 callers
Function
radf3
numpy/fft/_pocketfft.c:1121
↓ 1 callers
Function
radf4
numpy/fft/_pocketfft.c:1155
↓ 1 callers
Function
radf5
numpy/fft/_pocketfft.c:1196
↓ 1 callers
Function
radfg
numpy/fft/_pocketfft.c:1251
↓ 1 callers
Function
raise_if_datetime64_metadata_cast_error
* Tests whether a datetime64 can be cast from the source metadata * to the destination metadata according to the specified casting rule. * * Return
numpy/core/src/multiarray/datetime.c:1446
↓ 1 callers
Function
raise_if_timedelta64_metadata_cast_error
* Tests whether a timedelta64 can be cast from the source metadata * to the destination metadata according to the specified casting rule. * * Retur
numpy/core/src/multiarray/datetime.c:1480
↓ 1 callers
Function
raise_incorrect_number_of_positional_args
numpy/core/src/common/npy_argparse.c:217
↓ 1 callers
Function
raise_input_casting_error
Helper function to raise UFuncInputCastingError * Always returns -1 to indicate the exception was raised, for convenience */
numpy/core/src/umath/ufunc_type_resolution.c:174
↓ 1 callers
Function
raise_memory_error
numpy/core/src/multiarray/ctors.c:587
↓ 1 callers
Function
raise_missing_argument
numpy/core/src/common/npy_argparse.c:235
↓ 1 callers
Function
raise_reshape_size_mismatch
numpy/core/src/multiarray/shape.c:465
↓ 1 callers
Function
random_binomial
numpy/random/src/distributions/distributions.c:792
↓ 1 callers
Function
random_gamma
numpy/random/src/distributions/distributions.c:398
↓ 1 callers
Function
random_geometric_inversion
numpy/random/src/distributions/distributions.c:980
↓ 1 callers
Function
random_hypergeometric
numpy/random/src/distributions/random_hypergeometric.c:246
↓ 1 callers
Function
random_hypergeometric_hrua
numpy/random/src/legacy/legacy-distributions.c:292
↓ 1 callers
Function
random_hypergeometric_hyp
numpy/random/src/legacy/legacy-distributions.c:263
↓ 1 callers
Function
random_hypergeometric_original
numpy/random/src/legacy/legacy-distributions.c:354
↓ 1 callers
Function
random_multinomial
numpy/random/src/distributions/distributions.c:1699
↓ 1 callers
Function
random_noncentral_chisquare
numpy/random/src/distributions/distributions.c:815
↓ 1 callers
Function
random_normal
numpy/random/src/distributions/distributions.c:386
↓ 1 callers
Function
random_poisson_mult
numpy/random/src/distributions/distributions.c:540
↓ 1 callers
Function
random_poisson_ptrs
numpy/random/src/distributions/distributions.c:565
↓ 1 callers
Function
random_slice_fixed_size
(n, step, size)
numpy/core/tests/test_mem_overlap.py:248
↓ 1 callers
Function
random_standard_gamma_f
numpy/random/src/distributions/distributions.c:266
↓ 1 callers
Method
random_unsorted_area
This type of array has random unsorted areas such that they compose the fraction ``frac`` of the original array.
benchmarks/benchmarks/bench_function_base.py:212
↓ 1 callers
Function
random_zipf
numpy/random/src/distributions/distributions.c:1000
↓ 1 callers
Function
rational_abs
numpy/core/src/umath/_rational_tests.c:247
↓ 1 callers
Function
rational_ceil
numpy/core/src/umath/_rational_tests.c:236
↓ 1 callers
Function
rational_double
numpy/core/src/umath/_rational_tests.c:328
↓ 1 callers
Function
rational_ge
numpy/core/src/umath/_rational_tests.c:318
↓ 1 callers
Function
rational_gt
numpy/core/src/umath/_rational_tests.c:308
↓ 1 callers
Function
rational_int
numpy/core/src/umath/_rational_tests.c:323
↓ 1 callers
Function
rational_inverse
numpy/core/src/umath/_rational_tests.c:270
↓ 1 callers
Function
rational_le
numpy/core/src/umath/_rational_tests.c:313
↓ 1 callers
Function
rational_matrix_multiply
numpy/core/src/umath/_rational_tests.c:999
↓ 1 callers
Function
rational_ne
numpy/core/src/umath/_rational_tests.c:298
↓ 1 callers
Function
rational_remainder
numpy/core/src/umath/_rational_tests.c:241
↓ 1 callers
Function
rational_rint
numpy/core/src/umath/_rational_tests.c:255
↓ 1 callers
Function
rational_sign
numpy/core/src/umath/_rational_tests.c:265
↓ 1 callers
Function
ravel_multi_index_loop
Inner loop for ravel_multi_index */
numpy/core/src/multiarray/compiled_base.c:957
↓ 1 callers
Function
raw_array_assign_array
* Assigns the array from 'src' to 'dst'. The strides must already have * been broadcast. * * Returns 0 on success, -1 on failure. */
numpy/core/src/multiarray/array_assign_array.c:79
↓ 1 callers
Function
raw_array_wheremasked_assign_array
* Assigns the array from 'src' to 'dst, wherever the 'wheremask' * value is True. The strides must already have been broadcast. * * Returns 0 on su
numpy/core/src/multiarray/array_assign_array.c:175
↓ 1 callers
Function
raw_array_wheremasked_assign_scalar
* Assigns the scalar value to every element of the destination raw array * where the 'wheremask' value is True. * * Returns 0 on success, -1 on fai
numpy/core/src/multiarray/array_assign_scalar.c:124
↓ 1 callers
Method
read
(self, size=None)
numpy/lib/tests/test_format.py:401
↓ 1 callers
Function
read_file
* Read the content of /proc/cpuinfo into a user-provided buffer. * Return the length of the data, or -1 on error. Does *not* * zero-terminate the co
numpy/core/src/common/npy_cpuinfo_parser.h:95
↓ 1 callers
Function
read_rows
* Read a file into the provided array, or create (and possibly grow) an * array to read into. * * @param s The stream object/struct providing readi
numpy/core/src/multiarray/textreading/rows.c:155
↓ 1 callers
Function
readfortrancode
Read fortran codes from files and 1) Get rid of comments, line continuations, and empty lines; lower cases. 2) Call dowithline(line) on
numpy/f2py/crackfortran.py:358
↓ 1 callers
Function
real_if_close
If input is complex with all imaginary parts close to zero, return real parts. "Close to zero" is defined as `tol` * (machine epsilon of
numpy/lib/type_check.py:529
↓ 1 callers
Function
recurser
By using this local function, we don't need to recurse with all the arguments. Since this function is not created recursively, the co
numpy/core/arrayprint.py:789
↓ 1 callers
Function
recursive_tolist
* Converts a subarray of 'self' into lists, with starting data pointer * 'dataptr' and from dimension 'startdim' to the last dimension of 'self'. *
numpy/core/src/multiarray/convert.c:82
↓ 1 callers
Function
reduce_dtypes_to_most_knowledgeable
* This function takes a list of dtypes and "reduces" them (in a sense, * it finds the maximal dtype). Note that "maximum" here is defined by * knowl
numpy/core/src/multiarray/common_dtype.c:117
↓ 1 callers
Function
refer_to_array_attribute
(attr, method=True)
numpy/core/_add_newdocs.py:6754
↓ 1 callers
Function
release_evd
numpy/linalg/umath_linalg.cpp:1494
↓ 1 callers
Function
release_geev
numpy/linalg/umath_linalg.cpp:2388
↓ 1 callers
Function
release_gesdd
numpy/linalg/umath_linalg.cpp:2879
↓ 1 callers
Function
relevance
(name, docstr, kind, index)
numpy/lib/utils.py:828
↓ 1 callers
Function
remove_whitespace
(s)
numpy/core/code_generators/genapi.py:95
↓ 1 callers
Function
removespaces
(expr)
numpy/f2py/crackfortran.py:1639
↓ 1 callers
Function
rename_fields
Rename the fields from a flexible-datatype ndarray or recarray. Nested fields are supported. Parameters ---------- base : ndarr
numpy/lib/recfunctions.py:608
↓ 1 callers
Function
render
(tpl_path, context)
doc/neps/tools/build_index.py:13
↓ 1 callers
Function
replace
For each element in `a`, return a copy of the string with all occurrences of substring `old` replaced by `new`. Calls `str.replace` elem
numpy/core/defchararray.py:1242
↓ 1 callers
Function
replace_masked
(s)
numpy/ma/extras.py:799
↓ 1 callers
Function
replace_parenthesis
Replace substrings of input that are enclosed in parenthesis. Return a new string and a mapping of replacements.
numpy/f2py/symbolic.py:1212
↓ 1 callers
Function
replace_scalar_type_names
Rename numpy types to use the canonical names to make sphinx behave
doc/source/conf.py:16
↓ 1 callers
Function
replace_with_wrapped_result_and_return
* Wraps all outputs and returns the result (which may be NULL on error). * * Use __array_wrap__ on all outputs * if present on one of the input arg
numpy/core/src/umath/ufunc_object.c:4646
↓ 1 callers
Method
report
(copt)
numpy/distutils/command/build_ext.py:168
↓ 1 callers
Function
require_fields
Casts a structured array to a new dtype using assignment by field-name. This function assigns from the old to the new array by name, so the
numpy/lib/recfunctions.py:1269
↓ 1 callers
Function
requiresf90wrapper
(rout)
numpy/f2py/auxfuncs.py:313
↓ 1 callers
Function
reshape_uniq
(uniq)
numpy/lib/arraysetops.py:310
↓ 1 callers
Method
resize
Resize array
tools/swig/test/Array2.cxx:73
↓ 1 callers
Method
resolveAllDependencies
Try to add routines to the library to satisfy all the dependencies for each routine in the library. Returns a set of routine names th
numpy/linalg/lapack_lite/make_lite.py:154
↓ 1 callers
Function
resolve_implementation_info
* Resolves the implementation to use, this uses typical multiple dispatching * methods of finding the best matching implementation or resolver. * (B
numpy/core/src/umath/dispatching.c:215
↓ 1 callers
Function
resolve_includes
(source)
numpy/distutils/conv_template.py:263
↓ 1 callers
Function
resolve_includes
(source)
numpy/distutils/from_template.py:211
↓ 1 callers
Function
resolve_includes
(source)
numpy/f2py/_src_pyf.py:206
↓ 1 callers
Method
restore
(self)
numpy/distutils/command/config.py:515
↓ 1 callers
Function
rfft_backward
numpy/fft/_pocketfft.c:2179
↓ 1 callers
Function
rfft_forward
numpy/fft/_pocketfft.c:2187
↓ 1 callers
Function
rfftblue_backward
numpy/fft/_pocketfft.c:2033
↓ 1 callers
Function
rfftblue_forward
numpy/fft/_pocketfft.c:2056
↓ 1 callers
Function
rfftn
Compute the N-dimensional discrete Fourier Transform for real input. This function computes the N-dimensional discrete Fourier Transform ove
numpy/fft/_pocketfft.py:1111
↓ 1 callers
Function
rfftp_backward
numpy/fft/_pocketfft.c:1750
↓ 1 callers
Function
rfftp_comp_twiddle
numpy/fft/_pocketfft.c:1827
↓ 1 callers
Function
rfftp_factorize
numpy/fft/_pocketfft.c:1782
↓ 1 callers
Function
rfftp_forward
numpy/fft/_pocketfft.c:1714
↓ 1 callers
Function
rfftp_twsize
numpy/fft/_pocketfft.c:1814
↓ 1 callers
Function
rfind
For each element in `a`, return the highest index in the string where substring `sub` is found, such that `sub` is contained within [`sta
numpy/core/defchararray.py:1283
↓ 1 callers
Function
rindex
Like `rfind`, but raises `ValueError` when the substring `sub` is not found. Calls `str.rindex` element-wise. Parameters ------
numpy/core/defchararray.py:1316
← previous
next →
4,301–4,400 of 17,008, ranked by callers