| QuaternionFModulus Property |
Returns the modulus (length).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public float Modulus { get; }
Public ReadOnly Property Modulus As Single
Get
public:
property float Modulus {
float get ();
}
member Modulus : float32 with get
Property Value
Type:
SingleThe 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