| Vector2DDivide Method (Vector2D, Double) |
Divides 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 Divide(
Vector2D vector,
double scalar
)
Public Shared Function Divide (
vector As Vector2D,
scalar As Double
) As Vector2D
public:
static Vector2D Divide(
Vector2D vector,
double scalar
)
static member Divide :
vector : Vector2D *
scalar : float -> Vector2D
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector2D
The vector. - scalar
- Type: SystemDouble
The scalar.
Return Value
Type:
Vector2DThe vector with each component divided by
scalar.
See Also