aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/CMakeLists.txt
Commit message (Collapse)AuthorAge
* don't claim googlehash is there when only qt4 has been found :)Gravatar Marijn Kruisselbrink2009-01-20
|
* * complete the support of QVector via a QtAlignedMalloc headerGravatar Gael Guennebaud2009-01-20
| | | | * add a unit test for QVector which shows the issue with QVector::fill
* Big rewrite in the Sparse module: SparseMatrixBase no longer inherits ↵Gravatar Gael Guennebaud2009-01-14
| | | | | | | | | | | | | | MatrixBase. That means a lot of features which were available for sparse matrices via the dense (and super slow) implemention are no longer available. All features which make sense for sparse matrices (aka can be implemented efficiently) will be implemented soon, but don't expect to see an API as rich as for the dense path. Other changes: * no block(), row(), col() anymore. * instead use .innerVector() to get a col or row vector of a matrix. * .segment(), start(), end() will be back soon, not sure for block() * faster cwise product
* add a clean configuration summary for the unit tests (useful to analyze the ↵Gravatar Gael Guennebaud2009-01-12
| | | | dashboards)
* add the possiblity to disable Fortran (workaround cmake's bugGravatar Gael Guennebaud2009-01-12
|
* extend stdvector test with more push_back...Gravatar Gael Guennebaud2009-01-11
|
* Based on code + help from Alex Stapleton:Gravatar Benoit Jacob2009-01-09
| | | | | | | | | | | *Add Eigen/StdVector header. Including it #includes<vector> and "Core" and generates a partial specialization of std::vector<T> for T=Eigen::Matrix<...> that will work even with vectorizable fixed-size Eigen types (working around a design issue in the c++ STL) *Add unit-test CCMAIL: alex.stapleton@gmail.com
* Add cdash.org support:Gravatar Gael Guennebaud2009-01-08
| | | | | | | | | | * the dashboard is there: http://my.cdash.org/index.php?project=Eigen * now you can run the tests from the top build dir and submit report like that (from the top build dir): ctest -D Experimental * todo: - add some nighlty builds (I'll add a few on my computer) - add valgrind memory checks, performances tests, compilation time tests, etc.
* Add a vectorization_logic unit test for assign and sum.Gravatar Gael Guennebaud2009-01-07
| | | | | Need to add dot and more tests, but it seems I've already found some room for improvement in sum.
* Sparse module:Gravatar Gael Guennebaud2009-01-07
| | | | | | | | * extend unit tests * add support for generic sum reduction and dot product * optimize the cwise()* : this is a special case of CwiseBinaryOp where we only have to process the coeffs which are not null for *both* matrices. Perhaps there exist some other binary operations like that ?
* didn't meant to commit the fortran check. but anyway, unfortunately it ↵Gravatar Armin Berres2009-01-05
| | | | doesn't work the way iot should. the test fails and cmake will terminate if it doesn't find a fortran compiler
* inherit from ei_with_aligned_operator_new even with disabled vectorizationGravatar Armin Berres2009-01-05
|
* add unit-test checking the assertion on unaligned arrays -- checkingGravatar Benoit Jacob2008-12-31
| | | | that it's triggered when and only when it should.
* * add unit-tests to check allowed and forbiddent mixing of different scalar ↵Gravatar Benoit Jacob2008-12-22
| | | | | | | types * fix issues in Product revealed by this test * in Dot.h forbid mixing of different types (at least for now, might allow real.dot(complex) in the future).
* * the Upper->UpperTriangular changeGravatar Benoit Jacob2008-12-20
| | | | * finally get ei_add_test right
* fix nasty little bug in ei_add_testGravatar Benoit Jacob2008-12-20
|
* more MSVC cmake fixesGravatar Gael Guennebaud2008-12-17
|
* some cmake fixes for windows and GSLGravatar Gael Guennebaud2008-12-17
|
* prefix all Eigen cmake variable with EIGEN_ and switched to lowercase for ↵Gravatar Gael Guennebaud2008-12-02
| | | | all cmake files
* clean FindUmfpack.cmake wrt enable_language(Fortran)Gravatar Gael Guennebaud2008-12-02
|
* Several improvements in sparse module:Gravatar Gael Guennebaud2008-11-05
| | | | | | | | | * add a LDL^T factorization with solver using code from T. Davis's LDL library (LPGL2.1+) * various bug fixes in trianfular solver, matrix product, etc. * improve cmake files for the supported libraries * split the sparse unit test * etc.
* unit-tests: link to external libs only for the tests which require themGravatar Gael Guennebaud2008-10-26
|
* Add an axis aligned box in the geometry module.Gravatar Gael Guennebaud2008-10-26
| | | | | | | | Some naming questions: - for "extend" we could also think of: "expand", "union", "add" - same for "clamp": "crop", "intersect" - same for "contains": "isInside", "intersect" => ah "intersect" is conflicting, so that eliminates this one !
* sparse module:Gravatar Gael Guennebaud2008-10-21
| | | | | - remove some useless stuff => let's focus on a single sparse matrix format - finalize the new RandomSetter
* * sparse LU: add extraction of L,U,P, and Q, as well as determinantGravatar Gael Guennebaud2008-10-20
| | | | | for both backends. * extended a bit the sparse unit tests
* add unit tests for sparse LU and fix a couple of warningsGravatar Gael Guennebaud2008-10-20
|
* * add cmake files to find (optional) supported librariesGravatar Gael Guennebaud2008-10-20
| | | | * add unit tests for sparse cholesky
* extend sparse unit tests with transpose and matrix productGravatar Gael Guennebaud2008-10-04
|
* * Extend a bit ParametrizedLine and move it to a separate file,Gravatar Gael Guennebaud2008-09-03
| | | | | | add unit-tests for it. * remove "using namespace std" in test/main.h such that the compilation bug found today in SVD won't happen again.
* Solve a big issue with data alignment and dynamic allocation:Gravatar Gael Guennebaud2008-09-03
| | | | | | | | | | | | | | | | * add a WithAlignedOperatorNew class with overloaded operator new * make Matrix (and Quaternion, Transform, Hyperplane, etc.) use it if needed such that "*(new Vector4) = xpr" does not failed anymore. * Please: make sure your classes having fixed size Eigen's vector or matrice attributes inherit WithAlignedOperatorNew * add a ei_new_allocator STL memory allocator to use with STL containers. This allocator really calls operator new on your types (unlike GCC's new_allocator). Example: std::vector<Vector4f> data(10); will segfault if the vectorization is enabled, instead use: std::vector<Vector4f,ei_new_allocator<Vector4f> > data(10); NOTE: you only have to worry if you deal with fixed-size matrix types with "sizeof(matrix_type)%16==0"...
* * Add an HyperPlane class in the Geometry moduleGravatar Gael Guennebaud2008-08-28
| | | | | | with its respective unit-test. Feel free to discuss the API on the ML. * Some bugfix in unitOrthogonal found by the hyperplane unit test.
* * split Meta.h to Meta.h (generic meta programming) and XprHelper.h (relates ↵Gravatar Gael Guennebaud2008-08-24
| | | | | | | | | to eigen mechanism) * added a meta.cpp unit test * EIGEN_TUNE_FOR_L2_CACHE_SIZE now represents L2 block size in Bytes (whence the ei_meta_sqrt...) * added a CustomizeEigen.dox page * added a TOC to QuickStartGuide.dox
* * add documentation of the cool (?) "print with format" featureGravatar Gael Guennebaud2008-08-23
| | | | | * move the ioformat.cpp test to a documentation example * rename IoFormat => IOFormat
* * 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.
* *patch by Daniel Gomez:Gravatar Gael Guennebaud2008-08-21
| | | | | | - bugfix in SparseMatrix - add a sparse unit test * renamed Transform::affine => linear
* * Add the possibility to customize the output of matrices, e.g.:Gravatar Gael Guennebaud2008-08-21
| | | | | | | | IoFormat OctaveFmt(4, AlignCols, ", ", ";\n", "", "", "[", "]"); cout << mat.format(OctaveFmt); The first "4" is the precision. Documentation missing. * Some compilation fixes
* Add a packetmath unit test, re-enable the comma-initializer unit test,Gravatar Gael Guennebaud2008-08-20
| | | | and bug fix in PacketMath/SSE
* Fix bugs in Sum.h, add unit-testGravatar Benoit Jacob2008-08-20
|
* Added a SVD module:Gravatar Gael Guennebaud2008-08-19
| | | | | | | - the decompostion code has been adfapted from JAMA - handles non square matrices of size MxN with M>=N - does not work for complex matrices - includes a solver where the parts corresponding to zero singular values are set to zero
* Various compilation fixes for MSVC 9. All tests compile but someGravatar Gael Guennebaud2008-08-19
| | | | still fail at runtime in ei_aligned_free() (even without vectorization).
* * add Regression module, from eigen1, improved, with doc and unit-test.Gravatar Benoit Jacob2008-08-11
| | | | | | | | | * fix .normalized() so that Random().normalized() works; since the return type became complicated to write down i just let it return an actual vector, perhaps not optimal. * add Sparse/CMakeLists.txt. I suppose that it was intentional that it didn't have CMakeLists, but in <=2.0 releases I'll just manually remove Sparse.
* * 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.
* *implement LU solver (solves any rectangular system)Gravatar Benoit Jacob2008-08-09
| | | | | | *in test/CMakeLists : modify EI_ADD_TEST so that 2nd argument is additional compiler flags. used to add -O2 to test_product_large so it doesn't take forever.
* * LU decomposition, supporting all rectangular matrices, with fullGravatar Benoit Jacob2008-08-04
| | | | | | | | | | pivoting for better numerical stability. For now the only application is determinant. * New determinant unit-test. * Disable most of Swap.h for now as it makes LU fail (mysterious). Anyway Swap needs a big overhaul as proposed on IRC. * Remnants of old class Inverse removed. * Some warnings fixed.
* Optimizations:Gravatar Gael Guennebaud2008-08-01
| | | | | | | | * faster matrix-matrix and matrix-vector products (especially for not aligned cases) * faster tridiagonalization (make it using our matrix-vector impl.) Others: * fix Flags of Map * split the test_product to two smaller ones
* * implement slice vectorization. Because it uses unalignedGravatar Benoit Jacob2008-06-22
| | | | | | | | | packet access, it is not certain that it will bring a performance improvement: benchmarking needed. * improve logic choosing slice vectorization. * fix typo in SSE packet math, causing crash in unaligned case. * fix bug in Product, causing crash in unaligned case. * add TEST_SSE3 CMake option.
* * added a pseudo expression Array giving access to:Gravatar Gael Guennebaud2008-06-20
| | | | | | | | - matrix-scalar addition/subtraction operators, e.g.: m.array() += 0.5; - matrix/matrix comparison operators, e.g.: if (m1.array() < m2.array()) {} * fix compilation issues with Transform and gcc < 4.1
* Started a Transform class in the Geometry module to representGravatar Gael Guennebaud2008-06-15
| | | | | homography. Fix indentation in Quaternion.h
* Add QR and Cholesky module instantiations in the lib.Gravatar Gael Guennebaud2008-06-14
| | | | To try it with the unit tests set the cmake variable TEST_LIB to ON.
* add a geometry unit test and fix a couple of typo in Quaternion.hGravatar Gael Guennebaud2008-06-03
|