|
LvArray
|
Contains the implementation of the 2x2 and 3x3 matrix operations. More...
#include "genericTensorOps.hpp"

Go to the source code of this file.
Classes | |
| struct | LvArray::tensorOps::internal::SquareMatrixOps< M > |
| Performs operations on square matrices. More... | |
| struct | LvArray::tensorOps::internal::SquareMatrixOps< 2 > |
| Performs operations on 2x2 square matrices. More... | |
| struct | LvArray::tensorOps::internal::SquareMatrixOps< 3 > |
| Performs operations on 3x3 square matrices. More... | |
Namespaces | |
| LvArray | |
| The top level namespace. | |
| LvArray::tensorOps | |
| Contains operations for operating on compile time sized vectors and matrices. | |
Functions | |
| template<std::ptrdiff_t M, typename FloatingPoint > | |
| static LVARRAY_HOST_DEVICE void | LvArray::tensorOps::internal::shiftAndScale (FloatingPoint(&matrix)[(M *(M+1))/2], FloatingPoint &shift, FloatingPoint &maxEntryAfterShift) |
Shift the and scale the MxM symmetric matrix matrix. More... | |
Contains the implementation of the 2x2 and 3x3 matrix operations.
|
inlinestatic |
Shift the and scale the MxM symmetric matrix matrix.
| M | The size of the matrix. |
| FloatingPoint | A floating point type. |
| matrix | The matrix to shift and scale. |
| shift | The amount the matrix is shifted. |
| maxEntryAfterShift | The amount the matrix is scaled by after the shift. |
matrix is SYM_SIZE< M >, but the intel compiler complains so the calculation must be inlined.
1.8.13