arithScalarLoop
private fn
void arithScalarLoop(T, string op)(const(T)[] a, T scalar,
bool scalarOnLeft, T[] outValues) @safe pure nothrowThe scalar fallback loop of arithScalarInto: D's arithmetic semantics against a broadcast scalar, element by element.
Parameters
T | the element type (numeric) |
op | the arithmetic operator text |
a | the operand run |
scalar | the broadcast operand |
scalarOnLeft | true for scalar op a[i] |
outValues | the destination run |