| Vector2DMultiply Operator (Double, Vector2D) |
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 Vector2D operator *(
double scalar,
Vector2D vector
)
Public Shared Operator * (
scalar As Double,
vector As Vector2D
) As Vector2D
public:
static Vector2D operator *(
double scalar,
Vector2D vector
)
static let inline (*)
scalar : float *
vector : Vector2D : Vector2D
Parameters
- scalar
- Type: SystemDouble
The scalar. - vector
- Type: DigitalRune.Mathematics.AlgebraVector2D
The vector.
Return Value
Type:
Vector2DThe vector with each component multiplied by
scalar.
See Also