| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
scalar types)
|
|
|
|
| |
regression unit tests for sparse and selfadjointview inputs.
|
|
|
|
| |
expensive when running on x87 fp unit
|
|
|
|
|
|
| |
methods in changeset 7031a851d45a8526474ac1ac972ad12a48e99f1a
.
|
| |
|
| |
|
|
|
|
| |
matrix is unitary.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
3x3 matrices. The tolerance to detect stable cross products was too optimistic.
Add respective unit tests.
|
|
|
|
| |
ComputeFromTridiagonal()
|
|
|
|
| |
variables in the unit tests and also fix a few other warnings.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
decomposition
|
| |
|
|
|
|
| |
Tridiagonalization::matrixT() more efficient and future proof.
|
| |
|
|
|
|
|
|
|
| |
Renamed meta_{true|false} to {true|false}_type, meta_if to conditional, is_same_type to is_same, un{ref|pointer|const} to remove_{reference|pointer|const} and makeconst to add_const.
Changed boolean type 'ret' member to 'value'.
Changed 'ret' members refering to types to 'type'.
Adapted all code occurences.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* uses named values instead of bools
|
|
|
|
|
|
|
|
|
|
| |
* Clean a bit the Triadiagonalization making sure it the inplace
function really works inplace ;), and that only the lower
triangular part of the matrix is referenced.
* Remove the Tridiagonalization member object of SelfAdjointEigenSolver
exploiting the in place capability of HouseholdeSequence.
* Update unit test to check SelfAdjointEigenSolver only consider
the lower triangular part.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* use SelfAdjointView instead of Eigen2's SelfAdjoint flag.
* add tests and documentation.
* allow eigenvalues() for non-selfadjoint matrices.
* they no longer depend only on SelfAdjointEigenSolver, so move them to
a separate file
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* add a new Eigen2Support module including Cwise, Flagged, and some other deprecated stuff
* add a few cwiseXxx functions
* adapt a few modules to use cwiseXxx instead of the .cwise() prefix
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
- perhaps we can find a better name ?
- note that the QR module still includes the EigenSolver module for compatibility
|
|
|
|
| |
is real, and make Tridiagonalization use it
|
| |
|
|
|
|
| |
Note that it is already used in Tridiagonalization.
|
| |
|