QuaternionField class

Inheritance

Constructors

QuaternionField()
const

Properties

additiveIdentity → Quaternion
The additive neutral element.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
infinity → Quaternion
Positive infinity.
no setterinherited
multiplicativeIdentity → Quaternion
The multiplicative neutral element.
no setteroverride
nan → Quaternion
Not a number.
no setterinherited
negativeInfinity → Quaternion
Negative infinity.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Quaternion a, Quaternion b) → Quaternion
Computes the addition: a + b.
override
div(Quaternion a, Quaternion b) → Quaternion
Computes the division: a / b.
override
division(Quaternion a, Quaternion b) → Quaternion
Computes a truncating division: a ~/ b.
override
gcd(Quaternion a, Quaternion b) → Quaternion
Computes the greatest common divisor: gcd(a, b).
override
inv(Quaternion a) → Quaternion
Computes the multiplicative inverse: 1 / a.
override
mod(Quaternion a, Quaternion b) → Quaternion
Computes the remainder of the Euclidean division a % b.
override
modInverse(Quaternion base, Quaternion modulus) → Quaternion
Computes the modular multiplicative inverse of base modulo modulus.
override
modPow(Quaternion base, Quaternion exponent, Quaternion modulus) → Quaternion
Computes base to the power of exponent modulo modulus.
override
mul(Quaternion a, Quaternion b) → Quaternion
Computes the multiplication: a * b.
override
neg(Quaternion a) → Quaternion
Computes the additive inverse: -a.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(Quaternion base, Quaternion exponent) → Quaternion
Computes base to the power of exponent.
override
remainder(Quaternion a, Quaternion b) → Quaternion
Computes the remainder of the truncating division.
override
scale(Quaternion a, num f) → Quaternion
Computes the multiplicative scaling: a * f.
override
sub(Quaternion a, Quaternion b) → Quaternion
Computes the subtraction: a - b.
override
toString() → String
A string representation of this object.
inherited
unsupportedOperation(String operation) → Quaternion
Thrown when an operation is not supported.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited