![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Single-precision complex. More...
#include <FXComplexf.h>
Public Member Functions | |
| FXComplexf () | |
| Default constructor; value is not initialized. | |
| FXComplexf (FXfloat r) | |
| Construct from real. | |
| FXComplexf (FXfloat r, FXfloat i) | |
| Construct from components. | |
| FXComplexf (const FXComplexf &c) | |
| Initialize from another complex. | |
| FXComplexf & | set (FXfloat r) |
| Set value from real. | |
| FXComplexf & | set (FXfloat r, FXfloat i) |
| Set value from components. | |
| FXComplexf & | set (const FXComplexf &c) |
| Set value from another complex. | |
| FXbool | operator! () const |
| Test if zero. | |
| FXfloat & | real () |
| Access real part. | |
| const FXfloat & | real () const |
| FXfloat & | imag () |
| Access imaginary part. | |
| const FXfloat & | imag () const |
| FXfloat | modulus2 () const |
| Squared modulus. | |
| FXfloat | modulus () const |
| Modulus or absolute value of complex. | |
| FXfloat | argument () const |
| Argument of complex. | |
| FXfloat & | operator[] (FXint i) |
| Return a non-const reference to the ith element. | |
| const FXfloat & | operator[] (FXint i) const |
| Return a const reference to the ith element. | |
| FXComplexf | operator+ () const |
| Unary. | |
| FXComplexf | operator- () const |
| FXComplexf & | operator= (const FXfloat r) |
| Assignment from real. | |
| FXComplexf & | operator= (const FXComplexf &c) |
| Assignment from another complex. | |
| FXComplexf & | operator+= (FXfloat r) |
| Assigning operators with real. | |
| FXComplexf & | operator-= (FXfloat r) |
| FXComplexf & | operator*= (FXfloat r) |
| FXComplexf & | operator/= (FXfloat r) |
| FXComplexf & | operator+= (const FXComplexf &c) |
| Assigning operators with another complex. | |
| FXComplexf & | operator-= (const FXComplexf &c) |
| FXComplexf & | operator*= (const FXComplexf &c) |
| FXComplexf & | operator/= (const FXComplexf &c) |
| ~FXComplexf () | |
| Destructor. | |
Public Attributes | |
| FXfloat | re |
| FXfloat | im |
Single-precision complex.
|
|