kernel!K returns (one type for all numeric kinds).dispatchNumeric
fn
auto dispatchNumeric(alias kernel, Args...)(string opName, DataType dtype,
Args args)The numeric-only counterpart of dispatch: a plain switch over the ten numeric kinds whose default throws, for kernels that only make sense for numbers (BOOLEAN, STRING and the temporal kinds are rejected at runtime with the operation name in the message).
Parameters
kernel | a module-level template with a Kind value parameter |
opName | the operation name for the error message |
dtype | the dtype whose kind selects the instantiation |
args | forwarded by value to the kernel |
Returns
whatever
Throws
DataFrameException when dtype is not numeric.