Bsoft  2.1.0
Bernard's software package
Matrix3 Class Reference

#include <Matrix3.h>

Public Member Functions

 Matrix3 ()
 
 Matrix3 (const double v)
 
 Matrix3 (const double *v)
 
 Matrix3 (const vector< double > &v)
 
 Matrix3 (const double d0, const double d1, const double d2, const double d3, const double d4, const double d5, const double d6, const double d7, const double d8)
 
 Matrix3 (const Matrix3 &m)
 
 Matrix3 (Quaternion q)
 
template<typename T >
 Matrix3 (Vector3< T > axis, double angle)
 
 Matrix3 (double tilt, double axis)
 
template<typename Type1 , typename Type2 >
 Matrix3 (Vector3< Type1 > &from_vec, Vector3< Type2 > &to_vec)
 
Quaternion quaternion () const
 
Vector3< double > & operator[] (long i)
 
Matrix3 operator= (const Matrix3 &m)
 
Matrix3 operator+= (const Matrix3 &m)
 
Matrix3 operator+ (const Matrix3 &m)
 
Matrix3 operator-= (const Matrix3 &m)
 
Matrix3 operator- (const Matrix3 &m)
 
Matrix3 operator*= (const Matrix3 &m)
 
Matrix3 operator* (const Matrix3 &m)
 
Matrix3 operator*= (const double v)
 
Matrix3 operator* (const double v)
 
Matrix3 operator/= (const double v)
 
Matrix3 operator/ (const double v)
 
bool operator== (const Matrix3 &m)
 
template<typename T >
Vector3< T > operator* (Vector3< T > &v)
 
template<typename T >
vector< T > operator* (vector< T > &v)
 
template<typename T >
Matrix3 operator/= (Vector3< T > &v)
 
template<typename T >
Matrix3 operator/ (Vector3< T > &v)
 
double determinant ()
 
double trace ()
 
Matrix3 transpose () const
 
void normalize ()
 
Matrix3 rotation (const Matrix3 &mat1, const Matrix3 &mat2)
 
Matrix3 singular_value_decomposition ()
 

Detailed Description

Definition at line 17 of file Matrix3.h.

Constructor & Destructor Documentation

◆ Matrix3() [1/10]

Matrix3::Matrix3 ( )
inline

Definition at line 44 of file Matrix3.h.

◆ Matrix3() [2/10]

Matrix3::Matrix3 ( const double  v)
inline

Definition at line 46 of file Matrix3.h.

◆ Matrix3() [3/10]

Matrix3::Matrix3 ( const double *  v)
inline

Definition at line 47 of file Matrix3.h.

◆ Matrix3() [4/10]

Matrix3::Matrix3 ( const vector< double > &  v)
inline

Definition at line 53 of file Matrix3.h.

◆ Matrix3() [5/10]

Matrix3::Matrix3 ( const double  d0,
const double  d1,
const double  d2,
const double  d3,
const double  d4,
const double  d5,
const double  d6,
const double  d7,
const double  d8 
)
inline

Definition at line 59 of file Matrix3.h.

◆ Matrix3() [6/10]

Matrix3::Matrix3 ( const Matrix3 &  m)
inline

Definition at line 66 of file Matrix3.h.

◆ Matrix3() [7/10]

Matrix3::Matrix3 ( Quaternion  q)
inline

Definition at line 68 of file Matrix3.h.

◆ Matrix3() [8/10]

template<typename T >
Matrix3::Matrix3 ( Vector3< T >  axis,
double  angle 
)
inline

Definition at line 73 of file Matrix3.h.

◆ Matrix3() [9/10]

Matrix3::Matrix3 ( double  tilt,
double  axis 
)
inline

Definition at line 78 of file Matrix3.h.

◆ Matrix3() [10/10]

template<typename Type1 , typename Type2 >
Matrix3::Matrix3 ( Vector3< Type1 > &  from_vec,
Vector3< Type2 > &  to_vec 
)
inline

Definition at line 85 of file Matrix3.h.

Member Function Documentation

◆ determinant()

double Matrix3::determinant ( )
inline

Definition at line 260 of file Matrix3.h.

◆ normalize()

void Matrix3::normalize ( )
inline

Definition at line 294 of file Matrix3.h.

◆ operator*() [1/4]

Matrix3 Matrix3::operator* ( const double  v)
inline

Definition at line 218 of file Matrix3.h.

◆ operator*() [2/4]

Matrix3 Matrix3::operator* ( const Matrix3 &  m)
inline

Definition at line 196 of file Matrix3.h.

◆ operator*() [3/4]

template<typename T >
Vector3<T> Matrix3::operator* ( Vector3< T > &  v)
inline

Definition at line 238 of file Matrix3.h.

◆ operator*() [4/4]

template<typename T >
vector<T> Matrix3::operator* ( vector< T > &  v)
inline

Definition at line 244 of file Matrix3.h.

◆ operator*=() [1/2]

Matrix3 Matrix3::operator*= ( const double  v)
inline

Definition at line 214 of file Matrix3.h.

◆ operator*=() [2/2]

Matrix3 Matrix3::operator*= ( const Matrix3 &  m)
inline

Definition at line 192 of file Matrix3.h.

◆ operator+()

Matrix3 Matrix3::operator+ ( const Matrix3 &  m)
inline

Definition at line 180 of file Matrix3.h.

◆ operator+=()

Matrix3 Matrix3::operator+= ( const Matrix3 &  m)
inline

Definition at line 176 of file Matrix3.h.

◆ operator-()

Matrix3 Matrix3::operator- ( const Matrix3 &  m)
inline

Definition at line 188 of file Matrix3.h.

◆ operator-=()

Matrix3 Matrix3::operator-= ( const Matrix3 &  m)
inline

Definition at line 184 of file Matrix3.h.

◆ operator/() [1/2]

Matrix3 Matrix3::operator/ ( const double  v)
inline

Definition at line 227 of file Matrix3.h.

◆ operator/() [2/2]

template<typename T >
Matrix3 Matrix3::operator/ ( Vector3< T > &  v)
inline

Definition at line 256 of file Matrix3.h.

◆ operator/=() [1/2]

Matrix3 Matrix3::operator/= ( const double  v)
inline

Definition at line 223 of file Matrix3.h.

◆ operator/=() [2/2]

template<typename T >
Matrix3 Matrix3::operator/= ( Vector3< T > &  v)
inline

Definition at line 251 of file Matrix3.h.

◆ operator=()

Matrix3 Matrix3::operator= ( const Matrix3 &  m)
inline

Definition at line 172 of file Matrix3.h.

◆ operator==()

bool Matrix3::operator== ( const Matrix3 &  m)
inline

Definition at line 231 of file Matrix3.h.

◆ operator[]()

Vector3<double>& Matrix3::operator[] ( long  i)
inline

Definition at line 169 of file Matrix3.h.

◆ quaternion()

Quaternion Matrix3::quaternion ( ) const
inline

Definition at line 129 of file Matrix3.h.

◆ rotation()

Matrix3 Matrix3::rotation ( const Matrix3 &  mat1,
const Matrix3 &  mat2 
)
inline

Definition at line 313 of file Matrix3.h.

◆ singular_value_decomposition()

Matrix3 Matrix3::singular_value_decomposition ( )
inline

Definition at line 320 of file Matrix3.h.

◆ trace()

double Matrix3::trace ( )
inline

Definition at line 265 of file Matrix3.h.

◆ transpose()

Matrix3 Matrix3::transpose ( ) const
inline

Definition at line 268 of file Matrix3.h.


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