Click or drag to resize
DigitalRuneVectorDDivide Method (VectorD, Double)
Divides a vector by a scalar.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static VectorD Divide(
	VectorD vector,
	double scalar
)

Parameters

vector
Type: DigitalRune.Mathematics.AlgebraVectorD
The vector.
scalar
Type: SystemDouble
The scalar.

Return Value

Type: VectorD
The vector with each element divided by scalar.
Exceptions
ExceptionCondition
ArgumentNullExceptionvector is .
See Also