MCPcopy Create free account

hub / github.com/pydata/numexpr / functions

Functions346 in github.com/pydata/numexpr

↓ 142 callersFunctionis_bit_set
(reg, bit)
numexpr3/cpuinfo.py:578
↓ 36 callersFunction_inline_add
numexpr3/complex_functions.hpp:147
↓ 34 callersFunction_inline_log
numexpr3/complex_functions.hpp:655
↓ 31 callersFunction_get_field
(cant_be_number, raw_string, convert_to, default_value, *field_names)
numexpr3/cpuinfo.py:286
↓ 30 callersFunction_inline_mul
numexpr3/complex_functions.hpp:363
↓ 30 callersFunctionis_set
(bit)
numexpr3/cpuinfo.py:1696
↓ 24 callersFunction_inline_sqrt
RAM: this function branches a lot. Search for a branchless sqrt?
numexpr3/complex_functions.hpp:508
↓ 24 callersFunction_inline_sub
numexpr3/complex_functions.hpp:195
↓ 24 callersMethodcfp
Colored-formatted print
bench/bench.py:201
↓ 21 callersFunctionto_raw_hz
(ticks, scale)
numexpr3/cpuinfo.py:356
↓ 18 callersFunctionto_friendly_hz
(ticks, scale)
numexpr3/cpuinfo.py:324
↓ 16 callersFunction_inline_ipow
This integer power is a use case where templates would result in much less code.
numexpr3/real_functions.hpp:59
↓ 16 callersFunction_inline_muli
RAM: these functions multiply the argument by the imaginary number, j, and they are always used inline.
numexpr3/complex_functions.hpp:927
↓ 14 callersMethod_run_asm
(self, *byte_code)
numexpr3/cpuinfo.py:643
↓ 12 callersFunction_inline_div
The naive complex division function here is not very accurate and sometimes fails the autotest assert. Probably there's something better... https://ar
numexpr3/complex_functions.hpp:437
↓ 12 callersFunction_inline_neg
numexpr3/complex_functions.hpp:243
↓ 12 callersFunctionrun_and_get_stdout
(command, pipe_command=None)
numexpr3/cpuinfo.py:238
↓ 11 callersFunctionCopyNewFields
(info, new_info)
numexpr3/cpuinfo.py:1820
↓ 10 callersFunctionlog1p
numexpr3/missing_posix_functions.hpp:19
↓ 10 callersFunctionto_hz_string
(ticks)
numexpr3/cpuinfo.py:368
↓ 9 callersFunctionprogram_paths
(program_name)
numexpr3/cpuinfo.py:255
↓ 8 callersMethod_newTemp
Either creates a new temporary register, or if possible re-uses an old one. * :code:`'dchar'` is the :code:`ndarray.dtype.c
numexpr3/ne3compiler.py:658
↓ 8 callersFunctionto_friendly_bytes
(input)
numexpr3/cpuinfo.py:385
↓ 7 callersFunction_get_hz_string_from_brand
(processor_brand)
numexpr3/cpuinfo.py:302
↓ 7 callersMethodrun
:code:`run()` is typicall called with keyword arguments as the order of args is based on the Abstract Syntax Tree parse and may be
numexpr3/ne3compiler.py:564
↓ 6 callersFunction_inline_exp
numexpr3/complex_functions.hpp:737
↓ 6 callersFunctionlocalpath
(*args)
setup.py:202
↓ 5 callersMethod_releaseTemp
Free a temporary. This should not release named temporaries, the user may re-use them at any point in the program.
numexpr3/ne3compiler.py:709
↓ 5 callersFunctionparse_arch
(raw_arch_string)
numexpr3/cpuinfo.py:540
↓ 5 callersFunctionpthread_cond_broadcast
* DOUBLY IMPORTANT: This implementation requires that pthread_cond_broadcast * is called while the mutex is held that is used in the corresponding *
numexpr3/win32/pthread.c:189
↓ 4 callersFunctionVEC_LOOP
(expr: str)
code_generators/interp_generator.py:175
↓ 4 callersFunction_return_mul
_return_ variants are for use inside ternary operator
numexpr3/complex_functions.hpp:377
↓ 4 callersFunctiondebug
(instring)
setup.py:205
↓ 4 callersFunctionpthread_cond_wait
numexpr3/win32/pthread.c:110
↓ 3 callersFunctionARG
(num: int, index:str='J')
code_generators/interp_generator.py:160
↓ 3 callersFunctionARG_STRIDE
(num: int, index: str='J')
code_generators/interp_generator.py:163
↓ 3 callersFunctionNPYENUM_from_dchar
numexpr3/interpreter.cpp:51
↓ 3 callersFunctionSTRIDED_LOOP
(expr: str)
code_generators/interp_generator.py:183
↓ 3 callersMethod_asm_func
(self, restype=None, argtypes=(), byte_code=[])
numexpr3/cpuinfo.py:598
↓ 3 callersMethod_cast2
Search for a valid 'safe' cast between two registers, such as in a binomial operation. If one of the registers is a constant scalar
numexpr3/ne3compiler.py:826
↓ 3 callersMethod_one_eax
(self)
numexpr3/cpuinfo.py:684
↓ 3 callersMethod_zero_eax
(self)
numexpr3/cpuinfo.py:674
↓ 3 callersFunctionnumexpr_set_tempsize
numexpr3/module.cpp:291
↓ 3 callersFunctionobj_to_b64
(thing)
numexpr3/cpuinfo.py:223
↓ 3 callersFunctionprepareThreads
This function prepares the pointers towards the temporary memory block, and the NumExprObjects used by threads. Replacement for get_temps_space() and
numexpr3/interpreter.cpp:144
↓ 3 callersFunctionvm_engine_iter_task
Serial/parallel task iterator version of the VM engine
numexpr3/interpreter.cpp:245
↓ 2 callersFunctionDEST
(index: str='J')
code_generators/interp_generator.py:152
↓ 2 callersFunction_binop
AST function factory for binomial operations, such as :code:`+,-,*,` etc. ast.Binop fields are :code:`(left,op,right)`
numexpr3/ne3compiler.py:1236
↓ 2 callersMethod_copy
A copy operation. Can happen with trival ops such as :code:`NumExpr('x=a')`.
numexpr3/ne3compiler.py:779
↓ 2 callersFunction_mutate_last
Used for logic control for final assignment targets. Assignment targets can be an ast.Name or ast.Attribute There's a few-ish cases:
numexpr3/ne3compiler.py:1012
↓ 2 callersFunction_parse_dmesg_output
(output)
numexpr3/cpuinfo.py:449
↓ 2 callersFunction_return_div
numexpr3/complex_functions.hpp:453
↓ 2 callersMethod_transmit1
The function checks the inputReg (the register in which the result of the previous operation is held), and returns an outputReg wher
numexpr3/ne3compiler.py:716
↓ 2 callersMethod_transmit2
The function checks the inputReg (the register in which the result of the previous operation is held), and returns an outputReg wher
numexpr3/ne3compiler.py:732
↓ 2 callersFunctioncritical_factorization
Perform a critical factorization of NEEDLE, of length NEEDLE_LEN. Return the index of the first byte in the right half, and set *PERIOD to the g
numexpr3/string_functions.hpp:118
↓ 2 callersFunctiondie
numexpr3/win32/pthread.c:40
↓ 2 callersMethodget_ticks
(self)
numexpr3/cpuinfo.py:1038
↓ 2 callersMethodload
Load the wisdom from a file on disk (or otherwise file-like object). wisdomFile should support the :code:`io.IOBase` or similar inte
numexpr3/ne3compiler.py:1482
↓ 2 callersFunctionnumexpr_set_nthreads
numexpr3/module.cpp:209
↓ 2 callersFunctionrun_generator
( blocksize=(4096,32), mkl=False, C11=True )
setup.py:109
↓ 2 callersFunctionsuite
()
numexpr3/tests/test_numexpr.py:761
↓ 1 callersFunctionCastFactory
Builds all the possible cast operations. Currently all casts are based on the numpy framework. I'm unaware of any potential competiting stan
code_generators/interp_generator.py:848
↓ 1 callersFunctionEXPR
`EXPR` is the core function use by the code generator to generate C-functions. It encapsulates the expression to execute by the virtual machi
code_generators/interp_generator.py:521
↓ 1 callersFunctionFunctionFactory
Functions are declinated from operations in cases where the name of the function might change with the library and the dtype. Therefore whe
code_generators/interp_generator.py:1072
↓ 1 callersFunctionOpsFactory
For anything that doesn't need special function handling.
code_generators/interp_generator.py:930
↓ 1 callersMethod__init__
(self, num, name, ref, dchar, kind, itemsize=0)
numexpr3/ne3compiler.py:155
↓ 1 callersMethod__str__
(self)
numexpr3/ne3compiler.py:192
↓ 1 callersMethod_assemble
NumExpr._assemble() is always called by __init__().
numexpr3/ne3compiler.py:468
↓ 1 callersFunction_detect_ncores
Check for number of cores.
numexpr3/utils.py:22
↓ 1 callersFunction_detect_nthreads
Detect number of threads, if set in an environment variable.
numexpr3/utils.py:41
↓ 1 callersMethod_func_cast
A helper cast for functions called with integer arguments but where only floating-point versions exist. Example:: a =
numexpr3/ne3compiler.py:791
↓ 1 callersFunction_get_cpu_info_from_cat_var_run_dmesg_boot
Returns the CPU info gathered from /var/run/dmesg.boot. Returns {} if dmesg is not found or does not have the desired info.
numexpr3/cpuinfo.py:1535
↓ 1 callersFunction_get_cpu_info_from_cpufreq_info
Returns the CPU info gathered from cpufreq-info. Returns {} if cpufreq-info is not found.
numexpr3/cpuinfo.py:1278
↓ 1 callersFunction_get_cpu_info_from_cpuid
Returns the CPU info gathered by querying the X86 cpuid register in a new process. Returns {} on non X86 cpus. Returns {} if SELinux is in enforci
numexpr3/cpuinfo.py:1162
↓ 1 callersFunction_get_cpu_info_from_dmesg
Returns the CPU info gathered from dmesg. Returns {} if dmesg is not found or does not have the desired info.
numexpr3/cpuinfo.py:1395
↓ 1 callersFunction_get_cpu_info_from_ibm_pa_features
Returns the CPU info gathered from lsprop /proc/device-tree/cpus/*/ibm,pa-features Returns {} if lsprop is not found or ibm,pa-features does not ha
numexpr3/cpuinfo.py:1414
↓ 1 callersFunction_get_cpu_info_from_kstat
Returns the CPU info gathered from isainfo and kstat. Returns {} if isainfo or kstat are not found.
numexpr3/cpuinfo.py:1760
↓ 1 callersFunction_get_cpu_info_from_lscpu
Returns the CPU info gathered from lscpu. Returns {} if lscpu is not found.
numexpr3/cpuinfo.py:1318
↓ 1 callersFunction_get_cpu_info_from_proc_cpuinfo
Returns the CPU info gathered from /proc/cpuinfo. Returns {} if /proc/cpuinfo is not found.
numexpr3/cpuinfo.py:1205
↓ 1 callersFunction_get_cpu_info_from_registry
FIXME: Is missing many of the newer CPU flags like sse3 Returns the CPU info gathered from the Windows Registry. Returns {} if not on Windows.
numexpr3/cpuinfo.py:1665
↓ 1 callersFunction_get_cpu_info_from_sysctl
Returns the CPU info gathered from sysctl. Returns {} if sysctl is not found.
numexpr3/cpuinfo.py:1552
↓ 1 callersFunction_get_cpu_info_from_sysinfo
Returns the CPU info gathered from sysinfo. Returns {} if sysinfo is not found.
numexpr3/cpuinfo.py:1608
↓ 1 callersFunction_get_field_actual
(cant_be_number, raw_string, field_names)
numexpr3/cpuinfo.py:269
↓ 1 callersFunction_mutate
Used for intermediate assignment targets. This takes the valueReg and mutates targetReg into it. Cases: 1. targetReg is KIND_ARRA
numexpr3/ne3compiler.py:947
↓ 1 callersFunction_parse_cpu_string
(cpu_string)
numexpr3/cpuinfo.py:403
↓ 1 callersFunction_real_imag
This AST function handler builds :code:`_call()` program steps for the use of attribute-like access. There is currently no difference b
numexpr3/ne3compiler.py:1207
↓ 1 callersMethod_transmit3
The function checks the inputReg (the register in which the result of the previous operation is held), and returns an outputReg wher
numexpr3/ne3compiler.py:753
↓ 1 callersFunctionacosh
numexpr3/missing_posix_functions.hpp:61
↓ 1 callersFunctionacoshf
numexpr3/missing_posix_functions.hpp:92
↓ 1 callersFunctionasinh
numexpr3/missing_posix_functions.hpp:41
↓ 1 callersFunctionasinhf
numexpr3/missing_posix_functions.hpp:87
↓ 1 callersFunctionatanh
numexpr3/missing_posix_functions.hpp:66
↓ 1 callersFunctionatanhf
numexpr3/missing_posix_functions.hpp:97
↓ 1 callersFunctionb64_to_obj
(thing)
numexpr3/cpuinfo.py:230
↓ 1 callersFunctionbench
(expr, arrSizes, dtypes, N_threads=4, tries=5)
bench/ne3vsne2.py:19
↓ 1 callersMethodbuild
(self)
code_generators/interp_generator.py:689
↓ 1 callersMethodcat_proc_cpuinfo
()
numexpr3/cpuinfo.py:138
↓ 1 callersMethodcat_var_run_dmesg_boot
()
numexpr3/cpuinfo.py:158
↓ 1 callersMethodcpufreq_info
()
numexpr3/cpuinfo.py:142
↓ 1 callersMethoddmesg_a
()
numexpr3/cpuinfo.py:154
next →1–100 of 346, ranked by callers