Click or drag to resize
DigitalRuneQuaternionFModulus Property
Returns the modulus (length).

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public float Modulus { get; }

Property Value

Type: Single
The modulus (length).
Remarks

The modulus is also known as the magnitude or simply the length of a quaternion. It is calculated with the following formula:

|| q || = Sqrt(w2 + x2 + y2 + z2)

See Also