#include <MatrixData.h>
Inheritance diagram for OSCAR::MatrixData:

Public Methods | |
| MatrixData (const String &filename, unsigned int noOfColumns, OSCARError &err=DUMMY_ERROR(noError), const char commentMarker= '#', const String &name=String("")) | |
| MatrixData (const Matrix &data, OSCARError &err=DUMMY_ERROR(noError), const String &name=String("")) | |
| MatrixData (const MatrixData &rhs) | |
| virtual | ~MatrixData () |
| MatrixData & | operator= (const MatrixData &rhs) |
| const Matrix & | GetParameters () const |
| unsigned int | GetNoRows () const |
| Vector | GetRow (unsigned int rowNumber) |
| Vector | GetCol (unsigned int columnNumber) |
| double & | operator() (unsigned int rowNumber, unsigned int colNumber) const |
Protected Methods | |
| virtual void | loadParameters (std::ifstream &fileStream, unsigned int noOfColumns, const char commentMarker) |
Protected Attributes | |
| unsigned int | nrows |
| Matrix * | matrixdata |
|
||||||||||||||||||||||||
|
Constructor. This is the Constructor for an object of type MatrixData. Use this to construct an MatrixData object from a data file. Possible errors that may occur include a fileOpenError or badFileData error.
|
|
||||||||||||||||
|
Constructor. This is the Constructor for an object of type MatrixData. Use this to construct an MatrixData object by specifying an Matrix.
|
|
|
Copy Constructor. This is the Copy Constructor for an object of type MatrixData. Use this to construct an MatrixData object from an existing MatrixData object.
|
|
|
Destructor. This is the Destructor for an object of type MatrixData. |
|
|
Get a particular column in an Vector form.
|
|
|
Get the number of rows of data. This method is sued to get the number of rows of data.
|
|
|
Get a matrix representation of the data stored in this object. This method is used to get a matrix representation of the data stored in this object.
|
|
|
Get a particular row in an Vector form. This method is used to get a particular row in an Vector form.
|
|
||||||||||||||||
|
Load MatrixData data elements from a file. This method is used to load MatrixData data elements from a file.
|
|
||||||||||||
|
Get a particular element of an MatrixData object. This method is used to get a particular element of an MatrixData object.
|
|
|
Assignment Operator. This is the Assignment Operator for an object of type MatrixData.
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |