The complex number, matrix, quaternion, tensor, or vector
The callback function to apply
// Returns the vector (1, 2, 6, 24)
let v = Chalkboard.vect.init(1, 2, 3, 4);
let factorialv = Chalkboard.APPLY(v, (x) => {
return Chalkboard.numb.factorial(x)
});
Generated using TypeDoc
Applies a callback function in an element-wise manner on a complex number, matrix, quaternion, tensor, or vector.