aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/lu.cpp
Commit message (Collapse)AuthorAge
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* the min/max macros to detect unprotected min/max were undefined by some std ↵Gravatar Gael Guennebaud2011-08-19
| | | | | | header, so let's declare them after and do the respective fixes ;)
* add the possibility to configure the maximal matrix size in the unit testsGravatar Gael Guennebaud2011-07-12
|
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* Utilize Index in all unit tests.Gravatar Hauke Heibel2010-06-20
|
* Fighting for a green dashboard! Next warning's gone.Gravatar Hauke Heibel2010-06-08
|
* - Added problem size constructor to decompositions that did not have one. It ↵Gravatar Adolfo Rodriguez Tsouroukdissian2010-04-21
| | | | | | | | | | | preallocates member data structures. - Updated unit tests to check above constructor. - In the compute() method of decompositions: Made temporary matrices/vectors class members to avoid heap allocations during compute() (when dynamic matrices are used, of course). These changes can speed up decomposition computation time when a solver instance is used to solve multiple same-sized problems. An added benefit is that the compute() method can now be invoked in contexts were heap allocations are forbidden, such as in real-time control loops. CAVEAT: Not all of the decompositions in the Eigenvalues module have a heap-allocation-free compute() method. A future patch may address this issue, but some required API changes need to be incorporated first.
* factorize default performance related settings to a single fileGravatar Gael Guennebaud2010-03-03
| | | | | included after the architecture specific files such that they can be adapted by each platform.
* add reconstructedMatrix() to LLT, and LUsGravatar Gael Guennebaud2010-02-24
| | | | | => they show that some improvements have still to be done for permutations, tr*tr, trapezoidal matrices
* 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
* Renamed PlainMatrixType to PlainObject (Array != Matrix).Gravatar Hauke Heibel2010-02-20
| | | | Renamed ReturnByValue::ReturnMatrixType ReturnByValue::ReturnType (again, Array != Matrix).
* EIGEN_ENUM_MIN ---> EIGEN_SIZE_MINGravatar Benoit Jacob2010-01-27
|
* Port FullPivLU to PermutationMatrixGravatar Benoit Jacob2009-11-16
|
* last round of changes, mainly to return derived types instead of base types, ↵Gravatar Benoit Jacob2009-11-09
| | | | and fix various compilation issues
* introduce ei_xxx_return_value and ei_xxx_impl for xxx in solve,kernel,implGravatar Benoit Jacob2009-11-03
| | | | put them in a new internal 'misc' directory
* *port the Cholesky module to the new solve() APIGravatar Benoit Jacob2009-10-29
| | | | *improve documentation
* 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
* kill ei_add_test_multi. Now the macro ei_add_test does all that ↵Gravatar Benoit Jacob2009-10-19
| | | | automatically, by parsing the source file. No risk anymore to specify the wrong number of tests! Also, introduce CALL_SUBTESTX for X=1..10 that allows to port existing code much quicker. And port already the product* and eigensolver* files.
* Add new default option EIGEN_SPLIT_LARGE_TESTS and cmake macro ↵Gravatar Benoit Jacob2009-10-19
| | | | | | | | ei_add_test_multi. When enabled, large tests are split into smaller executables. This needs minimal changes in the unit tests. Updated the LU test to use it.
* * LU unit test: finally test fixed sizesGravatar Benoit Jacob2009-10-19
| | | | * ReturnByValue: after all don't eval to temporary for generic MatrixBase impl
* remove the m_originalMatrix member. Instead, image() now takes the original ↵Gravatar Benoit Jacob2009-10-18
| | | | matrix as parameter. It was the only method to use it anyway. Introduce m_isInitialized.
* oops, didn't want to commit thatGravatar Benoit Jacob2009-10-18
|
* big huge changes in LU!Gravatar Benoit Jacob2009-10-18
| | | | | | | | | | | | | * continue the decomposition until a pivot is exactly zero; don't try to compute the rank in the decomposition itself. * Instead, methods such as rank() use a new internal parameter called 'threshold' to determine which pivots are to be considered nonzero. * The threshold is by default determined by defaultThreshold() but the user can override that by calling useThreshold(value). * In solve/kernel/image, don't assume that the diagonal of U is sorted in decreasing order, because that's only approximately true. Additional work was needed to extract the right pivots.
* move also inverse() to ReturnByValue, by doing a solve on NestByValue<Identity>.Gravatar Benoit Jacob2009-09-26
| | | | also: adding resize() to MatrixBase was really needed ;)
* allow to do xpr = solve(b) etc... just by adding a dummy MatrixBase::resize()Gravatar Benoit Jacob2009-09-22
|
* * make LU::kernel() and LU::image() also use ReturnByValueGravatar Benoit Jacob2009-09-22
| | | | | * make them return zero vector in the degenerate case, instead of asserting (let's stick to the principle that we only assert on memory errors)
* convert LU::solve() to the new APIGravatar Benoit Jacob2009-09-22
|
* small improvementsGravatar Benoit Jacob2009-08-24
|
* * 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
* mergeGravatar Benoit Jacob2009-05-22
|\
| * 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?
* | LU and PartialLU decomposition interface unification.Gravatar Hauke Heibel2009-05-22
|/ | | | | | Added default ctor and public compute method as well as safe-guards against uninitialized usage. Added unit tests for the safe-guards.
* * introduced method createRandomMatrixOfRank (R = U*D*V where U,V unitary, D ↵Gravatar Hauke Heibel2009-05-17
| | | | | | | | r-by-c diag. with rank non-zero values) * switched lu/qr tests to be using createRandomMatrixOfRank * removed unused methods doSomeRankPreservingOperations * removed NOTE about doSomeRankPreservingOperations
* fix a bunch of warnings (actual issues) reported by FrankGravatar Benoit Jacob2009-01-22
|
* lu test:don't failGravatar Benoit Jacob2009-01-20
|
* LU class:Gravatar Benoit Jacob2008-12-17
| | | | | | * add image() and computeImage() methods, with unit test * fix a mistake in the definition of KernelResultType * fix and improve comments
* 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...
* * add LU unit-test. Seems like we have very good numerical stability!Gravatar Benoit Jacob2008-08-09
* some cleanup, and grant me a copyright line on the determinant test.