| VectorDMultiply Operator (VectorD, Double) |
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 *(
VectorD vector,
double scalar
)
Public Shared Operator * (
vector As VectorD,
scalar As Double
) As VectorD
public:
static VectorD^ operator *(
VectorD^ vector,
double scalar
)
static let inline (*)
vector : VectorD *
scalar : float : VectorD
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVectorD
The vector. - scalar
- Type: SystemDouble
The scalar.
Return Value
Type:
VectorDThe vector with each element multiplied by scalar.
Exceptions See Also