mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
the previous test works for Dynamic sizes only
This commit is contained in:
parent
96a18ef230
commit
901bcdd2a8
@ -131,9 +131,7 @@ void jacobisvd_test_all_computation_options(const MatrixType& m)
|
||||
jacobisvd_solve<MatrixType, QRPreconditioner>(m, ComputeFullU | ComputeThinV);
|
||||
jacobisvd_solve<MatrixType, QRPreconditioner>(m, ComputeThinU | ComputeFullV);
|
||||
jacobisvd_solve<MatrixType, QRPreconditioner>(m, ComputeThinU | ComputeThinV);
|
||||
}
|
||||
|
||||
{
|
||||
JacobiSVD<MatrixType, QRPreconditioner> svd(m, ComputeThinU | ComputeThinV);
|
||||
VERIFY_IS_APPROX(m, svd.matrixU() * svd.singularValues().asDiagonal() * svd.matrixV().transpose());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user