Package | Description |
---|---|
org.apache.commons.math3.complex |
Complex number type and implementations of complex transcendental
functions.
|
Modifier and Type | Field and Description |
---|---|
static Quaternion |
Quaternion.I
i
|
static Quaternion |
Quaternion.IDENTITY
Identity quaternion.
|
static Quaternion |
Quaternion.J
j
|
static Quaternion |
Quaternion.K
k
|
static Quaternion |
Quaternion.ZERO
Zero quaternion.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.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 |
Quaternion.getConjugate()
Returns the conjugate quaternion of the instance.
|
Quaternion |
Quaternion.getInverse()
Returns the inverse of this instance.
|
Quaternion |
Quaternion.getPositivePolarForm()
Returns the polar form of the quaternion.
|
Quaternion |
Quaternion.multiply(double alpha)
Multiplies the instance by a scalar.
|
Quaternion |
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 |
Quaternion.normalize()
Computes the normalized quaternion (the versor of the instance).
|
Quaternion |
Quaternion.subtract(Quaternion q)
Subtracts a quaternion from the instance.
|
static Quaternion |
Quaternion.subtract(Quaternion q1,
Quaternion q2)
Subtracts two quaternions.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.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 |
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 |
Quaternion.subtract(Quaternion q)
Subtracts a quaternion from the instance.
|
static Quaternion |
Quaternion.subtract(Quaternion q1,
Quaternion q2)
Subtracts two quaternions.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.