Complex class

Constructors

Complex({required double real, double imaginary = 0})
const
Complex.complexExp(Complex c)
factory
Complex.exp({double r = 1, required double angle})
factory
Complex.fromDouble(double real)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
imaginary → double
final
real → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

angle() → double
conjugate() → Complex
copy() → Complex
norm() → double
normalize() → Complex
normSquared() → double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(num k) → Complex
scale(double k) → Complex
toString() → String
A string representation of this object.
inherited
toVector3({double z = 0}) → Vector3

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