#include <qccomplexfield.h>
Inheritance diagram for QCComplexField< rank >:
Public Member Functions | |
Constructors | |
QCComplexField (void) | |
Standard Constructor. | |
QCComplexField (int noOfRows, int noOfCols) | |
Overloaded Constructor designed to set the size of the field upon construction. | |
~QCComplexField (void) | |
Standard Destructor. | |
Initializing Operations | |
void | initializeToZero () |
Initializes all elements of the Field to zero value. | |
void | initializeToUnity (bool realPart, bool imagPart) |
Initializes all elements of the Field to unity. The real and imaginary parts are initialized to unity if boolean is set to true. | |
Initializing Operations | |
Array< fieldType, rank > | realPart () |
Returns Blitz++ Array of real parts of the array. | |
Array< fieldType, rank > | imaginaryPart () |
Returns Blitz++ Array of imaginary parts of the array. | |
I/O Operations | |
bool | writeRealToFile (const char *fileName) |
Writes only the real values of the field to file. | |
bool | writeImagToFile (const char *fileName) |
Writes only the imaginary values of the field to file. | |
bool | writeNormToFile (const char *fileName) |
Writes the Norm of each value of the field to file. | |
void | setFormatCSV () |
Sets the format of the field as comma separated values (CSV). | |
void | setFormatGNU () |
Sets the format of the field as GNUPlot format (GNU). |
Definition at line 60 of file qccomplexfield.h.
|
Overloaded Constructor designed to set the size of the field upon construction.
Definition at line 145 of file qccomplexfield.h. References QCField< complexType, rank >::setSize(). |