menu
quantools package
documentation
mathematics.dart
Complex class
Complex class
dark_mode
light_mode
Complex
class
Constructors
Complex
(
double
real
,
double
imaginary
)
Complex.zero
()
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
imaginary
↔
double
getter/setter pair
real
↔
double
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
abs
(
)
→
double
add
(
Complex
x
)
→
Complex
mul
(
Complex
x
)
→
Complex
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sub
(
Complex
x
)
→
Complex
toLatex
(
)
→
String
toString
(
)
→
String
A string representation of this object.
override
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
quantools package
documentation
mathematics
Complex class
mathematics library