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