Matrix2x2.h File Reference
#include <Core/Matrix/Matrix.h>
#include <Core/Vector/Vector2.h>
#include <array>
#include <limits>
#include <Core/Matrix/Matrix2x2-Impl.h>

Go to the source code of this file.

Classes

class  CubbyFlow::Matrix< T, 2, 2 >
 2-D matrix class. More...
 

Namespaces

 CubbyFlow
 

Typedefs

template<typename T >
using CubbyFlow::Matrix2x2 = Matrix< T, 2, 2 >
 Type alias for 2x2 matrix. More...
 
using CubbyFlow::Matrix2x2F = Matrix2x2< float >
 Float-type 2x2 matrix. More...
 
using CubbyFlow::Matrix2x2D = Matrix2x2< double >
 Double-type 2x2 matrix. More...
 

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 >
Matrix2x2< T > CubbyFlow::operator/ (const Matrix2x2< T > &a, T b)
 Returns a' / b, where every element of matrix a' is a. More...
 
template<typename T >
Matrix2x2< T > CubbyFlow::operator/ (const T &a, const Matrix2x2< T > &b)
 Returns a / b', where every element of matrix b' is b. More...