Gael Guennebaud
8ce4503494
add support for read/write sub sets of inner vectors (sparse module)
2009-01-27 22:48:17 +00:00
Benoit Jacob
d384671793
now these tests succeed with 10,000 repeats
2009-01-27 20:47:12 +00:00
Gael Guennebaud
4ac8cabf8a
fix my previous commit with EIGEN_EMPTY macro bug
2009-01-27 19:08:20 +00:00
Gael Guennebaud
4b09865b8f
check GSL version in cmake files
2009-01-27 16:04:16 +00:00
Gael Guennebaud
d7f60257dd
small fix related to GSL cmake stuff
2009-01-26 20:00:41 +00:00
Benoit Jacob
874ff5a0b4
fix msvc warnings (useful ones again) reported by gael on CDash
2009-01-26 17:56:04 +00:00
Gael Guennebaud
65e4ae4ff4
disable unordered_map for ICC
2009-01-26 12:47:58 +00:00
Gael Guennebaud
56c7e164f0
add partial count redux (adapted patch from Ricard Marxer)
2009-01-24 15:22:44 +00:00
Gael Guennebaud
81b0ab53cf
add fill() function as an alias for setConstant
2009-01-24 10:52:18 +00:00
Gael Guennebaud
9849931500
eventually it turns out that our current
...
EIGEN_WORK_AROUND_QT_BUG_CALLING_WRONG_OPERATOR_NEW_FIXED_IN_QT_4_5
is the right way to go for allowing placement new on a class having
overloaded operator new. Qt 4.5 won't add the :: prefix. (I still do not
understand how you can distinghish a placement new from an overloaded
operator new taking an allocator as argument...)
2009-01-23 16:31:03 +00:00
Gael Guennebaud
e7c48fac9b
sparse module: makes -= and += operator working
...
Question 1: why are *=scalar and /=scalar working right away ?
Same weirdness in DynamicSparseMatrix where operators += and -= work wihout
having to redefine them ???
2009-01-23 13:59:32 +00:00
Gael Guennebaud
899e2ada15
very minor update in test/CMakeLists.txt
2009-01-23 13:17:57 +00:00
Gael Guennebaud
6a722602e6
fix a few remaining warnings
...
and fix commainitializer unit test with MSVC
2009-01-23 12:26:32 +00:00
Gael Guennebaud
d3dcb04f2d
* fix compilation with gcc 3.4
...
* add an option to disable Qt testing
2009-01-23 09:50:16 +00:00
Benoit Jacob
291ee89684
add computeRotationScaling and computeScalingRotation in SVD
...
add convenience functions in Transform
reimplement Transform::rotation() to use that
add unit-test
2009-01-22 16:39:08 +00:00
Benoit Jacob
876b1fb842
add polar decomposition on both sides, in SVD, with test
2009-01-22 15:00:47 +00:00
Benoit Jacob
9e3c73110a
fix a bunch of warnings (actual issues) reported by Frank
2009-01-22 00:09:34 +00:00
Benoit Jacob
7ccea9222c
fix warnings
2009-01-21 20:06:16 +00:00
Gael Guennebaud
52cf07d266
sparse module:
...
* add row(i), col(i) functions
* add prune() function to remove small coefficients
2009-01-21 18:46:04 +00:00
Benoit Jacob
5f43a42ee7
* remove set(), revert to old behavior where = resizes
...
* try to be clever in matrix ctors and operator=: be lazy when we can, always allow
to copy rowvector into columnvector, check the template parameters,
try to factor the code better
* add missing copy ctor in UnalignedType
* fix bug in the traits of DiagonalProduct
* renaming: EIGEN_TUNE_FOR_CPU_CACHE_SIZE
* update the dox a little
2009-01-21 17:10:23 +00:00
Marijn Kruisselbrink
a5fbf27843
don't claim googlehash is there when only qt4 has been found :)
2009-01-20 22:15:51 +00:00
Benoit Jacob
294682a25a
lu test:don't fail
2009-01-20 19:06:39 +00:00
Gael Guennebaud
f645d1f911
* complete the support of QVector via a QtAlignedMalloc header
...
* add a unit test for QVector which shows the issue with QVector::fill
2009-01-20 16:50:47 +00:00
Gael Guennebaud
3134d5290b
forgot to include the update of the qr test
2009-01-20 10:38:56 +00:00
Gael Guennebaud
36c478cd6e
optimize A * v product for A sparse and row major
2009-01-19 22:29:28 +00:00
Gael Guennebaud
178858f1bd
add a flexible sparse matrix class designed for fast matrix assembly
2009-01-19 15:20:45 +00:00
Gael Guennebaud
ccdcebcf03
Sparse module: add support for sparse selfadjoint * dense
2009-01-15 18:52:14 +00:00
Gael Guennebaud
9a4b7998cf
Sparse module: add row/col methods to the iterators
2009-01-15 14:16:41 +00:00
Gael Guennebaud
87241089e1
Sparse module: bugfix in SparseMatrix::resize(), now the indices are
...
correctly initialized to 0.
2009-01-15 13:30:50 +00:00
Gael Guennebaud
2d53466fa9
Sparse module:
...
* improved performance of mat*=scalar
* bug fix in cwise*
2009-01-14 21:27:54 +00:00
Gael Guennebaud
0b606dcccd
Add support for sparse * dense and dense * sparse matrix/vector products
2009-01-14 17:41:55 +00:00
Gael Guennebaud
c4c70669d1
Big rewrite in the Sparse module: SparseMatrixBase no longer inherits 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
2009-01-14 14:24:10 +00:00
Gael Guennebaud
ee87f5ee49
s/EIGEN_WORK_DIRECTORY/EIGEN_WORK_DIR in testsuite script
2009-01-14 10:43:36 +00:00
Gael Guennebaud
62d01d3cf4
hm it seems cmake does not understand CYGWIN (=> UNIX)
2009-01-12 19:39:50 +00:00
Gael Guennebaud
534dc60672
improved a bit the testsuite script
2009-01-12 18:10:41 +00:00
Benoit Jacob
4d44ca226e
* make std::vector specializations also for Transform and for Quaternion
...
* update test_stdvector
* Quaternion() does nothing (instead of bug)
* update test_geometry
* some renaming
2009-01-12 16:06:04 +00:00
Gael Guennebaud
9d97c06d9d
fix a warning in test/alignedbox
2009-01-12 15:29:51 +00:00
Gael Guennebaud
1fc17c4792
remove stupid output in test/meta
2009-01-12 15:27:25 +00:00
Benoit Jacob
336ad58213
* move cwise *= and /= to Core (like * and /)
...
* tidy the StdVector module
* fix warnings (especially a | instead of ||) in stdvector test
2009-01-12 13:41:40 +00:00
Gael Guennebaud
af5034b3c0
add a clean configuration summary for the unit tests (useful to analyze the dashboards)
2009-01-12 13:40:02 +00:00
Gael Guennebaud
7f881e814f
another warning fix
2009-01-12 13:01:31 +00:00
Gael Guennebaud
b365f443a2
make the testsuite works on windows with nmake
2009-01-12 12:53:41 +00:00
Gael Guennebaud
484ed3bbe2
fix a warning in test/sparse.h
2009-01-12 12:52:36 +00:00
Gael Guennebaud
92959aa5f3
add the possiblity to disable Fortran (workaround cmake's bug
2009-01-12 12:51:40 +00:00
Gael Guennebaud
2db5888253
update testsuite script
2009-01-12 11:55:52 +00:00
Gael Guennebaud
9e8f437a6f
extend stdvector test with more push_back...
2009-01-11 21:59:04 +00:00
Benoit Jacob
824b75f182
forgot to commit updated test
2009-01-11 21:04:23 +00:00
Benoit Jacob
0c1ef2f4c6
make the std::vector fix work also with dynamic size Eigen objects, e.g.
...
std::vector<VectorXd>
update unit test
2009-01-10 13:10:23 +00:00
Benoit Jacob
3efe6e4176
remove ei_new_allocator
...
remove corresponding part of test_dynalloc
2009-01-10 02:50:09 +00:00
Benoit Jacob
335d3bcf05
Based on code + help from Alex Stapleton:
...
*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
2009-01-09 23:26:45 +00:00