Modify each component of a vector with given function.
Vector to modify
Function used to modify component
Target for storing the results (Default: a)
Vector with modified values
modify([1.12, 1.55], Math.round, new Array(2)); // Returns: [1, 2] Copy
modify([1.12, 1.55], Math.round, new Array(2)); // Returns: [1, 2]
Generated using TypeDoc
Modify each component of a vector with given function.