mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Allows Lower|Upper as a template argument of CG and MINRES: in this case the full matrix will be considered.
This commit is contained in:
@@ -21,6 +21,7 @@ template<typename T> void test_minres_T()
|
||||
// Diagonal preconditioner
|
||||
MINRES<SparseMatrix<T>, Lower, DiagonalPreconditioner<T> > minres_colmajor_lower_diag;
|
||||
MINRES<SparseMatrix<T>, Upper, DiagonalPreconditioner<T> > minres_colmajor_upper_diag;
|
||||
MINRES<SparseMatrix<T>, Upper, DiagonalPreconditioner<T> > minres_colmajor_uplo_diag;
|
||||
|
||||
// call tests for SPD matrix
|
||||
CALL_SUBTEST( check_sparse_spd_solving(minres_colmajor_lower_I) );
|
||||
@@ -28,6 +29,7 @@ template<typename T> void test_minres_T()
|
||||
|
||||
CALL_SUBTEST( check_sparse_spd_solving(minres_colmajor_lower_diag) );
|
||||
CALL_SUBTEST( check_sparse_spd_solving(minres_colmajor_upper_diag) );
|
||||
CALL_SUBTEST( check_sparse_spd_solving(minres_colmajor_uplo_diag) );
|
||||
|
||||
// TO DO: symmetric semi-definite matrix
|
||||
// TO DO: symmetric indefinite matrix
|
||||
|
||||
Reference in New Issue
Block a user