guardedDivScalarInto

fnsize_t guardedDivScalarInto(T, R, string op)(const(T)[] a, T scalar, bool scalarOnLeft, R[] outValues, ulong[] outGuards) if (isIntegral!T && (op == "/" || op == "%"))

The scalar-operand counterpart of guardedDivInto: a[i] op scalar, or scalar op a[i], with the guard on the divisor of that operand order.

Parameters

Tthe element type (integral)
Rthe result element type (double for `"/"`, T for `"%"`)
op`"/"` or `"%"`
athe Series operand
scalarthe broadcast operand
scalarOnLefttrue for scalar op a[i]
outValuesthe destination, a.length elements
outGuardsthe guard bits, at least packedWords(a.length) words

Returns

the number of guard words written.