Click or drag to resize
DigitalRuneVectorFMultiply Method (Single, VectorF)
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 VectorF Multiply(
	float scalar,
	VectorF vector
)

Parameters

scalar
Type: SystemSingle
The scalar.
vector
Type: DigitalRune.Mathematics.AlgebraVectorF
The vector.

Return Value

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