class documentation
class TypeDescription: (source)
Type signature for a ufunc.
Method | __init__ |
Undocumented |
Method | finish |
Undocumented |
Instance Variable | astype |
If astype['x'] is 'y', uses PyUFunc_x_x_As_y_y/PyUFunc_xx_x_As_yy_y instead of PyUFunc_x_x/PyUFunc_xx_x. |
Instance Variable | astype |
Undocumented |
Instance Variable | cfunc |
Appended to inner loop C function name, e.g., FLOAT_{cfunc_alias}. See make_arrays. NOTE: it doesn't support 'astype' |
Instance Variable | dispatch |
Dispatch-able source name without its extension '.dispatch.c' that contains the definition of ufunc, dispatched at runtime depending on the specified targets of the dispatch-able source. NOTE: it doesn't support 'astype'... |
Instance Variable | func |
The string representing the expression to insert into the data array, if any. |
Instance Variable | in_ |
The typecode(s) of the inputs. |
Instance Variable | out |
The typecode(s) of the outputs. |
Instance Variable | simd |
Available SIMD ufunc loops, dispatched at runtime in specified order Currently only supported for simples types (see make_arrays) |
Instance Variable | type |
Character representing the nominal type. |
def __init__(self, type, f=None, in_=None, out=None, astype=None, cfunc_alias=None, simd=None, dispatch=None):
(source)
¶
Undocumented
If astype['x'] is 'y', uses PyUFunc_x_x_As_y_y/PyUFunc_xx_x_As_yy_y instead of PyUFunc_x_x/PyUFunc_xx_x.
Appended to inner loop C function name, e.g., FLOAT_{cfunc_alias}. See make_arrays. NOTE: it doesn't support 'astype'
Dispatch-able source name without its extension '.dispatch.c' that contains the definition of ufunc, dispatched at runtime depending on the specified targets of the dispatch-able source. NOTE: it doesn't support 'astype'