Matrix2x2-Impl.h File Reference
#include <algorithm>
#include <cassert>

Go to the source code of this file.

Namespaces

 CubbyFlow
 

Functions

template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator- (const Matrix< T, 2, 2 > &a)
 Returns a matrix with opposite sign. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator+ (const Matrix< T, 2, 2 > &a, const Matrix< T, 2, 2 > &b)
 Returns a + b (element-size). More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator+ (const Matrix< T, 2, 2 > &a, const T b)
 Returns a + b', where every element of matrix b' is b. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator+ (const T a, const Matrix< T, 2, 2 > &b)
 Returns a' + b, where every element of matrix a' is a. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator- (const Matrix< T, 2, 2 > &a, const Matrix< T, 2, 2 > &b)
 Returns a - b (element-size). More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator- (const Matrix< T, 2, 2 > &a, T b)
 Returns a - b', where every element of matrix b' is b. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator- (T a, const Matrix< T, 2, 2 > &b)
 Returns a' - b, where every element of matrix a' is a. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator* (const Matrix< T, 2, 2 > &a, T b)
 Returns a * b', where every element of matrix b' is b. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator* (T a, const Matrix< T, 2, 2 > &b)
 Returns a' * b, where every element of matrix a' is a. More...
 
template<typename T >
Vector2< T > CubbyFlow::operator* (const Matrix< T, 2, 2 > &a, const Vector2< T > &b)
 Returns a * b. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator* (const Matrix< T, 2, 2 > &a, const Matrix< T, 2, 2 > &b)
 Returns a * b. More...
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator/ (const Matrix< T, 2, 2 > &a, T b)
 
template<typename T >
Matrix< T, 2, 2 > CubbyFlow::operator/ (T a, const Matrix< T, 2, 2 > &b)