ComplexField class

Inheritance

Constructors

ComplexField()
const

Properties

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

Methods

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

Operators

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