PeTar
N-body code for collisional gravitational systems
Matrix3< T > Class Template Reference

#include <matrix3.hpp>

Public Member Functions

 Matrix3 ()
 
 Matrix3 (const T c)
 
 Matrix3 (const Matrix3 &c)
 
 Matrix3 (const T _xx, const T _xy, const T _xz, const T _yx, const T _yy, const T _yz, const T _zx, const T _zy, const T _zz)
 
template<typename U >
 operator Matrix3< U > () const
 
void rotation (const T I, const T OMEGA, const T omega)
 
template<class Tvec >
Tvec operator* (const Tvec &vec) const
 

Public Attributes

xx
 
xy
 
xz
 
yx
 
yy
 
yz
 
zx
 
zy
 
zz
 

Friends

std::ostream & operator<< (std::ostream &c, Matrix3 &mtmp)
 

Constructor & Destructor Documentation

◆ Matrix3() [1/4]

template<class T >
Matrix3< T >::Matrix3 ( )
inline

◆ Matrix3() [2/4]

template<class T >
Matrix3< T >::Matrix3 ( const T  c)
inline

◆ Matrix3() [3/4]

template<class T >
Matrix3< T >::Matrix3 ( const Matrix3< T > &  c)
inline

◆ Matrix3() [4/4]

template<class T >
Matrix3< T >::Matrix3 ( const T  _xx,
const T  _xy,
const T  _xz,
const T  _yx,
const T  _yy,
const T  _yz,
const T  _zx,
const T  _zy,
const T  _zz 
)
inline

Member Function Documentation

◆ operator Matrix3< U >()

template<class T >
template<typename U >
Matrix3< T >::operator Matrix3< U > ( ) const
inline

◆ operator*()

template<class T >
template<class Tvec >
Tvec Matrix3< T >::operator* ( const Tvec &  vec) const
inline

◆ rotation()

template<class T >
void Matrix3< T >::rotation ( const T  I,
const T  OMEGA,
const T  omega 
)
inline

Friends And Related Function Documentation

◆ operator<<

template<class T >
std::ostream& operator<< ( std::ostream &  c,
Matrix3< T > &  mtmp 
)
friend

Member Data Documentation

◆ xx

template<class T >
T Matrix3< T >::xx

◆ xy

template<class T >
T Matrix3< T >::xy

◆ xz

template<class T >
T Matrix3< T >::xz

◆ yx

template<class T >
T Matrix3< T >::yx

◆ yy

template<class T >
T Matrix3< T >::yy

◆ yz

template<class T >
T Matrix3< T >::yz

◆ zx

template<class T >
T Matrix3< T >::zx

◆ zy

template<class T >
T Matrix3< T >::zy

◆ zz

template<class T >
T Matrix3< T >::zz

The documentation for this class was generated from the following file: