mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Pulled latest updates from the trunk
This commit is contained in:
commit
f2a842294f
@ -15,16 +15,18 @@
|
|||||||
template<typename T, typename I> void test_incomplete_cholesky_T()
|
template<typename T, typename I> void test_incomplete_cholesky_T()
|
||||||
{
|
{
|
||||||
typedef SparseMatrix<T,0,I> SparseMatrixType;
|
typedef SparseMatrix<T,0,I> SparseMatrixType;
|
||||||
ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, AMDOrdering<I> > > cg_illt_lower_amd;
|
ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, AMDOrdering<I> > > cg_illt_lower_amd;
|
||||||
ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, NaturalOrdering<I> > > cg_illt_lower_nat;
|
ConjugateGradient<SparseMatrixType, Lower, IncompleteCholesky<T, Lower, NaturalOrdering<I> > > cg_illt_lower_nat;
|
||||||
ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, AMDOrdering<I> > > cg_illt_upper_amd;
|
ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, AMDOrdering<I> > > cg_illt_upper_amd;
|
||||||
ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, NaturalOrdering<I> > > cg_illt_upper_nat;
|
ConjugateGradient<SparseMatrixType, Upper, IncompleteCholesky<T, Upper, NaturalOrdering<I> > > cg_illt_upper_nat;
|
||||||
|
ConjugateGradient<SparseMatrixType, Upper|Lower, IncompleteCholesky<T, Lower, AMDOrdering<I> > > cg_illt_uplo_amd;
|
||||||
|
|
||||||
|
|
||||||
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_lower_amd) );
|
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_lower_amd) );
|
||||||
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_lower_nat) );
|
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_lower_nat) );
|
||||||
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_upper_amd) );
|
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_upper_amd) );
|
||||||
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_upper_nat) );
|
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_upper_nat) );
|
||||||
|
CALL_SUBTEST( check_sparse_spd_solving(cg_illt_uplo_amd) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_incomplete_cholesky()
|
void test_incomplete_cholesky()
|
||||||
|
Loading…
Reference in New Issue
Block a user