| VectorFMultiply Operator (Single, VectorF) |
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 VectorF operator *(
float scalar,
VectorF vector
)
Public Shared Operator * (
scalar As Single,
vector As VectorF
) As VectorF
public:
static VectorF^ operator *(
float scalar,
VectorF^ vector
)
static let inline (*)
scalar : float32 *
vector : VectorF : VectorF
Parameters
- scalar
- Type: SystemSingle
The scalar. - vector
- Type: DigitalRune.Mathematics.AlgebraVectorF
The vector.
Return Value
Type:
VectorFThe vector with each element multiplied by
scalar.
Exceptions See Also