Complex class Null safety

A complex value

Annotations

Constructors

Complex(double real, double imaginary)
const
Complex.polar(double r, double theta)

Properties

hashCode → int
The hash code for this object.
read-onlyoverride
imaginary → double
final
r → double
read-only
real → double
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
theta → double
read-only

Methods

acos() → Complex
acosh() → Complex
asin() → Complex
asinh() → Complex
atan() → Complex
atanh() → Complex
cos() → Complex
cosh() → Complex
exp() → Complex
Compute e^this
ln() → Complex
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pow(Complex exp) → Complex
Compute this^exp
sin() → Complex
sinh() → Complex
sqrt() → Complex
tan() → Complex
tanh() → Complex
toString() → String
A string representation of this object.
override

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

Constants

zero → const Complex
Complex(0, 0)