aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/inverse.cpp
Commit message (Collapse)AuthorAge
* Fix inverse nullptr/asan errors for LU.Gravatar Antonio Sanchez2021-07-01
| | | | | | For empty or single-column matrices, the current `PartialPivLU` currently dereferences a `nullptr` or accesses memory out-of-bounds. Here we adjust the checks to avoid this.
* bug #1669: fix PartialPivLU/inverse with zero-sized matrices.Gravatar Gael Guennebaud2019-01-29
|
* Remove usage of #if EIGEN_TEST_PART_XX in unit tests that does not require ↵Gravatar Gael Guennebaud2018-07-17
| | | | them (splitting can thus be avoided for them)
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* Remove local Index typedef from unit-testsGravatar Gael Guennebaud2018-07-12
|
* bug #1509: fix computeInverseWithCheck for complexesGravatar Gael Guennebaud2018-04-04
|
* Fix shadow warnings triggered by clangGravatar Gael Guennebaud2015-06-09
|
* Workaround dead store warnings in unit tests.Gravatar Gael Guennebaud2015-02-18
|
* Fix inverse unit test making sure we try to invert an invertible matrixGravatar Gael Guennebaud2014-09-14
|
* Fix 4x4 inverse via SSE for submatricesGravatar Gael Guennebaud2014-07-31
|
* Introduce a TEST_SET_BUT_UNUSED_VARIABLE macro for initialized but unused ↵Gravatar Gael Guennebaud2013-06-25
| | | | variables in the unit tests and also fix a few other warnings.
* Workaround a bunch of stupid warnings in unit testsGravatar Gael Guennebaud2013-06-23
|
* Clean source code and unit tests with respect to -Wunused-local-typedefsGravatar Gael Guennebaud2013-04-10
|
* Fix bug #314:Gravatar Gael Guennebaud2012-11-06
| | | | | - remove most of the metaprogramming kung fu in MathFunctions.h (only keep functions that differs from the std) - remove the overloads for array expression that were in the std namespace
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* fix more variable-set-but-not-used warnings on gcc 4.6Gravatar Benoit Jacob2011-10-31
|
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* update inverse unit test to highlight another bug in SSE 4x4 inversion codeGravatar Gael Guennebaud2010-08-24
|
* fix inversion of 4x4 unaligned matricesGravatar Gael Guennebaud2010-08-24
|
* email changeGravatar Gael Guennebaud2010-06-24
|
* Utilize Index in all unit tests.Gravatar Hauke Heibel2010-06-20
|
* For 1x1 matrices we really need to check the abs diff of the determinants.Gravatar Hauke Heibel2010-06-11
|
* Adapted the determinant test for rank 1 matrices with zero determinant.Gravatar Hauke Heibel2010-06-10
|
* improve aliasing detection for inverse and add unit testGravatar Gael Guennebaud2010-06-02
|
* Further LU test improvements. I'm not aware of any test failures anymore, ↵Gravatar Benoit Jacob2010-02-23
| | | | | | 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.
* * FullPivLU: replace "remaining==0" termination condition (from Golub) by a ↵Gravatar Benoit Jacob2010-02-23
| | | | | | | | | fuzzy compare (fixes lu test failures when testing solve()) * LU test: set appropriate threshold and limit the number of times that a specially tricky test is run. (fixes lu test failures when testing rank()). * Tests: rename createRandomMatrixOfRank to createRandomProjectionOfRank
* fix nesting in Arraywrapper and nesting_opsGravatar Gael Guennebaud2010-02-09
|
* * 4x4 inverse: revert to cofactors methodGravatar Benoit Jacob2009-12-09
| | | | | | | * inverse tests: use createRandomMatrixOfRank, use more strict precision * tests: createRandomMatrixOfRank: support 1x1 matrices * determinant: nest the xpr * Minor: add comment
* 4x4 inverse:Gravatar Benoit Jacob2009-11-23
| | | | | * change block selection threshold from 1e-2 to 1e-1 * add rigorous precision test
* big huge changes, so i dont remember everything.Gravatar Benoit Jacob2009-10-28
| | | | | | | | | | * renaming, e.g. LU ---> FullPivLU * split tests framework: more robust, e.g. dont generate empty tests if a number is skipped * make all remaining tests use that splitting, as needed. * Fix 4x4 inversion (see stable branch) * Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices. * CMakeLists: more robust regexp to parse the version number * misc fixes in unit tests
* * make inverse() do a ReturnByValueGravatar Benoit Jacob2009-10-26
| | | | | | * add computeInverseWithCheck * doc improvements * update test
* big rewrite in Inverse.hGravatar Benoit Jacob2009-10-26
| | | | in particular, the API is essentially finalized and the 4x4 case is fixed to be numerically stable.
* * make PartialLU avoid to generate inf/nan when given a singular matrixGravatar Benoit Jacob2009-10-20
| | | | | | | (result undefined, but at least it won't take forever on intel 387) * add lots of comments, especially to LU.h * fix stuff I had broken in Inverse.h * split inverse test
* implement two levels of blocking in PartialLU => high speedupGravatar Gael Guennebaud2009-08-04
|
* implements a blocked version of PartialLUGravatar Gael Guennebaud2009-08-03
|
* bug fix in inverse for 1x1 matrix,Gravatar Gael Guennebaud2009-07-27
| | | | some compilation fixes in sparse_solvers
* another test in the non invertible caseGravatar Manuel Yguel2009-07-04
|
* * polish computeInverseWithCheck to share more code, fix documentation, fix ↵Gravatar Benoit Jacob2009-06-29
| | | | | | | coding style * add snippet for computeInverseWithCheck documentation * expand unit-tests to cover computeInverseWithCheck
* remove sentence "Eigen itself is part of the KDE project."Gravatar Benoit Jacob2009-05-22
| | | | it never made very precise sense. but now does it still make any?
* add a 4x4 inverse case which is not handled by the currentGravatar Gael Guennebaud2009-04-09
| | | | ei_compute_inverse_in_size4_case (reported by mikola on IRC)
* Update e-mail addressGravatar Benoit Jacob2008-11-24
|
* if EIGEN_NICE_RANDOM is defined, the random functions will return numbers withGravatar Benoit Jacob2008-09-01
| | | | | | few bits left of the comma and for floating-point types will never return zero. This replaces the custom functions in test/main.h, so one does not anymore need to think about that when writing tests.
* * bug fixes in: Dot, generalized eigen problem, singular matrix detetection ↵Gravatar Gael Guennebaud2008-08-23
| | | | | | | in Cholesky * fix all numerical instabilies in the unit tests, now all tests can be run 2000 times with almost zero failures.
* * bugfix in SolveTriangular found by Timothy Hunter (did not compiled for ↵Gravatar Gael Guennebaud2008-08-22
| | | | | | | | very small fixed size matrices) * bugfix in Dot unroller * added special random generator for the unit tests and reduced the tolerance threshold by an order of magnitude this fixes issues with sum.cpp but other tests still failed sometimes, this have to be carefully checked...
* update the inverse test a littleGravatar Benoit Jacob2008-07-26
| | | | | make use of static asserts in Map fix 2 warnings in CacheFriendlyProduct: unused var 'Vectorized'
* * Merge Extract and Part to the Part expression.Gravatar Gael Guennebaud2008-07-21
| | | | | | Renamed "MatrixBase::extract() const" to "MatrixBase::part() const" * Renamed static functions identity, zero, ones, random with an upper case first letter: Identity, Zero, Ones and Random.
* * big rework of Inverse.h:Gravatar Benoit Jacob2008-07-15
| | | | | | | | | | | - remove all invertibility checking, will be redundant with LU - general case: adapt to matrix storage order for better perf - size 4 case: handle corner cases without falling back to gen case. - rationalize with selectors instead of compile time if - add C-style computeInverse() * update inverse test. * in snippets, default cout precision to 3 decimal places * add some cmake module from kdelibs to support btl with cmake 2.4
* added a unit test for InverseGravatar Gael Guennebaud2008-05-31
discovered that m1 == m1.inverse().inverse() fails though m1.inverse()*m1 == I