|
|

Public Types | |
| typedef complex | cmptType |
| Component type. | |
Public Member Functions | |
| complex () | |
| Construct null. | |
| complex (const scalar Re, const scalar Im) | |
| Construct given real and imaginary parts. | |
| complex (Istream &) | |
| Construct from Istream. | |
| scalar | Re () const |
| scalar | Im () const |
| scalar & | Re () |
| scalar & | Im () |
| complex | conjugate () const |
| void | operator= (const complex &) |
| void | operator+= (const complex &) |
| void | operator-= (const complex &) |
| void | operator *= (const complex &) |
| void | operator/= (const complex &) |
| void | operator= (const scalar) |
| void | operator+= (const scalar) |
| void | operator-= (const scalar) |
| void | operator *= (const scalar) |
| void | operator/= (const scalar) |
| complex | operator! () const |
| bool | operator== (const complex &) const |
| bool | operator!= (const complex &) const |
Static Public Attributes | |
| const char *const | typeName |
| const complex | zero |
| const complex | one |
Friends | |
| scalar | magSqr (const complex &c) |
| complex | sqr (const complex &c) |
| scalar | mag (const complex &c) |
| const complex & | max (const complex &c1, const complex &c2) |
| const complex & | min (const complex &c1, const complex &c2) |
| complex | limit (const complex &c1, const complex &c2) |
| const complex & | sum (const complex &c) |
| complex | operator+ (const complex &, const complex &) |
| complex | operator- (const complex &) |
| complex | operator- (const complex &, const complex &) |
| complex | operator * (const complex &, const complex &) |
| complex | operator/ (const complex &, const complex &) |
| complex | operator * (const scalar, const complex &) |
| complex | operator * (const complex &, const scalar) |
| complex | operator/ (const complex &, const scalar) |
| complex | operator/ (const scalar, const complex &) |
| Istream & | operator>> (Istream &is, complex &) |
| Ostream & | operator<< (Ostream &os, const complex &C) |
|
|
Component type.
|
|
|
Construct null.
Definition at line 45 of file complexI.H. |
|
||||||||||||
|
Construct given real and imaginary parts.
Definition at line 49 of file complexI.H. |
|
|
Construct from Istream.
|
|
|
Definition at line 82 of file complexI.H. References complex::im, and complex::re. Referenced by complex::operator/=(). |
|
|
Definition at line 76 of file complexI.H. |
|
|
Definition at line 64 of file complexI.H. |
|
|
Definition at line 142 of file complexI.H. |
|
|
Definition at line 111 of file complexI.H. |
|
|
Definition at line 156 of file complexI.H. |
|
|
Definition at line 168 of file complexI.H. References complex::im, and complex::re. |
|
|
Definition at line 130 of file complexI.H. |
|
|
Definition at line 97 of file complexI.H. References complex::im, and complex::re. |
|
|
Definition at line 136 of file complexI.H. |
|
|
Definition at line 104 of file complexI.H. |
|
|
Definition at line 149 of file complexI.H. References complex::conjugate(). |
Here is the call graph for this function:

|
|
Definition at line 117 of file complexI.H. |
|
|
Definition at line 123 of file complexI.H. |
|
|
Definition at line 90 of file complexI.H. References complex::im, and complex::re. |
|
|
Definition at line 162 of file complexI.H. |
|
|
Definition at line 70 of file complexI.H. |
|
|
Definition at line 58 of file complexI.H. |
|
||||||||||||
|
Definition at line 221 of file complexI.H. |
|
|
Definition at line 189 of file complexI.H. |
|
|
Definition at line 177 of file complexI.H. |
|
||||||||||||
|
Definition at line 195 of file complexI.H. |
|
||||||||||||
|
Definition at line 208 of file complexI.H. |
|
||||||||||||
|
Definition at line 302 of file complexI.H. |
|
||||||||||||
|
Definition at line 296 of file complexI.H. |
|
||||||||||||
|
Definition at line 274 of file complexI.H. |
|
||||||||||||
|
Definition at line 244 of file complexI.H. |
|
||||||||||||
|
Definition at line 264 of file complexI.H. |
|
|
Definition at line 254 of file complexI.H. |
|
||||||||||||
|
Definition at line 314 of file complexI.H. |
|
||||||||||||
|
Definition at line 308 of file complexI.H. |
|
||||||||||||
|
Definition at line 284 of file complexI.H. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 183 of file complexI.H. |
|
|
Definition at line 227 of file complexI.H. |
|
|
|
|
|
|
|
|
|