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
OESquareMatrix(numRows: int, initialValue: float = 0.0) -> OESquareMatrix
OESquareMatrix(arg2: OESquareMatrix) -> 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.

Resize

Resize(numRow: int, initialValue: float = 0.0) -> None

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