Inherits ObjectPtr< IComplexNumber >.
Represents a complex number as ICommplexNumber
interface. Use this interface to wrap complex number when you need to add the number to lists, dictionaries and other containers which accept IBaseObject
and derived interfaces.
Complex numbers have two components: real and imaginary. Both of them are of Float type.
Available factories:
Public Member Functions | |
Float | getReal () const |
Gets the real part of the complex number value. More... | |
Float | getImaginary () const |
Gets the imaginary part of the complex number value. More... | |
|
inline |
Gets the imaginary part of the complex number value.
|
inline |
Gets the real part of the complex number value.