#include <Complex.h>
Public Member Functions | |
Complex (const Complex &) | |
Complex (const string &s) | |
Complex (const IDLComplex &) | |
Complex (double re, double im) | |
double | getReal () const |
double | getImg () const |
void | setReal (double re) |
void | setImg (double im) |
bool | isZero () const |
bool | equals (const Complex &) const |
string | toString () const |
IDLComplex | toIDLComplex () const |
void | toBin (EndianOSStream &eoss) |
Static Public Member Functions | |
Complex | fromString (const string &) throw (NumberFormatException) |
string | toString (const Complex &) |
Complex | getComplex (StringTokenizer &t) throw (NumberFormatException) |
void | toBin (const vector< Complex > &cmplx, EndianOSStream &eoss) |
void | toBin (const vector< vector< Complex > > &cmplx, EndianOSStream &eoss) |
void | toBin (const vector< vector< vector< Complex > > > &cmplx, EndianOSStream &eoss) |
Complex | fromBin (EndianISStream &eiss) |
vector< Complex > | from1DBin (EndianISStream &eiss) |
vector< vector< Complex > > | from2DBin (EndianISStream &eiss) |
vector< vector< vector< Complex > > > | from3DBin (EndianISStream &eiss) |
|
Read the binary representation of a vector of Complex from an EndianISStream and use the read value to set a vector of Complex.
|
|
Read the binary representation of a vector of vector of Complex from an EndianISStream and use the read value to set a vector of vector of Complex.
|
|
Read the binary representation of a vector of vector of vector of Complex from an EndianISStream and use the read value to set a vector of vector of vector of Complex.
|
|
Read the binary representation of an Complex from a EndianISStream and use the read value to set an Complex.
|
|
Write the binary representation of a vector of vector of vector of Complex to a EndianOSStream.
|
|
Write the binary representation of a vector of vector of Complex to a EndianOSStream.
|
|
Write the binary representation of a vector of Complex to a EndianOSStream.
|
|
Write the binary representation of this to a EndianOSStream. |