Sensor Scol plugin
Multi platform sensors for handled devices
Public Member Functions | Static Public Member Functions
Matrix3x3d Class Reference

Public Member Functions

 Matrix3x3d (double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
 
 Matrix3x3d (const Matrix3x3d &o)
 
void set (double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
 
void set (Matrix3x3d o)
 
void setZero ()
 
void setIdentity ()
 
void setDiagonal (double d)
 
double get (int row, int col)
 
void set (int row, int col, double value)
 
void getColumn (int col, Vector3d &v)
 
void setColumn (int col, Vector3d v)
 
void scale (double s)
 
void plusEquals (Matrix3x3d b)
 
void minusEquals (Matrix3x3d b)
 
void transpose ()
 
void transpose (Matrix3x3d &result)
 
double determinant ()
 
bool invert (Matrix3x3d &result)
 

Static Public Member Functions

static void add (Matrix3x3d a, Matrix3x3d b, Matrix3x3d &result)
 
static void mult (Matrix3x3d a, Matrix3x3d b, Matrix3x3d &result)
 
static void mult (Matrix3x3d a, Vector3d v, Vector3d &result)
 

Detailed Description

Definition at line 10 of file Matrix3x3d.h.

Constructor & Destructor Documentation

◆ Matrix3x3d() [1/3]

Definition at line 4 of file Matrix3x3d.cpp.

◆ Matrix3x3d() [2/3]

Matrix3x3d ( double  m00,
double  m01,
double  m02,
double  m10,
double  m11,
double  m12,
double  m20,
double  m21,
double  m22 
)

Definition at line 9 of file Matrix3x3d.cpp.

◆ Matrix3x3d() [3/3]

Matrix3x3d ( const Matrix3x3d o)

Definition at line 24 of file Matrix3x3d.cpp.

Member Function Documentation

◆ add()

void add ( Matrix3x3d  a,
Matrix3x3d  b,
Matrix3x3d result 
)
static

Definition at line 157 of file Matrix3x3d.cpp.

◆ determinant()

double determinant ( )

Definition at line 185 of file Matrix3x3d.cpp.

◆ get()

double get ( int  row,
int  col 
)

Definition at line 83 of file Matrix3x3d.cpp.

◆ getColumn()

void getColumn ( int  col,
Vector3d v 
)

Definition at line 93 of file Matrix3x3d.cpp.

◆ invert()

bool invert ( Matrix3x3d result)

Definition at line 192 of file Matrix3x3d.cpp.

◆ minusEquals()

void minusEquals ( Matrix3x3d  b)

Definition at line 123 of file Matrix3x3d.cpp.

◆ mult() [1/2]

void mult ( Matrix3x3d  a,
Matrix3x3d  b,
Matrix3x3d result 
)
static

Definition at line 165 of file Matrix3x3d.cpp.

◆ mult() [2/2]

void mult ( Matrix3x3d  a,
Vector3d  v,
Vector3d result 
)
static

Definition at line 178 of file Matrix3x3d.cpp.

◆ plusEquals()

void plusEquals ( Matrix3x3d  b)

Definition at line 115 of file Matrix3x3d.cpp.

◆ scale()

void scale ( double  s)

Definition at line 107 of file Matrix3x3d.cpp.

◆ set() [1/3]

void set ( double  m00,
double  m01,
double  m02,
double  m10,
double  m11,
double  m12,
double  m20,
double  m21,
double  m22 
)

Definition at line 32 of file Matrix3x3d.cpp.

◆ set() [2/3]

void set ( int  row,
int  col,
double  value 
)

Definition at line 88 of file Matrix3x3d.cpp.

◆ set() [3/3]

void set ( Matrix3x3d  o)

Definition at line 47 of file Matrix3x3d.cpp.

◆ setColumn()

void setColumn ( int  col,
Vector3d  v 
)

Definition at line 100 of file Matrix3x3d.cpp.

◆ setDiagonal()

void setDiagonal ( double  d)

Definition at line 76 of file Matrix3x3d.cpp.

◆ setIdentity()

void setIdentity ( )

Definition at line 63 of file Matrix3x3d.cpp.

◆ setZero()

void setZero ( )

Definition at line 55 of file Matrix3x3d.cpp.

◆ transpose() [1/2]

void transpose ( )

Definition at line 131 of file Matrix3x3d.cpp.

◆ transpose() [2/2]

void transpose ( Matrix3x3d result)

Definition at line 144 of file Matrix3x3d.cpp.


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