Calculates the scalar multiplication of a vector.
The vector
The scalar
// Returns (3, 6, 9)const v = Chalkboard.vect.scl(Chalkboard.vect.init(1, 2, 3), 3); Copy
// Returns (3, 6, 9)const v = Chalkboard.vect.scl(Chalkboard.vect.init(1, 2, 3), 3);
Calculates the scalar multiplication of a vector.