diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-02-23 15:40:24 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-02-23 15:40:24 -0500 |
commit | d92df336ad21c7f8e0289f8ac3084b6313a17fe4 (patch) | |
tree | 32c090cb95df3120c87354ad16fc7a4330e88a29 /test/inverse.cpp | |
parent | 7dc75380c101b9b4f3882f78fe6a5e9ae8963cac (diff) |
Further LU test improvements. I'm not aware of any test failures anymore, not even with huge numbers of repetitions.
Finally the createRandomMatrixOfRank() function is renamed to createRandomPIMatrixOfRank, where PI stands for 'partial isometry', that is, a matrix whose singular values are 0 or 1.
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r-- | test/inverse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp index 3f6138e0c..1e567ad14 100644 --- a/test/inverse.cpp +++ b/test/inverse.cpp @@ -42,7 +42,7 @@ template<typename MatrixType> void inverse(const MatrixType& m) m2(rows, cols), mzero = MatrixType::Zero(rows, cols), identity = MatrixType::Identity(rows, rows); - createRandomProjectionOfRank(rows,rows,rows,m1); + createRandomPIMatrixOfRank(rows,rows,rows,m1); m2 = m1.inverse(); VERIFY_IS_APPROX(m1, m2.inverse() ); |