| VectorDMultiply Method (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 Multiply(
double scalar,
VectorD vector
)
Public Shared Function Multiply (
scalar As Double,
vector As VectorD
) As VectorD
public:
static VectorD^ Multiply(
double scalar,
VectorD^ vector
)
static member Multiply :
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