Complex class abstract

Constructors

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

Properties

argument → num
no setter
conjugate → Complex
no setter
hashCode → int
The hash code for this object.
no setterinherited
imaginary → num
no setter
inverse → Complex
no setter
modulus → num
no setter
real → num
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() → Complex
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 ==(Object 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