|
Finite Element Domain Decomposition Library
FEDDLib
|
This class represents a templated small Matrix of type T. Primarily created for 2x2 and 3x3 matrices. Consequently, most features are limited to a certain matrix size. More...
#include <SmallMatrix.hpp>
Public Types | |
| typedef unsigned | UN |
| typedef std::vector< T > | Vec_T_Type |
| typedef const std::vector< T > | Vec_T_Const_Type |
| typedef std::vector< Vec_T_Type > | Vec2D_T_Type |
Public Member Functions | |
| SmallMatrix (int size) | |
| SmallMatrix (int size, T v) | |
| Vec_T_Type & | operator[] (int i) |
| Vec_T_Const_Type & | operator[] (int i) const |
| SmallMatrix< T > & | operator= (const SmallMatrix< T > &sm) |
| SmallMatrix< T > | operator* (const SmallMatrix< T > &other) |
| SmallMatrix< T > | operator+ (const SmallMatrix< T > &other) |
| SmallMatrix< T > & | operator*= (const SmallMatrix< T > &other) |
| SmallMatrix< T > & | operator+= (const SmallMatrix< T > &other) |
| int | multiply (const SmallMatrix< T > &bMat, SmallMatrix< T > &cMat) const |
| int | add (const SmallMatrix< T > &bMat, SmallMatrix< T > &cMat) const |
| int | innerProduct (const SmallMatrix< T > &bMat, T &res) const |
| double | innerProduct (const SmallMatrix< T > &bMat) const |
| void | trace (T &res) const |
| void | scale (T scalar) |
| int | size () const |
| void | resize (UN size) |
| void | print () const |
| double | computeInverse (SmallMatrix< T > &inverse) const |
| double | computeDet () const |
| double | computeScaling () const |
This class represents a templated small Matrix of type T. Primarily created for 2x2 and 3x3 matrices. Consequently, most features are limited to a certain matrix size.