multiplyByScalar
Multiplies the provided Cartesian componentwise by the provided scalar.
Return
The modified result parameter.
Parameters
cartesian
The Cartesian to be scaled.
scalar
The scalar to multiply with.
result
The object onto which to store the result.