negateInto

fnvoid negateInto(T)(const(T)[] a, T[] outValues) if (isNumeric!T)

Computes outValues[i] = -a[i] densely (wrap-around on integers).

Parameters

Tthe element type (numeric)
athe operand
outValuesthe destination, a.length elements