MCPcopy Create free account

hub / github.com/numpy/numpy / functions

Functions17,008 in github.com/numpy/numpy

↓ 2 callersFunctiondot_alignment_error
numpy/core/src/multiarray/common.c:248
↓ 2 callersFunctiondrop_fields
Return a new array with fields in `drop_names` dropped. Nested fields are supported. .. versionchanged:: 1.18.0 `drop_fields` r
numpy/lib/recfunctions.py:502
↓ 2 callersFunctiondrop_metadata
Returns the dtype unchanged if it contained no metadata or a copy of the dtype if it (or any of its structure dtypes) contained metadata.
numpy/lib/utils.py:1151
↓ 2 callersFunctiondsplit
Split array into multiple sub-arrays along the 3rd axis (depth). Please refer to the `split` documentation. `dsplit` is equivalent to `
numpy/lib/shape_base.py:993
↓ 2 callersFunctiondstedc_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:37452
↓ 2 callersFunctiondsymv_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:8004
↓ 2 callersFunctiondsyrk_
Subroutine */
numpy/linalg/lapack_lite/f2c_blas.c:8936
↓ 2 callersFunctiondtrexc_
Subroutine */
numpy/linalg/lapack_lite/f2c_d_lapack.c:41124
↓ 2 callersFunctiondtype_kind_to_ordering
Provides an ordering for the dtype 'kind' character codes */
numpy/core/src/multiarray/convert_datatype.c:675
↓ 2 callersFunctiondtype_kind_to_simplified_ordering
* Provides an ordering for the dtype 'kind' character codes, to help * determine when to use the min_scalar_type function. This groups * 'kind' into
numpy/core/src/multiarray/convert_datatype.c:1612
↓ 2 callersFunctiondtype_to_descr
Get a serializable descriptor from the dtype. The .descr attribute of a dtype object cannot be round-tripped through the dtype() constru
numpy/lib/format.py:243
↓ 2 callersFunctiondump_dims
numpy/f2py/src/fortranobject.c:739
↓ 2 callersFunctiondzasum_
numpy/linalg/lapack_lite/f2c_blas.c:10508
↓ 2 callersFunctiondznrm2_
numpy/linalg/lapack_lite/f2c_blas.c:10573
↓ 2 callersFunctione_wsfe
numpy/linalg/lapack_lite/f2c.c:22
↓ 2 callersFunctioneasy_dtype
Convenience function to create a `np.dtype` object. The function processes the input `dtype` and matches it with the given names. P
numpy/lib/_iotools.py:822
↓ 2 callersFunctionediff1d
The differences between consecutive elements of an array. Parameters ---------- ary : array_like If necessary, will be flatt
numpy/lib/arraysetops.py:38
↓ 2 callersFunctioneigvals
Compute the eigenvalues of a general matrix. Main difference between `eigvals` and `eig`: the eigenvectors aren't returned. Paramet
numpy/linalg/linalg.py:995
↓ 2 callersFunctioneliminate_quotes
Replace quoted substrings of input string. Return a new string and a mapping of replacements.
numpy/f2py/symbolic.py:1172
↓ 2 callersMethodexpect
(self, dispatch, baseline="", **kwargs)
numpy/distutils/tests/test_ccompiler_opt.py:175
↓ 2 callersFunctionexpr2name
(a, block, args=[])
numpy/f2py/crackfortran.py:3142
↓ 2 callersFunctionextract
Return the elements of an array that satisfy some condition. This is equivalent to ``np.compress(ravel(condition), ravel(arr))``. If `c
numpy/lib/function_base.py:1862
↓ 2 callersFunctionextract_unit_32
numpy/core/src/multiarray/datetime.c:57
↓ 2 callersFunctionf__cabs
numpy/linalg/lapack_lite/f2c.c:72
↓ 2 callersFunctionf__cabsf
numpy/linalg/lapack_lite/f2c.c:43
↓ 2 callersMethodfail
(*args, **kwargs)
numpy/core/tests/test_multiarray.py:5368
↓ 2 callersFunctionfail_if_equal
Raises an assertion error if two items are equal.
numpy/ma/testutils.py:147
↓ 2 callersFunctionfast_scalar_power
* optimize float array or complex array to a scalar power * returns 0 on success, -1 if no optimization is possible * the result is in value (can be
numpy/core/src/multiarray/number.c:506
↓ 2 callersMethodfeature_ahead
Return list of features in 'names' after remove any implied features and keep the origins. Parameters ----------
numpy/distutils/ccompiler_opt.py:1405
↓ 2 callersMethodfeature_detect
Return a list of CPU features that required to be detected sorted from the lowest to highest interest.
numpy/distutils/ccompiler_opt.py:1511
↓ 2 callersMethodfeature_extra_checks
Return a list of supported extra checks after testing them against the compiler. Parameters ---------- names
numpy/distutils/ccompiler_opt.py:1624
↓ 2 callersMethodfeature_names
Returns a set of CPU feature names that supported by platform and the **C** compiler. Parameters ---------- names :
numpy/distutils/ccompiler_opt.py:1274
↓ 2 callersFunctionfft
Compute the one-dimensional discrete Fourier Transform. This function computes the one-dimensional *n*-point discrete Fourier Transform
numpy/fft/_pocketfft.py:123
↓ 2 callersFunctionfield_types_xclear
numpy/core/src/multiarray/textreading/field_types.c:13
↓ 2 callersFunctionfilter_files
Filter files by prefix and suffix.
numpy/f2py/f2py2e.py:504
↓ 2 callersMethodfilter_files
(self, sources, exts = [])
numpy/distutils/command/build_src.py:396
↓ 2 callersMethodfilter_h_files
(self, sources)
numpy/distutils/command/build_src.py:393
↓ 2 callersFunctionfilter_sources
Return four lists of filenames containing C, C++, Fortran, and Fortran 90 module sources, respectively.
numpy/distutils/misc_util.py:542
↓ 2 callersFunctionfind_descriptor_from_array
* Return the correct descriptor given an array object and a DType class. * * This is identical to casting the arrays descriptor/dtype to the new *
numpy/core/src/multiarray/array_coercion.c:775
↓ 2 callersFunctionfind_duplicates
Find the duplicates in a structured array along a given key Parameters ---------- a : array-like Input array key : {stri
numpy/lib/recfunctions.py:1411
↓ 2 callersFunctionfind_earliest_holiday_on_or_after
* Finds the earliest holiday which is on or after 'date'. If 'date' does not * appear within the holiday range, returns 'holidays_begin' if 'date' *
numpy/core/src/multiarray/datetime_busday.c:89
↓ 2 callersMethodfind_executables
Go through the self.executables dictionary, and attempt to find and assign appropriate executables. Executable names are looked for i
numpy/distutils/fcompiler/__init__.py:285
↓ 2 callersFunctionfind_item
numpy/core/src/common/npy_hashtable.c:61
↓ 2 callersFunctionfind_python_dll
()
numpy/distutils/mingw32ccompiler.py:182
↓ 2 callersFunctionflags2names
(flags)
numpy/f2py/tests/test_array_from_pyobj.py:54
↓ 2 callersFunctionflags_is_required
(compiler, is_cpp, flags, code)
setup.py:206
↓ 2 callersFunctionflatnotmasked_contiguous
Find contiguous unmasked data in a masked array. Parameters ---------- a : array_like The input array. Returns ----
numpy/ma/extras.py:1839
↓ 2 callersFunctionflatten_dtype
Unpack a structured data-type by collapsing nested fields and/or fields with a shape. Note that the field names are lost. Parameter
numpy/lib/_iotools.py:86
↓ 2 callersFunctionflatten_mask
Returns a completely flattened version of the mask, where nested fields are collapsed. Parameters ---------- mask : array_like
numpy/ma/core.py:1760
↓ 2 callersFunctionflatten_structured_array
Flatten a structured array. The data type of the output is chosen such that it can represent all of the (nested) fields. Parameters
numpy/ma/core.py:2489
↓ 2 callersFunctionfloor_divide
Array API compatible wrapper for :py:func:`np.floor_divide <numpy.floor_divide>`. See its docstring for more information.
numpy/array_api/_elementwise_functions.py:339
↓ 2 callersMethodfrom_data
This is a second way to initialize StructuredVoidFormat, using the raw data as input. Added to avoid changing the signature of __init
numpy/core/arrayprint.py:1379
↓ 2 callersFunctionfromarrays
Create a record array from a (flat) list of arrays Parameters ---------- arrayList : list or tuple List of array-like objects (su
numpy/core/records.py:589
↓ 2 callersFunctionfromrecords
Creates a MaskedRecords from a list of records. Parameters ---------- reclist : sequence A list of records. Each element of
numpy/ma/mrecords.py:547
↓ 2 callersFunctionfromstring
Create an expression from a string. This is a "lazy" parser, that is, only arithmetic operations are resolved, non-arithmetic operations are
numpy/f2py/symbolic.py:1271
↓ 2 callersMethodgen_table
(self, serialized_features, fstyle=None, fstyle_implies=None, **kwargs)
doc/source/reference/simd/gen_features.py:91
↓ 2 callersFunctiongenerate_def
Given a dll file location, get all its exported symbols and dump them into the given def file. The .def file will be overwritten
numpy/distutils/mingw32ccompiler.py:224
↓ 2 callersMethodgenerate_sources
(self, sources, extension)
numpy/distutils/command/build_src.py:344
↓ 2 callersFunctiongenfromtxt
Load data from a text file, with missing values handled as specified. Each line past the first `skip_header` lines is split at the `delimite
numpy/lib/npyio.py:1744
↓ 2 callersMethodgetRoutine
Get a routine from the library. Will add if it's not found.
numpy/linalg/lapack_lite/make_lite.py:133
↓ 2 callersFunctionget_all_dict
Return a copy of the __all__ dict with irrelevant items removed. Parameters ---------- module : ModuleType The module whose
tools/refguide_check.py:235
↓ 2 callersFunctionget_args_and_kwargs
* Helper to convert from vectorcall convention, since the protocol requires * args and kwargs to be passed as tuple and dict explicitly. * We always
numpy/core/src/multiarray/arrayfunction_override.c:213
↓ 2 callersFunctionget_complex_dtype
(dtype)
numpy/linalg/tests/test_linalg.py:56
↓ 2 callersMethodget_cpuinfo_item
(self, magic_key)
numpy/core/tests/test_cpu_features.py:96
↓ 2 callersFunctionget_data
Generates a cached random array that covers several scenarios that may affect the benchmark for fairness and to stabilize the benchmark.
benchmarks/benchmarks/common.py:124
↓ 2 callersFunctionget_data_files
(data)
numpy/distutils/misc_util.py:723
↓ 2 callersFunctionget_datetime_conversion_factor
* Computes the conversion factor to convert data with 'src_meta' metadata * into data with 'dst_meta' metadata. * * If overflow occurs, both out_nu
numpy/core/src/multiarray/datetime.c:1095
↓ 2 callersFunctionget_datetime_iso_8601_strlen
* Provides a string length to use for converting datetime * objects with the given local and unit settings. */
numpy/core/src/multiarray/datetime_strings.c:759
↓ 2 callersFunctionget_dependencies
(sources)
numpy/distutils/misc_util.py:594
↓ 2 callersFunctionget_descr_from_type_and_elsize
numpy/f2py/src/fortranobject.c:105
↓ 2 callersFunctionget_docdir
()
numpy/f2py/tests/test_docs.py:8
↓ 2 callersFunctionget_fields_traverse_function
numpy/core/src/multiarray/dtype_traversal.c:316
↓ 2 callersFunctionget_fieldstructure
Returns a dictionary with fields indexing lists of their parent fields. This function is used to simplify access to fields nested in other f
numpy/lib/recfunctions.py:225
↓ 2 callersFunctionget_implementing_args_and_methods
* Collects arguments with __array_function__ and their corresponding methods * in the order in which they should be tried (i.e., skipping redundant t
numpy/core/src/multiarray/arrayfunction_override.c:72
↓ 2 callersFunctionget_includes
(iline)
numpy/f2py/f2py2e.py:545
↓ 2 callersFunctionget_indexes
()
benchmarks/benchmarks/common.py:88
↓ 2 callersFunctionget_indexes_rand
()
benchmarks/benchmarks/common.py:99
↓ 2 callersFunctionget_info
Return an info dict for a given C library. The info dict contains the necessary options to use the C library. Parameters ----------
numpy/distutils/misc_util.py:2210
↓ 2 callersMethodget_libgfortran_dir
(self)
numpy/distutils/fcompiler/gnu.py:155
↓ 2 callersFunctionget_localtime
* Wraps `localtime` functionality for multiple platforms. This * converts a time value to a time structure in the local timezone. * If size(NPY_TIME
numpy/core/src/multiarray/datetime_strings.c:75
↓ 2 callersFunctionget_mat
(n)
numpy/lib/tests/test_function_base.py:31
↓ 2 callersFunctionget_musllinux
(arch)
tools/openblas_support.py:67
↓ 2 callersFunctionget_nbo_datetime_to_string_transfer_function
numpy/core/src/multiarray/dtype_transfer.c:1053
↓ 2 callersFunctionget_nbo_string_to_datetime_transfer_function
numpy/core/src/multiarray/dtype_transfer.c:1139
↓ 2 callersFunctionget_ndarray_array_function
Return the ndarray.__array_function__ method. */
numpy/core/src/multiarray/arrayfunction_override.c:15
↓ 2 callersFunctionget_object_signature
Get the signature from obj
numpy/ma/core.py:131
↓ 2 callersFunctionget_square
(dtype)
benchmarks/benchmarks/common.py:52
↓ 2 callersFunctionget_square_
(dtype)
benchmarks/benchmarks/common.py:69
↓ 2 callersFunctionget_subarray_traverse_func
numpy/core/src/multiarray/dtype_traversal.c:457
↓ 2 callersMethodget_targets
(self, targets, groups, **kwargs)
numpy/distutils/tests/test_ccompiler_opt.py:100
↓ 2 callersMethodget_tcsds_rootdir
(self)
numpy/distutils/system_info.py:1344
↓ 2 callersFunctionget_temp_module_name
()
numpy/f2py/tests/util.py:64
↓ 2 callersFunctionget_useparameters
(block, param_map=None)
numpy/f2py/crackfortran.py:2002
↓ 2 callersMethodget_version
(self, force=False, ok_status=[0])
numpy/distutils/fcompiler/__init__.py:427
↓ 2 callersFunctiongetargs
Get information about the arguments accepted by a code object. Three things are returned: (args, varargs, varkw), where 'args' is a list of a
numpy/_utils/_inspect.py:65
↓ 2 callersFunctiongetargspec
Get the names and default values of a function's arguments. A tuple of four things is returned: (args, varargs, varkw, defaults). 'args' is a
numpy/_utils/_inspect.py:96
↓ 2 callersFunctiongetauxval
numpy/core/src/common/npy_cpu_features.c:684
↓ 2 callersFunctiongetcallstatement
(rout)
numpy/f2py/auxfuncs.py:673
↓ 2 callersFunctiongetinit
(a, var)
numpy/f2py/capi_maps.py:434
↓ 2 callersFunctiongetuseblocks
(pymod)
numpy/f2py/auxfuncs.py:913
← previousnext →1,901–2,000 of 17,008, ranked by callers