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