|
Graph Framework
|
Class to represent matrix quantities. More...
#include <vector.hpp>
Public Member Functions | |
| matrix_quantity (shared_vector< T, SAFE_MATH > r1, shared_vector< T, SAFE_MATH > r2, shared_vector< T, SAFE_MATH > r3) | |
| Construct a new matrix_quantity. | |
| shared_vector< T, SAFE_MATH > | dot (shared_vector< T, SAFE_MATH > v) |
| Multiply matrix by vector. | |
Protected Attributes | |
| shared_vector< T, SAFE_MATH > | r1 |
| First row of the matrix. | |
| shared_vector< T, SAFE_MATH > | r2 |
| Second row of the matrix. | |
| shared_vector< T, SAFE_MATH > | r3 |
| Third row of the matrix. | |
Class to represent matrix quantities.
| T | Base type of the calculation. |
| SAFE_MATH | Use Safe Math operations. |
|
inline |
Construct a new matrix_quantity.
| [in] | r1 | Row 1 matrix component. |
| [in] | r2 | Row 2 matrix component. |
| [in] | r3 | Row 3 matrix component. |
|
inline |
Multiply matrix by vector.
| [in] | v | Vector vector. |