class documentation

class TypeDescription: (source)

View In Hierarchy

Type signature for a ufunc.

Method __init__ Undocumented
Method finish_signature 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_dict Undocumented
Instance Variable cfunc_alias 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_data 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

def finish_signature(self, nin, nout): (source)

Undocumented

astype: dict or None, optional = (source)

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.

astype_dict = (source)

Undocumented

cfunc_alias: str or none, optional = (source)

Appended to inner loop C function name, e.g., FLOAT_{cfunc_alias}. See make_arrays. NOTE: it doesn't support 'astype'

dispatch: str or None, optional = (source)

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'

func_data: str or None or FullTypeDescr or FuncNameSuffix, optional = (source)

The string representing the expression to insert into the data array, if any.

in_: str or None, optional = (source)

The typecode(s) of the inputs.

out: str or None, optional = (source)

The typecode(s) of the outputs.

Available SIMD ufunc loops, dispatched at runtime in specified order Currently only supported for simples types (see make_arrays)

Character representing the nominal type.