Home > @josh-brown/vector > ArrayVector > scalarMultiply
Implements vector multiplication by a scalar
Signature:
scalarMultiply(scalar: S): Vector<S>;
Parameter | Type | Description |
---|---|---|
scalar | S | The scalar by which to multiply |
Returns:
Vector<S>
The product