| VectorDDivide Method (VectorD, 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 VectorD Divide(
VectorD vector,
double scalar
)
Public Shared Function Divide (
vector As VectorD,
scalar As Double
) As VectorD
public:
static VectorD^ Divide(
VectorD^ vector,
double scalar
)
static member Divide :
vector : VectorD *
scalar : float -> VectorD
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVectorD
The vector. - scalar
- Type: SystemDouble
The scalar.
Return Value
Type:
VectorDThe vector with each element divided by
scalar.
Exceptions See Also