#include <SMatrixN.h>
Inheritance diagram for Physsim::SMatrixN:

Public Member Functions | |
| SMatrixN () | |
| Default constructor - constructs an empty matrix. | |
| SMatrixN (unsigned rows, unsigned columns) | |
| Constructs a rows x columns dimensional matrix. | |
| SMatrixN (const MatrixN &source) | |
| Copy constructor. | |
| SMatrixN (const SMatrixN &source) | |
| Copy constructor. | |
| SMatrixN (unsigned rows, unsigned columns, const boost::shared_array< Real > array) | |
| Constructs a matrix from an array. | |
| virtual void | transpose () |
| Sets this matrix to its transpose. | |
| void | operator= (const SMatrixN &source) |
| SMatrixN | operator * (const SMatrixN &m) const |
Static Public Member Functions | |
| static SMatrixN | transpose (const SMatrixN &m) |
| Determines the transpose of the matrix. | |
The underlying data is stored in a column-major (e.g., the element at row 1, column 0 is element "1").
| SMatrixN::SMatrixN | ( | unsigned | rows, | |
| unsigned | columns | |||
| ) |
Constructs a rows x columns dimensional matrix.
Sets matrix to the rows x columns dimensional zero matrix
| SMatrixN::SMatrixN | ( | unsigned | rows, | |
| unsigned | columns, | |||
| const boost::shared_array< Real > | array | |||
| ) |
Constructs a matrix from an array.
| rows | the number of rows of the matrix | |
| columns | the number of columns of the matrix | |
| array | an array of rows*columns Real values in row-major format |
Determines the transpose of the matrix.
1.5.1