![]() |
|
#include "sparse.h"
Functions | |
template<typename Scalar > | |
void | initSPD (double density, Matrix< Scalar, Dynamic, Dynamic > &refMat, SparseMatrix< Scalar > &sparseMat) |
template<typename Scalar > | |
void | sparse_solvers (int rows, int cols) |
EIGEN_DECLARE_TEST (sparse_solvers) | |
EIGEN_DECLARE_TEST | ( | sparse_solvers | ) |
References CALL_SUBTEST_1, CALL_SUBTEST_2, Eigen::g_repeat, i, s, and sparse_solvers().
void initSPD | ( | double | density, |
Matrix< Scalar, Dynamic, Dynamic > & | refMat, | ||
SparseMatrix< Scalar > & | sparseMat | ||
) |
References Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::cols(), Eigen::PlainObjectBase< Derived >::cols(), UniformPSDSelfTest::density, Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::finalize(), ForceNonZeroDiag, i, initSparse(), Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::insert(), j, k, Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::rows(), Eigen::PlainObjectBase< Derived >::rows(), and Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::setZero().
References cols, Eigen::PlainObjectBase< Derived >::cols(), UniformPSDSelfTest::density, ForceNonZeroDiag, Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::innerIndexPtr(), m2(), MakeLowerTriangular, MakeUpperTriangular, matB(), max, Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::nonZeros(), Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::outerIndexPtr(), res, Eigen::PlainObjectBase< Derived >::resize(), rows, Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::valuePtr(), vec1(), VERIFY_IS_APPROX, VERIFY_IS_EQUAL, and oomph::PseudoSolidHelper::Zero.
Referenced by EIGEN_DECLARE_TEST().