Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pydata/numexpr
/ functions
Functions
346 in github.com/pydata/numexpr
⨍
Functions
346
◇
Types & classes
23
↳
Endpoints
1
Function
_assign_last
AST function handler for the last assignment in a statement block. Promotes output magically if it has not been pre-allocated.
numexpr3/ne3compiler.py:916
Function
_attribute
AST factory function for attributes, such as :code:`numpy.pi`. Other than the attribute handle these are always treated similar to :cod
numexpr3/ne3compiler.py:1158
Function
_boolop
The equivalent AST factory for :code:`ast.Boolop` nodes to :code:`_binop`. :code:`ast.Boolop` nodes typically represent bitshift, bitand, and
numexpr3/ne3compiler.py:1360
Function
_call
AST function factory for a callable, for one to three arguments. One-function arguments are typical, they may take many forms such as ca
numexpr3/ne3compiler.py:1272
Method
_cast3
_cast3 isn't called by where/tenary so no need for an implementation at present.
numexpr3/ne3compiler.py:886
Function
_check_arch
()
numexpr3/cpuinfo.py:1887
Function
_compare
The equivalent AST factory for :code:`ast.Compare` nodes to :code:`_binop`. :code:`ast.Compare` node fields are :code:`(left,ops,comparators
numexpr3/ne3compiler.py:1339
Function
_const
AST factory function for building scalar constants from numbers or string literals parsed by the AST. The constants are stored and cas
numexpr3/ne3compiler.py:1124
Function
_expression
(self: NumExpr, node: ast.AST)
numexpr3/ne3compiler.py:930
Function
_expression_last
The statement block can end without an assignment, in which case the output is implicitly allocated and returned.
numexpr3/ne3compiler.py:933
Function
_list
Parse a list literal into a numpy.array e.g. :code:`ne3.NumExpr( 'a < [1,2,3]' )` Only numbers are supported at present. Mixing floats
numexpr3/ne3compiler.py:1398
Function
_name
AST factory function for NumReg registers from variable names parsed by the AST. Handles three cases: 1. node.id is already in namesR
numexpr3/ne3compiler.py:1075
Function
_unaryop
Currently only :code:`ast.USub`, i.e. the negation operation :code:`'-a', is supported, and the :code:`node.operand` is the value acted upon
numexpr3/ne3compiler.py:1376
Function
_unsupported
(self: NumExpr, node: ast.AST)
numexpr3/ne3compiler.py:1413
Function
acosf2
numexpr3/msvc_function_stubs.hpp:78
Function
acoshf2
numexpr3/msvc_function_stubs.hpp:102
Function
asinf2
numexpr3/msvc_function_stubs.hpp:74
Function
asinhf2
numexpr3/msvc_function_stubs.hpp:98
Function
atan2f2
numexpr3/msvc_function_stubs.hpp:138
Function
atanf2
numexpr3/msvc_function_stubs.hpp:82
Function
atanhf2
numexpr3/msvc_function_stubs.hpp:106
Function
bench
bench/suite.py:66
Method
build_extension
(self, ext)
setup.py:329
Function
case1_ne2
(x1, x2)
bench/bench.py:227
Function
case1_numba
(x1, x2)
bench/bench.py:232
Function
case1_numpy
(x1, x2)
bench/bench.py:224
Method
complex64_func
(a, b)
numexpr3/tests/test_numexpr.py:218
Method
complex_func
(a, b)
numexpr3/tests/test_numexpr.py:233
Function
configuration
()
setup.py:210
Function
cosf2
numexpr3/msvc_function_stubs.hpp:66
Function
coshf2
numexpr3/msvc_function_stubs.hpp:90
Function
debug
(text)
numexpr3/ne3compiler.py:41
Method
disassemble
Prints a formatted representation of the program and registers for debugging purposes.
numexpr3/ne3compiler.py:512
Function
evaluate
Evaluate a mutli-line expression element-wise, using NumPy broadcasting rules. This function is provided as a convience for porting code fro
numexpr3/ne3compiler.py:212
Function
expf2
numexpr3/msvc_function_stubs.hpp:122
Function
expm1f2
numexpr3/msvc_function_stubs.hpp:126
Function
fabsf2
numexpr3/msvc_function_stubs.hpp:130
Function
fconj
Needed for allowing the internal casting in numexpr machinery for conjugate operations RAM: What this comment means is if the user calls conj(x) on a
numexpr3/complex_functions.hpp:331
Function
fconjf2
Needed for allowing the internal casting in numexpr machinery for conjugate operations
numexpr3/msvc_function_stubs.hpp:144
Method
find_modules
(self)
setup.py:192
Method
find_package_modules
(self, package, package_dir)
setup.py:183
Function
finishThreads
numexpr3/interpreter.cpp:231
Function
fmodf2
numexpr3/msvc_function_stubs.hpp:134
Function
future_worker
Multiprocessing cannot deal with bound methods, as they aren't pickleable.
numexpr3/tests/test_numexpr.py:678
Function
get_cpu_info
Returns the CPU info by using the best sources of information for your OS. Returns {} if nothing is found.
numexpr3/cpuinfo.py:1834
Function
get_ncores
()
numexpr3/utils.py:83
Function
get_nthreads
Get the number of threads currently being used by the virtual machine.
numexpr3/utils.py:64
Function
get_reduction_axis
TODO: refactor get_reduction_axis
numexpr3/interpreter.cpp:93
Method
global_state
numexpr3/module.hpp:84
Function
hypotf2
RAM: hypotf was also missing
numexpr3/msvc_function_stubs.hpp:54
Function
info
(text)
numexpr3/ne3compiler.py:37
Method
initZeros
(self)
bench/bench.py:44
Function
log10f2
numexpr3/msvc_function_stubs.hpp:118
Function
log1pf2
numexpr3/msvc_function_stubs.hpp:114
Function
logf2
numexpr3/msvc_function_stubs.hpp:110
Function
nc_abs
numexpr3/complex_functions.hpp:591
Function
nc_abs2
numexpr3/complex_functions.hpp:623
Function
nc_acos
numexpr3/complex_functions.hpp:941
Function
nc_acosh
numexpr3/complex_functions.hpp:1007
Function
nc_add
numexpr3/complex_functions.hpp:161
Function
nc_angle
numexpr3/complex_functions.hpp:1635
Function
nc_asin
numexpr3/complex_functions.hpp:1069
Function
nc_asinh
numexpr3/complex_functions.hpp:1131
Function
nc_atan
numexpr3/complex_functions.hpp:1185
Function
nc_atanh
numexpr3/complex_functions.hpp:1235
Function
nc_complex
numexpr3/complex_functions.hpp:109
Function
nc_conj
numexpr3/complex_functions.hpp:289
Function
nc_cos
numexpr3/complex_functions.hpp:1290
Function
nc_cosh
numexpr3/complex_functions.hpp:1326
Function
nc_crosspower
RAM: cross-power-spectrum (for Phase Correlation). https://en.wikipedia.org/wiki/Phase_correlation
numexpr3/complex_functions.hpp:1672
Function
nc_div
numexpr3/complex_functions.hpp:473
Function
nc_exp
numexpr3/complex_functions.hpp:753
Function
nc_expm1
numexpr3/complex_functions.hpp:786
Function
nc_imag
numexpr3/complex_functions.hpp:77
Function
nc_log
numexpr3/complex_functions.hpp:669
Function
nc_log10
numexpr3/complex_functions.hpp:1365
Function
nc_log1p
numexpr3/complex_functions.hpp:701
Function
nc_mul
numexpr3/complex_functions.hpp:395
Function
nc_neg
numexpr3/complex_functions.hpp:257
Function
nc_pow
RAM: algorithm branches, and is really not designed for a modern CPU... TODO: we should be able to branch the exp>-100 && exp<100 test before the for
numexpr3/complex_functions.hpp:833
Function
nc_real
numexpr3/complex_functions.hpp:44
Function
nc_sin
numexpr3/complex_functions.hpp:1405
Function
nc_sinh
numexpr3/complex_functions.hpp:1441
Function
nc_sqrt
numexpr3/complex_functions.hpp:558
Function
nc_sub
numexpr3/complex_functions.hpp:209
Function
nc_tan
numexpr3/complex_functions.hpp:1477
Function
nc_tanh
numexpr3/complex_functions.hpp:1556
Function
nr_heaviside
numexpr3/real_functions.hpp:405
Function
nr_int_pow
numexpr3/real_functions.hpp:187
Function
nr_logaddexp
logaddexp
numexpr3/real_functions.hpp:316
Function
print_info
Print software versions that NumExpr imports and CPU information.
numexpr3/utils.py:132
Function
pthread_cond_destroy
numexpr3/win32/pthread.c:102
Function
pthread_cond_signal
* IMPORTANT: This implementation requires that pthread_cond_signal * is called while the mutex is held that is used in the corresponding * pthread_c
numexpr3/win32/pthread.c:166
Method
run
(self)
setup.py:177
Function
save
To save namedtuples, convert them to ``dict`` objects via ``namedtuple._asdict()`` before serializing as JSON? They are saved without field n
bench/suite.py:82
Method
setUp
(self, N_threads=1, ssize=SMALL_SIZE)
numexpr3/tests/test_numexpr.py:40
Method
setUp
(self, N_threads=-1, ssize=LARGE_SIZE)
numexpr3/tests/test_numexpr.py:299
Method
setUp
(self, N_threads=1, ssize=SMALL_SIZE)
numexpr3/tests/test_numexpr.py:308
Method
setUp
(self)
numexpr3/tests/autotest_stub.py:23
Function
set_nthreads
Sets a number of threads to be used in operations. Generally speaking one should use >= the number of physical cores. NumExpr does not benef
numexpr3/utils.py:70
← previous
next →
201–300 of 346, ranked by callers