MCPcopy Create free account
hub / github.com/pydata/numexpr / VEC_ARG0

Function VEC_ARG0

code_generators/interp_generator.py:200–211  ·  view source on GitHub ↗
(expr: str)

Source from the content-addressed store, hash-verified

198
199
200def VEC_ARG0(expr: str) -> str:
201 return '''
202{
203 NE_REGISTER store_in = params->program[pc].ret;
204 BOUNDS_CHECK(store_in);
205
206 $DTYPE0 *dest = ($DTYPE0 *)params->registers[store_in].mem;
207
208 VEC_LOOP(expr);
209 return 0;
210}
211'''.replace('VEC_LOOP(expr);', VEC_LOOP(expr))
212
213# We could write a more general function suitable for any number of arguments,
214# but that would make the generator code more opaque

Callers

nothing calls this directly

Calls 1

VEC_LOOPFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…