Extension to the c++ complex library type.
More...
#include <OpenFOAM/complex.H>
Detailed Description
Extension to the c++ complex library type.
- Source files
-
Definition at line 77 of file complex.H.
List of all members.
Friends |
| scalar | magSqr (const complex &c) |
| complex | sqr (const complex &c) |
| scalar | mag (const complex &c) |
| const complex & | max (const complex &, const complex &) |
| const complex & | min (const complex &, const complex &) |
| complex | limit (const complex &, const complex &) |
| const complex & | sum (const complex &) |
| 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 &, complex &) |
| Ostream & | operator<< (Ostream &, const complex &) |
Member Typedef Documentation
Component type.
Definition at line 87 of file complex.H.
Constructor & Destructor Documentation
| complex |
( |
const scalar |
Re, |
|
|
const scalar |
Im |
|
) |
| |
|
inline |
Construct given real and imaginary parts.
Definition at line 37 of file complexI.H.
Member Function Documentation
| void operator+= |
( |
const complex & |
c | ) |
|
|
inline |
| void operator-= |
( |
const complex & |
c | ) |
|
|
inline |
| void operator*= |
( |
const complex & |
c | ) |
|
|
inline |
| void operator/= |
( |
const complex & |
c | ) |
|
|
inline |
| const complex & operator= |
( |
const scalar |
s | ) |
|
|
inline |
| void operator+= |
( |
const scalar |
s | ) |
|
|
inline |
| void operator-= |
( |
const scalar |
s | ) |
|
|
inline |
| void operator*= |
( |
const scalar |
s | ) |
|
|
inline |
| void operator/= |
( |
const scalar |
s | ) |
|
|
inline |
| bool operator== |
( |
const complex & |
c | ) |
const |
|
inline |
Friends And Related Function Documentation
Member Data Documentation
| const char *const typeName = "complex" |
|
static |
The documentation for this class was generated from the following files: