Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Typedefs | Functions
omMatrix2D.h File Reference
#include "omMathConfig.h"
#include "../data/omString.h"
#include "../data/omStringBuffer.h"
#include "omVector2D.h"
#include "omMatrixND.h"

Classes

class  om::math::MatrixND< T, 2, 2 >
 A class that represents a 2x2 matrix. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Typedefs

typedef MatrixND< int, 2, 2 > om::math::Matrix2i
 
typedef MatrixND< float, 2, 2 > om::math::Matrix2f
 
typedef MatrixND< double, 2, 2 > om::math::Matrix2d
 

Functions

template<typename T >
VectorND< T, 2 > om::math::operator* (const VectorND< T, 2 > &vector, const MatrixND< T, 2, 2 > &matrix)
 'Reverse' multiply a vector/point by matrix: multiply it by the matrix's transpose. More...
 
template<typename T >
MatrixND< T, 2, 2 > om::math::operator* (const T &value, const MatrixND< T, 2, 2 > &matrix)
 Multiply a matrix's elements by a scalar and return the resulting matrix. More...
 
template<typename T >
MatrixND< T, 2, 2 > om::math::operator+ (const T &value, const MatrixND< T, 2, 2 > &matrix)
 Add a scalar to the elements of a matrix and return the resulting matrix. More...
 
template<typename T >
MatrixND< T, 2, 2 > om::math::abs (const MatrixND< T, 2, 2 > &matrix)
 Return the absolute value of the specified matrix, such that the every component is positive. More...