#include <sofa/defaulttype/Mat.h>


Go to the source code of this file.
Namespaces | |
| namespace | sofa |
| Main SOFA namespace. | |
| namespace | sofa::helper |
| Utility helper classes that we need, but that are not the core of the plateform. | |
Functions | |
| template<class Real > | |
| void | sofa::helper::adjoint_transpose (const defaulttype::Mat< 3, 3, Real > &M, defaulttype::Mat< 3, 3, Real > &MadjT) |
| Set MadjT to transpose of inverse of M times determinant of M. | |
| template<class Real > | |
| Real | sofa::helper::norm_inf (const defaulttype::Mat< 3, 3, Real > &M) |
| Compute the infinity norm of M. | |
| template<class Real > | |
| Real | sofa::helper::norm_one (const defaulttype::Mat< 3, 3, Real > &M) |
| Compute the 1 norm of M. | |
| template<class Real > | |
| int | sofa::helper::find_max_col (const defaulttype::Mat< 3, 3, Real > &M) |
| Return index of column of M containing maximum abs entry, or -1 if M=0. | |
| template<class Real > | |
| void | sofa::helper::make_reflector (const defaulttype::Vec< 3, Real > &v, defaulttype::Vec< 3, Real > &u) |
| Setup u for Household reflection to zero all v components but first. | |
| template<class Real > | |
| void | sofa::helper::reflect_cols (defaulttype::Mat< 3, 3, Real > &M, const defaulttype::Vec< 3, Real > &u) |
| Apply Householder reflection represented by u to column vectors of M. | |
| template<class Real > | |
| void | sofa::helper::reflect_rows (defaulttype::Mat< 3, 3, Real > &M, const defaulttype::Vec< 3, Real > &u) |
| Apply Householder reflection represented by u to row vectors of M. | |
| template<class Real > | |
| void | sofa::helper::do_rank1 (defaulttype::Mat< 3, 3, Real > &M, defaulttype::Mat< 3, 3, Real > &Q) |
| Find orthogonal factor Q of rank 1 (or less) M. | |
| template<class Real > | |
| void | sofa::helper::do_rank2 (defaulttype::Mat< 3, 3, Real > &M, defaulttype::Mat< 3, 3, Real > &MadjT, defaulttype::Mat< 3, 3, Real > &Q) |
| Find orthogonal factor Q of rank 2 (or less) M using adjoint transpose. | |
| template<class Real > | |
| Real | sofa::helper::polar_decomp (const defaulttype::Mat< 3, 3, Real > &M, defaulttype::Mat< 3, 3, Real > &Q, defaulttype::Mat< 3, 3, Real > &S) |
1.5.7.1