OESquareMatrix

class OESquareMatrix : public OEMatrix

OESquareMatrix class represents a square matrix.

Following methods are publicly inherited from OEMatrix:
The OESquareMatrix class defines the following public methods:

Constructors

OESquareMatrix()
OESquareMatrix(const unsigned numRow)
OESquareMatrix(const unsigned numRow, const double initialValue)
OESquareMatrix(const OESquareMatrix&)

Default and copy constructors.

The default constructor creates an empty matrix. The second overload creates a matrix with numRows rows and columns, with all the values set to zero. The third overload creates a matrix with numRows rows and columns, with all the values set to initialValue.

operator=

OESquareMatrix& operator=(const OESquareMatrix& rhs)

Assignment operator for OESquareMatrix.

Resize

void Resize(const unsigned numRow);
void Resize(const unsigned numRow, const double initialValue);

Resize the matrix to numRows rows and columns. The matrix is initialized with zero, unless initialValue is provided.