Jet  v1.3.3
Classes | Namespaces | Typedefs | Functions
matrix2x2.h File Reference
#include <jet/matrix.h>
#include <jet/vector2.h>
#include <array>
#include <limits>
#include "detail/matrix2x2-inl.h"

Go to the source code of this file.

Classes

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

Namespaces

 jet
 

Typedefs

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

Functions

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