|
| AZ_TYPE_INFO (MatrixMxN, "{B751D885-87D0-40BF-A6B3-48EFF0147AFA}") |
|
| MatrixMxN ()=default |
| Default constructor for reflection and serialization support.
|
|
| MatrixMxN (AZStd::size_t rowCount, AZStd::size_t colCount) |
| Default constructor does not initialize the matrix.
|
|
| MatrixMxN (AZStd::size_t rowCount, AZStd::size_t colCount, float value) |
| Constructs a matrix with all components set to the specified value.
|
|
| MatrixMxN (const MatrixMxN &rhs)=default |
|
| MatrixMxN (MatrixMxN &&rhs) |
|
MatrixMxN & | operator= (MatrixMxN &&)=default |
|
MatrixMxN & | operator= (const MatrixMxN &)=default |
|
AZStd::size_t | GetRowCount () const |
| Returns the number of rows in the matrix.
|
|
AZStd::size_t | GetColumnCount () const |
| Returns the number of columns in the matrix.
|
|
void | Resize (AZStd::size_t rowCount, AZStd::size_t colCount) |
| Resizes the matrix to the provided row and column count.
|
|
float | operator() (AZStd::size_t row, AZStd::size_t col) const |
| Indexed access using operator().
|
|
MatrixMxN | GetTranspose () const |
| Returns the transpose of the matrix.
|
|
MatrixMxN | GetAbs () const |
| Returns a new MatrixMxN containing the absolute value of all elements in the source MatrixMxN.
|
|
MatrixMxN | GetSquare () const |
| Returns a new MatrixMxN containing the square of all elements in the source MatrixMxN.
|
|
void | SetZero () |
| Quickly zeros all elements of the matrix to create a zero matrix.
|
|
AZStd::size_t | GetRowGroups () const |
| Returns the number blocks of 4x4 submatrices that span all the rows of the matrix.
|
|
AZStd::size_t | GetColumnGroups () const |
| Returns the number blocks of 4x4 submatrices that span all the columns of the matrix.
|
|
void | FixUnusedElements () |
| Zeros out unused components of any submatrices.
|
|
|
float | GetElement (AZStd::size_t row, AZStd::size_t col) const |
|
void | SetElement (AZStd::size_t row, AZStd::size_t col, float value) |
|
|
MatrixMxN | GetFloor () const |
|
MatrixMxN | GetCeil () const |
|
MatrixMxN | GetRound () const |
|
|
MatrixMxN | GetMin (const MatrixMxN &m) const |
|
MatrixMxN | GetMax (const MatrixMxN &m) const |
|
MatrixMxN | GetClamp (const MatrixMxN &min, const MatrixMxN &max) const |
|
|
MatrixMxN | operator- () const |
|
MatrixMxN | operator+ (const MatrixMxN &rhs) const |
|
MatrixMxN | operator- (const MatrixMxN &rhs) const |
|
MatrixMxN | operator* (const MatrixMxN &rhs) const |
|
MatrixMxN | operator* (float multiplier) const |
|
MatrixMxN | operator/ (float divisor) const |
|
MatrixMxN & | operator+= (const MatrixMxN &rhs) |
|
MatrixMxN & | operator-= (const MatrixMxN &rhs) |
|
MatrixMxN & | operator+= (float sum) |
|
MatrixMxN & | operator-= (float difference) |
|
MatrixMxN & | operator*= (float multiplier) |
|
MatrixMxN & | operator/= (float divisor) |
|
|
const Matrix4x4 & | GetSubmatrix (AZStd::size_t rowGroup, AZStd::size_t colGroup) const |
|
Matrix4x4 & | GetSubmatrix (AZStd::size_t rowGroup, AZStd::size_t colGroup) |
|
void | SetSubmatrix (AZStd::size_t rowGroup, AZStd::size_t colGroup, const Matrix4x4 &subMatrix) |
|
AZStd::vector< Matrix4x4 > & | GetMatrixElements () |
|
Matrix with ROW_COUNT rows and COL_COUNT columns.