version 3.3

mat.h File Reference

#include <vrs/vec.h>
#include <vrs/vec_mat_ops.h>

Go to the source code of this file.

Namespaces

namespace  VRS

Classes

class  VRS::Mat< DIM, T >
 This template class represents a DIMxDIM matrix with component type T. More...

Functions

template<unsigned int DIM, typename T>
std::ostream & VRS::operator<< (std::ostream &out, const Mat< DIM, T > &mat)
 Stream out operator.
template<unsigned int DIM, typename T>
bool VRS::operator!= (Mat< DIM, T > const &m0, Mat< DIM, T > const &m1)
 Operator !=.
template<unsigned int DIM, typename T>
bool VRS::operator> (Mat< DIM, T > const &m0, Mat< DIM, T > const &m1)
 Operator > (lexicographic ordering of the components).
template<unsigned int DIM, typename T>
bool VRS::operator<= (Mat< DIM, T > const &m0, Mat< DIM, T > const &m1)
 Operator <= (lexicographic ordering of the components).
template<unsigned int DIM, typename T>
bool VRS::operator>= (Mat< DIM, T > const &m0, Mat< DIM, T > const &m1)
 Operator >= (lexicographic ordering of the components).
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator+ (Mat< DIM, T > const &m0, Mat< DIM, T > const &m1)
 Operator +.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator- (Mat< DIM, T > const &m0, Mat< DIM, T > const &m1)
 Operator -.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator* (Mat< DIM, T > const &m0, Mat< DIM, T > const &m1)
 Operator *.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator+ (Mat< DIM, T > const &m0, T s1)
 Operator +.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator- (Mat< DIM, T > const &m0, T s1)
 Operator -.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator* (Mat< DIM, T > const &m0, T s1)
 Operator *.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator+ (T s0, Mat< DIM, T > const &m1)
 Operator +.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator- (T s0, Mat< DIM, T > const &m1)
 Operator -.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator* (T s0, Mat< DIM, T > const &m1)
 Operator *.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator* (Mat< DIM, T > const &mat)
 Operator - (unary).
template<unsigned int DIM, typename T>
Mat< DIM, T > & VRS::operator++ (Mat< DIM, T > &v)
 Operator ++ (pre-increment).
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator++ (Mat< DIM, T > &v, int)
 Operator ++ (post-increment).
template<unsigned int DIM, typename T>
Mat< DIM, T > & VRS::operator-- (Mat< DIM, T > &v)
 Operator -- (pre-decrement).
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::operator-- (Mat< DIM, T > &v, int)
 Operator -- (post-decrement).
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::transpose (Mat< DIM, T > const &x)
 Transposes the matrix.
template<typename T>
VRS::det (Mat< 1, T > const &x)
 Returns the determinate of the given 1x1 matrix.
template<typename T>
VRS::det (Mat< 2, T > const &x)
 Returns the determinate of the given 2x2 matrix.
template<typename T>
VRS::det (Mat< 3, T > const &x)
 Returns the determinate of the given 3x3 matrix.
template<unsigned int DIM, typename T>
VRS::det (Mat< DIM, T > const &x)
 Returns the determinate of the given DIMxDIM matrix.
template<typename T>
Mat< 1, T > VRS::inverse (Mat< 1, T > const &x)
 Returns the inverse of the given 1x1 matrix.
template<typename T>
Mat< 2, T > VRS::inverse (Mat< 2, T > const &x)
 Returns the inverse of the given 2x2 matrix.
template<unsigned int DIM, typename T>
Mat< DIM, T > VRS::inverse (Mat< DIM, T > const &x)
 Returns the inverse of the given DIMxDIM matrix.
template<unsigned int DIM, typename T>
Mat< DIM+1, T > VRS::scaling (Vec< DIM, T > const &x)
 Returns a scaling matrix for the given vector.
template<unsigned int DIM, typename T>
Mat< DIM+1, T > VRS::translation (Vec< DIM, T > const &x)
 Returns a translation matrix for the given vector.


Generated on Wed May 23 06:00:15 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact