Click or drag to resize
DigitalRuneVectorDMultiply Method (Double, VectorD)
Multiplies 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 Multiply(
	double scalar,
	VectorD vector
)

Parameters

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

Return Value

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