Functions | |
| template<int M, int N, int P, ShBindingType Binding, ShBindingType Binding2, typename T> ShMatrix< M, P, SH_TEMP, T > | SH::operator| (const ShMatrix< M, N, Binding, T > &a, const ShMatrix< N, P, Binding2, T > &b) |
| Matrix multiplication. | |
| template<int M, int N, int P, ShBindingType Binding, ShBindingType Binding2, typename T> ShMatrix< M, P, SH_TEMP, T > | operator * (const ShMatrix< M, N, Binding, T > &a, const ShMatrix< N, P, Binding2, T > &b) |
| template<int M, int N, ShBindingType Binding, typename T> ShGeneric< M, T > | SH::operator| (const ShMatrix< M, N, Binding, T > &a, const ShGeneric< N, T > &b) |
| Matrix-tuple multiplication. | |
| template<int M, int N, ShBindingType Binding, typename T> ShGeneric< M, T > | operator * (const ShMatrix< M, N, Binding, T > &a, const ShGeneric< N, T > &b) |
| template<int M, int N, ShBindingType Binding, typename T> ShGeneric< N, T > | SH::operator| (const ShGeneric< M, T > &a, const ShMatrix< M, N, Binding, T > &b) |
| Tuple-matrix multiplication. | |
| template<int M, int N, ShBindingType Binding, typename T> ShGeneric< N, T > | operator * (const ShGeneric< M, T > &a, const ShMatrix< M, N, Binding, T > &b) |
| template<int M, int N, ShBindingType Binding, typename T> ShMatrix< M, N, SH_TEMP, T > | SH::operator * (const ShMatrix< M, N, Binding, T > &a, const ShGeneric< 1, T > &b) |
| Matrix-scalar multiplication. | |
| template<int M, ShBindingType Binding, typename T> ShMatrix< M, 1, SH_TEMP, T > | operator * (const ShMatrix< M, 1, Binding, T > &a, const ShGeneric< 1, T > &b) |
| template<int M, int N, ShBindingType Binding, typename T> ShMatrix< M, N, SH_TEMP, T > | SH::operator * (const ShGeneric< 1, T > &a, const ShMatrix< M, N, Binding, T > &b) |
| Scalar-matrix multiplication. | |
| template<int N, ShBindingType Binding, typename T> ShMatrix< 1, N, SH_TEMP, T > | operator * (const ShGeneric< 1, T > &a, const ShMatrix< 1, N, Binding, T > &b) |
| template<int M, int N, ShBindingType Binding, typename T> ShMatrix< M, N, SH_TEMP, T > | SH::operator/ (const ShMatrix< M, N, Binding, T > &a, const ShGeneric< 1, T > &b) |
| Matrix-scalar division. | |
| template<ShBindingType Binding2, typename T2> ShAttrib1f | SH::det (const ShMatrix< 1, 1, Binding2, T2 > &matrix) |
| Returns the determinant for the given matrix. | |
| template<ShBindingType Binding2, typename T2> ShAttrib1f | det (const ShMatrix< 2, 2, Binding2, T2 > &matrix) |
| template<int RowsCols, ShBindingType Binding2, typename T2> ShAttrib1f | det (const ShMatrix< RowsCols, RowsCols, Binding2, T2 > &matrix) |
|
template<int RowsCols, ShBindingType Binding2, typename T2> ShMatrix< RowsCols, RowsCols, SH_TEMP, T2 > | SH::cofactors (const ShMatrix< RowsCols, RowsCols, Binding2, T2 > &matrix) |
| Returns the matrix of cofactors for the given matrix. | |
| template<int M, int N, ShBindingType Binding2, typename T2> ShMatrix< N, M, SH_TEMP, T2 > | SH::transpose (const ShMatrix< M, N, Binding2, T2 > &matrix) |
| Returns the transpose of the given matrix. | |
|
template<int RowsCols, ShBindingType Binding2, typename T2> ShMatrix< RowsCols, RowsCols, SH_TEMP, T2 > | SH::adjoint (const ShMatrix< RowsCols, RowsCols, Binding2, T2 > &matrix) |
| Returns the adjoint of the given matrix. | |
| template<int RowsCols, ShBindingType Binding2, typename T2> ShMatrix< RowsCols, RowsCols, SH_TEMP, T2 > | SH::inverse (const ShMatrix< RowsCols, RowsCols, Binding2, T2 > &matrix) |
| Invert a matrix. | |
| template<int N, typename T> ShMatrix< 1, N, SH_TEMP, T > | rowmat (const ShGeneric< N, T > &s0) |
| template<int N, typename T> ShMatrix< 2, N, SH_TEMP, T > | rowmat (const ShGeneric< N, T > &s0, const ShGeneric< N, T > &s1) |
| template<int N, typename T> ShMatrix< 3, N, SH_TEMP, T > | rowmat (const ShGeneric< N, T > &s0, const ShGeneric< N, T > &s1, const ShGeneric< N, T > &s2) |
| template<int N, typename T> ShMatrix< 4, N, SH_TEMP, T > | rowmat (const ShGeneric< N, T > &s0, const ShGeneric< N, T > &s1, const ShGeneric< N, T > &s2, const ShGeneric< N, T > &s3) |
| template<int N, typename T> ShMatrix< N, 1, SH_TEMP, T > | colmat (const ShGeneric< N, T > &s0) |
| template<int N, typename T> ShMatrix< N, 2, SH_TEMP, T > | colmat (const ShGeneric< N, T > &s0, const ShGeneric< N, T > &s1) |
| template<int N, typename T> ShMatrix< N, 3, SH_TEMP, T > | colmat (const ShGeneric< N, T > &s0, const ShGeneric< N, T > &s1, const ShGeneric< N, T > &s2) |
| template<int N, typename T> ShMatrix< N, 4, SH_TEMP, T > | colmat (const ShGeneric< N, T > &s0, const ShGeneric< N, T > &s1, const ShGeneric< N, T > &s2, const ShGeneric< N, T > &s3) |
| template<int N, typename T> ShMatrix< N, N, SH_TEMP, T > | diag (const ShGeneric< N, T > &a) |
|
||||||||||
|
Invert a matrix. Results are undefined if the matrix is non-invertible. |
|
||||||||||||||||
|
Tuple-matrix multiplication. Treats the tuple as a row vector. Definition at line 73 of file ShLibMatrixImpl.hpp. References SH::dot(). |
|
||||||||||||||||
|
Matrix-tuple multiplication. Treats the tuple as a column vector. Definition at line 62 of file ShLibMatrixImpl.hpp. References SH::dot(). |
|
||||||||||||||||
|
Matrix multiplication. Only works on matrices of compatible sizes. Definition at line 37 of file ShLibMatrixImpl.hpp. References SH::dot(), and SH::transpose(). |
|
||||||||||
|
Returns the transpose of the given matrix. The matrix is flipped around its diagonal. Referenced by SH::operator|(). |
1.3.7