|
| template<int EigenSparseMatrixOptions> |
| static void | generateRandomSparseMatrix (Eigen::SparseMatrix< TReal, EigenSparseMatrixOptions > &eigenMatrix, Eigen::Index nbRows, Eigen::Index nbCols, TReal sparsity) |
| |
| template<class InputIt > |
| static void | generateFromTriplets (Eigen::SparseMatrix< TReal > &eigenMatrix, InputIt first, InputIt last, Eigen::Index nbRows, Eigen::Index nbCols) |
| |
| template<typename _DstScalar , int _DstOptions, typename _DstStorageIndex , typename _SrcScalar , int _SrcOptions, typename _SrcStorageIndex > |
| static void | copyFromEigen (Eigen::SparseMatrix< _DstScalar, _DstOptions, _DstStorageIndex > &dst, const Eigen::SparseMatrix< _SrcScalar, _SrcOptions, _SrcStorageIndex > &src) |
| |
| static void | copyFromEigen (linearalgebra::BaseMatrix &dst, const Eigen::SparseMatrix< TReal > &src) |
| |
| template<typename _AScalar , int _AOptions, typename _AStorageIndex , typename _BScalar , int _BOptions, typename _BStorageIndex > |
| static bool | compareSparseMatrix (const Eigen::SparseMatrix< _AScalar, _AOptions, _AStorageIndex > &A, const Eigen::SparseMatrix< _BScalar, _BOptions, _BStorageIndex > &B) |
| |
| template<typename _AScalar , int _AOptions, typename _AStorageIndex , typename _BScalar , int _BOptions, typename _BStorageIndex > |
| static bool | compareEigenSparseMatrix (const Eigen::SparseMatrix< _AScalar, _AOptions, _AStorageIndex > &A, const Eigen::SparseMatrix< _BScalar, _BOptions, _BStorageIndex > &B) |
| |
| static Real | matrixMaxDiff (const Matrix1 &m1, const Matrix2 &m2) |
| | return the maximum difference between corresponding entries, or the infinity if the matrices have different sizes More...
|
| |
| static Real | matrixMaxDiff (const sofa::type::Mat< M, N, Real > &m1, const Matrix2 &m2) |
| | Return the maximum difference between corresponding entries, or the infinity if the matrices have different sizes. More...
|
| |
| static Real | epsilon () |
| | the smallest real number More...
|
| |
| static Real | infinity () |
| | Infinity. More...
|
| |
| static bool | isSmall (Real r, Real ratio=1.) |
| | true if the magnitude of r is less than ratio*epsilon More...
|
| |
| static Real | vectorMaxDiff (const sofa::type::Vec< N, Real > &m1, const Vector2 &m2) |
| | return the maximum difference between corresponding entries, or the infinity if the vectors have different sizes More...
|
| |
| static Real | vectorMaxDiff (const sofa::type::Vec< N, Real > &m1, const sofa::type::Vec< N, Real > &m2) |
| | return the maximum difference between corresponding entries More...
|
| |