Complex class

Constructors

Complex.cartesian(num real, num imaginary)
factory
Complex.polar(num modulus, num argument)
factory

Properties

argument num
read-only
conjugate Complex
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
imaginary num
read-only
inverse Complex
read-only
modulus num
read-only
real num
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clone() Complex
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pow(num factor) Complex
similar(Complex other) bool
Tests if numbers are approximately equal. This catches some rounding errors.
stretch(num factor) Complex
toString() String
A string representation of this object. [...]
inherited
turn(num angle) Complex

Operators

operator *(Complex other) Complex
operator +(Complex other) Complex
operator -(Complex other) Complex
operator /(Complex other) Complex
operator ==(dynamic other) bool
The equality operator. [...]
override
operator unary-() Complex

Static Properties

I Complex
final
MINUSI Complex
final
MINUSONE Complex
final
ONE Complex
final
ZERO Complex
final