Calculates the scalar multiplication of an array.
The array
The scalar
const result = Chalkboard.stat.scl([1, 2, 3], 3); // Returns [3, 6, 9] Copy
const result = Chalkboard.stat.scl([1, 2, 3], 3); // Returns [3, 6, 9]
Calculates the scalar multiplication of an array.