arithScalarInto

fnvoid 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

Tthe element type (numeric)
opone of `"+"`, `"-"`, `"*"`, `"/"`, `"%"` (the last two require a floating T; the integer variants are guardedDivScalarInto)
athe Series operand
scalarthe broadcast operand
scalarOnLefttrue for scalar op a[i]
outValuesthe destination, a.length elements