#include <mat9d.h>
List of all members.
Detailed Description
Structure and algebraic operations for the matrix Mat9d
. The matrix elements of a Mat9d
object are written in "vector" form:
- Note:
- Some of these functions are marked as inline.
- Author:
- Jan Cholewinski, Toby D. Young 2010
Constructor & Destructor Documentation
Mat9d::Mat9d |
( |
) |
[inline] |
Constructor. Allocates memory for a matrix Mat9d
initialized with all elements equal to zero.
Mat9d::Mat9d |
( |
const double |
m_1, |
|
|
const double |
m_2, |
|
|
const double |
m_3, |
|
|
const double |
m_4, |
|
|
const double |
m_5, |
|
|
const double |
m_6, |
|
|
const double |
m_7, |
|
|
const double |
m_8, |
|
|
const double |
m_9 |
|
) |
| [inline] |
Constructor. Allocates memory for a matrix Mat9d
initialized with user defined elements .
Member Function Documentation
Mat9d Mat9d::operator* |
( |
const double |
a ) |
const [inline] |
Scalar-matrix subtraction . Multiply this
matrix by the scalar quantity .
Mat9d& Mat9d::operator*= |
( |
const double |
a ) |
[inline] |
Matrix multiplication operator. Multiply this
matrix by the constant .
Mat9d Mat9d::operator+ |
( |
const Mat9d & |
p ) |
const [inline] |
Matrix-matrix addition. Add matrix to this
matrix.
Mat9d& Mat9d::operator+= |
( |
const Mat9d & |
p ) |
[inline] |
Mat9d Mat9d::operator- |
( |
const Mat9d & |
p ) |
const [inline] |
Matrix-matrix subtraction. Subtract matrix from this
matrix.
Mat9d& Mat9d::operator-= |
( |
const Mat9d & |
p ) |
[inline] |
Inline matrix subtraction.
double& Mat9d::operator[] |
( |
const unsigned int |
index ) |
[inline] |
Read/write access to the index
th-component of this
matrix.
const double& Mat9d::operator[] |
( |
const unsigned int |
index ) |
const [inline] |
Read only access to the index
th-component of this
matrix.
double Mat9d::trace |
( |
) |
const [inline] |
Return the trace of this
matrix by summing over the diagonal elements of this
matrix, ie. .
Member Data Documentation
Actual values of the matrix elements of Mat9d
. See cleas documentation for more details.
The documentation for this struct was generated from the following file: