Searching...
No Matches
matrix3x3.h File Reference
`#include <math/vector2d.h>`
`#include <math/vector3.h>`

Go to the source code of this file.

## Classes

class  MATRIX3x3< T >
MATRIX3x3 describes a general 3x3 matrix. More...

## Typedefs

typedef MATRIX3x3< double > MATRIX3x3D

## Functions

template<class T >
std::ostream & operator<< (std::ostream &aStream, const MATRIX3x3< T > &aMatrix)

template<class T >
MATRIX3x3< T > const operator* (MATRIX3x3< T > const &aA, MATRIX3x3< T > const &aB)
Matrix multiplication.

template<class T >
VECTOR2< T > const operator* (MATRIX3x3< T > const &aA, VECTOR2< T > const &aB)
Multiplication with a 2D vector, the 3rd z-component is assumed to be 1.

template<class T >
VECTOR3< T > const operator* (MATRIX3x3< T > const &aA, VECTOR3< T > const &aB)

template<class T , class S >
MATRIX3x3< T > const operator* (MATRIX3x3< T > const &aA, T aScalar)
Multiplication with a scalar.

template<class T , class S >
MATRIX3x3< T > const operator* (T aScalar, MATRIX3x3< T > const &aMatrix)

template<class T , class S >
MATRIX3x3< T > const operator* (MATRIX3x3< T > const &aMatrix, S aScalar)

template<class T , class S >
MATRIX3x3< T > const operator* (S aScalar, MATRIX3x3< T > const &aMatrix)

## ◆ MATRIX3x3D

 typedef MATRIX3x3 MATRIX3x3D

Definition at line 473 of file matrix3x3.h.

## ◆ operator*() [1/7]

template<class T >
 MATRIX3x3< T > const operator* ( MATRIX3x3< T > const & aA, MATRIX3x3< T > const & aB )

Matrix multiplication.

Definition at line 304 of file matrix3x3.h.

References MATRIX3x3< T >::m_data.

## ◆ operator*() [2/7]

template<class T , class S >
 MATRIX3x3< T > const operator* ( MATRIX3x3< T > const & aA, T aScalar )

Multiplication with a scalar.

## ◆ operator*() [3/7]

template<class T >
 VECTOR2< T > const operator* ( MATRIX3x3< T > const & aA, VECTOR2< T > const & aB )

Multiplication with a 2D vector, the 3rd z-component is assumed to be 1.

Definition at line 323 of file matrix3x3.h.

References MATRIX3x3< T >::m_data, VECTOR2< T >::x, and VECTOR2< T >::y.

## ◆ operator*() [4/7]

template<class T >
 VECTOR3< T > const operator* ( MATRIX3x3< T > const & aA, VECTOR3< T > const & aB )

Definition at line 336 of file matrix3x3.h.

References MATRIX3x3< T >::m_data, VECTOR3< T >::x, VECTOR3< T >::y, and VECTOR3< T >::z.

## ◆ operator*() [5/7]

template<class T , class S >
 MATRIX3x3< T > const operator* ( MATRIX3x3< T > const & aMatrix, S aScalar )

Definition at line 360 of file matrix3x3.h.

References MATRIX3x3< T >::m_data.

## ◆ operator*() [6/7]

template<class T , class S >
 MATRIX3x3< T > const operator* ( S aScalar, MATRIX3x3< T > const & aMatrix )

Definition at line 377 of file matrix3x3.h.

## ◆ operator*() [7/7]

template<class T , class S >
 MATRIX3x3< T > const operator* ( T aScalar, MATRIX3x3< T > const & aMatrix )

## ◆ operator<<()

template<class T >
 std::ostream & operator<< ( std::ostream & aStream, const MATRIX3x3< T > & aMatrix )

Definition at line 422 of file matrix3x3.h.

References MATRIX3x3< T >::m_data.