|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Quaternion in ca.uwaterloo.alumni.dwharder.Numbers |
---|
Fields in ca.uwaterloo.alumni.dwharder.Numbers declared as Quaternion | |
---|---|
static Quaternion |
Quaternion.I
The constant i. |
static Quaternion |
Quaternion.J
The constant j. |
static Quaternion |
Quaternion.K
The constant k. |
static Quaternion |
Quaternion.NaN
The constant NaN + iNaN + jNaN + kNaN. |
static Quaternion |
Quaternion.ONE
The constant 1. |
static Quaternion |
Quaternion.ZERO
The constant 0. |
Methods in ca.uwaterloo.alumni.dwharder.Numbers that return Quaternion | |
---|---|
Quaternion |
Quaternion.acos()
Returns the principal inverse cosine of this quaternion q. |
Quaternion |
Quaternion.acos(Quaternion u)
Returns the principal inverse cosine of this quaternion q. |
Quaternion |
Quaternion.acosh()
Returns the principal inverse hyperbolic cosine of this quaternion q. |
Quaternion |
Quaternion.acosh(Quaternion u)
Returns the principal inverse hyperbolic cosine of this quaternion q. |
Quaternion |
Quaternion.acot()
Returns the principal inverse cotangent of this quaternion q. |
Quaternion |
Quaternion.acot(Quaternion u)
Returns the principal inverse cotangent of this quaternion q. |
Quaternion |
Quaternion.acoth()
Returns the principal inverse hyperbolic cotangent of this quaternion q. |
Quaternion |
Quaternion.acoth(Quaternion u)
Returns the principal inverse hyperbolic cotangent of this quaternion q. |
Quaternion |
Quaternion.acsc()
Returns the principal inverse cosecant of this quaternion q. |
Quaternion |
Quaternion.acsc(Quaternion u)
Returns the principal inverse cosecant of this quaternion q. |
Quaternion |
Quaternion.acsch()
Returns the principal inverse hyperbolic cosecant of this quaternion q. |
Quaternion |
Quaternion.acsch(Quaternion u)
Returns the principal inverse hyperbolic cosecant of this quaternion q. |
Quaternion |
Quaternion.add(double x)
Returns the sum of this quaternion q and the real number x. |
Quaternion |
Quaternion.add(int n,
double x)
Returns this quaternion q with x added onto its nth term. |
Quaternion |
Quaternion.add(Quaternion r)
Returns the sum of this quaternion q and the quaternion r = e + if + jg + kh. |
Quaternion |
Quaternion.addI(double x)
Returns the sum of this quaternion q and the imaginary number ix. |
Quaternion |
Quaternion.addJ(double x)
Returns the sum of this quaternion q and the imaginary number jx. |
Quaternion |
Quaternion.addK(double x)
Returns the sum of this quaternion q and the imaginary number kx. |
Quaternion |
Quaternion.asec()
Returns the principal inverse secant of this quaternion q. |
Quaternion |
Quaternion.asec(Quaternion u)
Returns the principal inverse secant of this quaternion q. |
Quaternion |
Quaternion.asech()
Returns the principal inverse hyperbolic secant of this quaternion q. |
Quaternion |
Quaternion.asech(Quaternion u)
Returns the principal inverse hyperbolic secant of this quaternion q. |
Quaternion |
Quaternion.asin()
Returns the principal inverse sine of this quaternion q. |
Quaternion |
Quaternion.asin(Quaternion u)
Returns the principal inverse sine of this quaternion q. |
Quaternion |
Quaternion.asinh()
Returns the principal inverse hyperbolic sine of this quaternion q. |
Quaternion |
Quaternion.asinh(Quaternion u)
Returns the principal inverse hyperbolic sine of this quaternion q. |
Quaternion |
Quaternion.atan()
Returns the principal inverse tangent of this quaternion q. |
Quaternion |
Quaternion.atan(Quaternion u)
Returns the principal inverse tangent of this quaternion q. |
Quaternion |
Quaternion.atanh()
Returns the principal inverse hyperbolic tangent of this quaternion q. |
Quaternion |
Quaternion.atanh(Quaternion u)
Returns the principal inverse hyperbolic tangent of this quaternion q. |
Quaternion |
Quaternion.ceil()
Returns the ceiling of each of the coefficients of this quaternion q. |
Quaternion |
Quaternion.conjugate()
Returns the conjugate of this quaternion q. |
Quaternion |
Quaternion.cos()
Returns the cosine of this quaternion q. |
Quaternion |
Quaternion.cosh()
Returns the hyperbolic cosine of this quaternion q. |
Quaternion |
Quaternion.cot()
Returns the cotangent of this quaternion q. |
Quaternion |
Quaternion.coth()
Returns the hyperbolic cotangent of this quaternion q. |
Quaternion |
Quaternion.csc()
Returns the cosecant of this quaternion q. |
Quaternion |
Quaternion.csch()
Returns the hyperbolic cosecant of this quaternion q. |
Quaternion |
Quaternion.divide(Quaternion r)
Returns the quotient of this quaternion q over the quaternion r = e + if + jg + kh. |
Quaternion |
Quaternion.exp()
Returns Euler's number (e) raised to the power of this quaternion q. |
Quaternion |
Quaternion.floor()
Returns the floor of each of the coefficients of this quaternion q. |
Quaternion |
Quaternion.horner(double[] v)
Evaluate the polynomial with real coefficients, given by the array of doubles v, at this quaternion q. |
Quaternion |
Quaternion.imag()
Returns the imaginary part of this quaternion q. |
Quaternion |
Quaternion.log()
Returns the natural logarithm of this quaternion q. |
Quaternion |
Quaternion.log(Quaternion u)
Returns the natural logarithm of this quaternion q. |
Quaternion |
Quaternion.log10()
Returns the logarithm base 10 of this quaternion q. |
Quaternion |
Quaternion.log10(Quaternion u)
Returns the natural logarithm of this quaternion q. |
Quaternion |
Quaternion.multiply(double x)
Returns the product of this quaternion q and the real number x. |
Quaternion |
Quaternion.multiply(Quaternion r)
Returns the product of this quaternion q and the quaternion r = e + if + jg + kh. |
Quaternion |
Quaternion.negate()
Returns the negative of this quaternion q. |
Quaternion |
Quaternion.pow(double x)
Returns this quaternion q raised to the real number x. |
Quaternion |
Quaternion.pow(int n)
Returns this quaternion q raised to the integer n. |
Quaternion |
Quaternion.pow(Quaternion r)
Returns this quaternion q raised to the quaternion r. |
Quaternion |
Quaternion.project(boolean[] v)
Project this quaternion q onto the subspace defined by the boolean vector v. |
Quaternion |
Quaternion.project(int n)
Project this quaternion q onto the nth term. |
static Quaternion |
Quaternion.random()
A factory method for constructing a quaternion with a random real and imaginary parts. |
Quaternion |
Quaternion.random(boolean[] v)
A factory method to create a random quaternion defined by the boolean vector v. |
static Quaternion |
Quaternion.random(int n)
A factory method for constructing a quaternion with a random nth coefficient. |
static Quaternion |
Quaternion.randomImaginary()
A factory method for constructing a imaginary quaternion with random imaginary coefficients. |
static Quaternion |
Quaternion.randomReal()
A factory method for constructing a quaternion with a random real part. |
Quaternion |
Quaternion.rint()
Returns each coefficient of the quaternion q rounded to the nearest double equal to an integer. |
Quaternion |
Quaternion.rotateAround(Quaternion r)
Rotate this imaginary quaternion q around the imaginary part of r, the angle of rotation being twice the argument of r. |
Quaternion |
Quaternion.sec()
Returns the secant of this quaternion q. |
Quaternion |
Quaternion.sech()
Returns the hyperbolic secant of this quaternion q. |
Quaternion |
Quaternion.signum()
Returns a normalized form of this quaternion q when it is non-zero and q otherwise. |
Quaternion |
Quaternion.sin()
Returns the sine of this quaternion q. |
Quaternion |
Quaternion.sinh()
Returns the hyperbolic sine of this quaternion q. |
Quaternion |
Quaternion.sqr()
Returns the square of this quaternion q. |
Quaternion |
Quaternion.sqrt()
Returns the square root of this quaternion q. |
Quaternion |
Quaternion.sqrt(Quaternion u)
Returns the square root of this quaternion q. |
Quaternion |
Quaternion.subtract(Quaternion r)
Returns the difference between this quaternion q and the quaternion r = e + if + jc + kd. |
Quaternion |
Quaternion.tan()
Returns the tangent of this quaternion q. |
Quaternion |
Quaternion.tanh()
Returns the hyperbolic tangent of this quaternion q. |
Methods in ca.uwaterloo.alumni.dwharder.Numbers with parameters of type Quaternion | |
---|---|
Quaternion |
Quaternion.acos(Quaternion u)
Returns the principal inverse cosine of this quaternion q. |
Quaternion |
Quaternion.acosh(Quaternion u)
Returns the principal inverse hyperbolic cosine of this quaternion q. |
Quaternion |
Quaternion.acot(Quaternion u)
Returns the principal inverse cotangent of this quaternion q. |
Quaternion |
Quaternion.acoth(Quaternion u)
Returns the principal inverse hyperbolic cotangent of this quaternion q. |
Quaternion |
Quaternion.acsc(Quaternion u)
Returns the principal inverse cosecant of this quaternion q. |
Quaternion |
Quaternion.acsch(Quaternion u)
Returns the principal inverse hyperbolic cosecant of this quaternion q. |
Quaternion |
Quaternion.add(Quaternion r)
Returns the sum of this quaternion q and the quaternion r = e + if + jg + kh. |
Quaternion |
Quaternion.asec(Quaternion u)
Returns the principal inverse secant of this quaternion q. |
Quaternion |
Quaternion.asech(Quaternion u)
Returns the principal inverse hyperbolic secant of this quaternion q. |
Quaternion |
Quaternion.asin(Quaternion u)
Returns the principal inverse sine of this quaternion q. |
Quaternion |
Quaternion.asinh(Quaternion u)
Returns the principal inverse hyperbolic sine of this quaternion q. |
Quaternion |
Quaternion.atan(Quaternion u)
Returns the principal inverse tangent of this quaternion q. |
Quaternion |
Quaternion.atanh(Quaternion u)
Returns the principal inverse hyperbolic tangent of this quaternion q. |
Quaternion |
Quaternion.divide(Quaternion r)
Returns the quotient of this quaternion q over the quaternion r = e + if + jg + kh. |
Quaternion |
Quaternion.log(Quaternion u)
Returns the natural logarithm of this quaternion q. |
Quaternion |
Quaternion.log10(Quaternion u)
Returns the natural logarithm of this quaternion q. |
Quaternion |
Quaternion.multiply(Quaternion r)
Returns the product of this quaternion q and the quaternion r = e + if + jg + kh. |
Quaternion |
Quaternion.pow(Quaternion r)
Returns this quaternion q raised to the quaternion r. |
Quaternion |
Quaternion.rotateAround(Quaternion r)
Rotate this imaginary quaternion q around the imaginary part of r, the angle of rotation being twice the argument of r. |
Quaternion |
Quaternion.sqrt(Quaternion u)
Returns the square root of this quaternion q. |
Quaternion |
Quaternion.subtract(Quaternion r)
Returns the difference between this quaternion q and the quaternion r = e + if + jc + kd. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |