Uses of Class
org.hipparchus.complex.Quaternion
Package
Description
Complex number type and implementations of complex transcendental
functions.
-
Uses of Quaternion in org.hipparchus.complex
Modifier and TypeFieldDescriptionstatic final Quaternion
Quaternion.I
istatic final Quaternion
Quaternion.IDENTITY
Identity quaternion.static final Quaternion
Quaternion.J
jstatic final Quaternion
Quaternion.K
kstatic final Quaternion
Quaternion.ZERO
Zero quaternion.Modifier and TypeMethodDescriptionQuaternion.add
(Quaternion q) Computes the sum of the instance and another quaternion.static Quaternion
Quaternion.add
(Quaternion q1, Quaternion q2) Computes the sum of two quaternions.Quaternion.getConjugate()
Returns the conjugate quaternion of the instance.Quaternion.getInverse()
Returns the inverse of this instance.Quaternion.getPositivePolarForm()
Returns the polar form of the quaternion.Quaternion.multiply
(double alpha) Multiplies the instance by a scalar.Quaternion.multiply
(Quaternion q) Returns the Hamilton product of the instance by a quaternion.static Quaternion
Quaternion.multiply
(Quaternion q1, Quaternion q2) Returns the Hamilton product of two quaternions.Quaternion.normalize()
Computes the normalized quaternion (the versor of the instance).Quaternion.subtract
(Quaternion q) Subtracts a quaternion from the instance.static Quaternion
Quaternion.subtract
(Quaternion q1, Quaternion q2) Subtracts two quaternions.Modifier and TypeMethodDescriptionQuaternion.add
(Quaternion q) Computes the sum of the instance and another quaternion.static Quaternion
Quaternion.add
(Quaternion q1, Quaternion q2) Computes the sum of two quaternions.double
Quaternion.dotProduct
(Quaternion q) Computes the dot-product of the instance by a quaternion.static double
Quaternion.dotProduct
(Quaternion q1, Quaternion q2) Computes the dot-product of two quaternions.boolean
Quaternion.equals
(Quaternion q, double eps) Checks whether this instance is equal to another quaternion within a given tolerance.Quaternion.multiply
(Quaternion q) Returns the Hamilton product of the instance by a quaternion.static Quaternion
Quaternion.multiply
(Quaternion q1, Quaternion q2) Returns the Hamilton product of two quaternions.Quaternion.subtract
(Quaternion q) Subtracts a quaternion from the instance.static Quaternion
Quaternion.subtract
(Quaternion q1, Quaternion q2) Subtracts two quaternions.