| VectorDMultiply Operator (Double, VectorD) |
Multiplies a vector by a scalar.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static VectorD operator *(
double scalar,
VectorD vector
)
Public Shared Operator * (
scalar As Double,
vector As VectorD
) As VectorD
public:
static VectorD^ operator *(
double scalar,
VectorD^ vector
)
static let inline (*)
scalar : float *
vector : VectorD : VectorD
Parameters
- scalar
- Type: SystemDouble
The scalar. - vector
- Type: DigitalRune.Mathematics.AlgebraVectorD
The vector.
Return Value
Type:
VectorDThe vector with each element multiplied by
scalar.
Exceptions See Also