arithScalarInto
fn
void arithScalarInto(T, string op)(const(T)[] a, T scalar,
bool scalarOnLeft, T[] outValues) if (isNumeric!T && isOp!op)Computes outValues[i] for a[i] op scalar (or scalar op a[i]), densely, with D's arithmetic semantics.
Parameters
T | the element type (numeric) |
op | one of `"+"`, `"-"`, `"*"`, `"/"`, `"%"` (the last two require a floating T; the integer variants are guardedDivScalarInto) |
a | the Series operand |
scalar | the broadcast operand |
scalarOnLeft | true for scalar op a[i] |
outValues | the destination, a.length elements |