![]() |
CMSC23700 Common Code Library
Support code for CS23700 programming projects
|
template class for 2x3 matrices More...
#include <cs237-mat2x3.hxx>
Public Member Functions | |
mat2x3 () | |
create an uninitialized matrix More... | |
mat2x3 (mat2x3 const &m) | |
copy constructor More... | |
mat2x3 (T m00, T m10, T m20, T m01, T m11, T m21) | |
construct a matrix from individual elements given in column-major order More... | |
mat2x3 (vec3< T > const &c0, vec3< T > const &c1) | |
construct a matrix from column vectors More... | |
mat2x3 (mat3x3< T > const &mm) | |
extract the left 2x3 matrix from a 3x3 matrix More... | |
mat2x3 & | operator= (mat2x3 const &mm) |
mat2x3 & | operator+= (T const &s) |
mat2x3 & | operator+= (mat2x3 const &v) |
mat2x3 & | operator-= (T const &s) |
mat2x3 & | operator-= (mat2x3 const &v) |
mat2x3 & | operator*= (T const &s) |
mat3x2< T > | transpose () const |
return the transpose of this matrix More... | |
vec3< T > & | operator[] (unsigned int const &i) |
return the i'th column vector More... | |
vec3< T > const & | operator[] (unsigned int const &i) const |
Public Attributes | |
vec3< T > | cv [2] |
template class for 2x3 matrices
|
inline |
create an uninitialized matrix
|
inline |
copy constructor
|
inlineexplicit |
construct a matrix from individual elements given in column-major order
|
inlineexplicit |
construct a matrix from column vectors
|
inlineexplicit |
extract the left 2x3 matrix from a 3x3 matrix
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
return the i'th column vector
return the i'th column vector of the matrix
|
inline |
|
inline |
return the transpose of this matrix
vec3<T> cs237::__detail::mat2x3< T >::cv[2] |