Benoit Jacob
46f0fe3b4b
SVD:
...
* implement default ctor, users were relying on the compiler generater one and reported issues on the forum
* turns out that we crash on 1x1 matrices but work on Nx1. No interest in fixing that, so just guard by assert and unit test.
2009-10-23 18:05:55 -04:00
Benoit Jacob
81fd1e9060
support gcc 3.3
2009-10-22 15:53:23 -04:00
Hauke Heibel
76d578fb99
This does fix #61 . See the comments in #61 for details.
2009-10-22 09:29:59 +02:00
Hauke Heibel
ffee27bf72
Fixed uninitialized variables in unit tests.
...
Fixed /W4 warning C4512 (LU was left out on purpose).
2009-10-14 08:33:36 +02:00
Benoit Jacob
b66516e746
fix bug #42 : add missing Transform::Identity()
2009-09-19 20:00:36 -04:00
Benoit Jacob
09f77b356d
hg add the unit test
2009-09-16 14:29:44 -04:00
Benoit Jacob
8097487b9d
backport bugfix in visitor (didn't work on rowvectors, fixed by splitting the vector case away from the matrix case)
2009-09-16 14:28:49 -04:00
Benoit Jacob
3590911de2
backport the fix to bug #50 : compilation errors with swap
2009-09-02 17:04:34 -04:00
Benoit Jacob
82df5b4a24
backport the new StdVector as NewStdVector
...
make StdVector be a wrapper around it if EIGEN_USE_NEW_STDVECTOR is defined
otherwise StdVector doesn't change ---> compatibility is preserved
backport unit-test
2009-08-29 12:13:52 -04:00
Marcus D. Hanwell
258ea3ea02
Proper fix for linking to the Qt libraries (and others)
...
My initial fix was incorrect, the libraries must be quoted when being
passed to the add test macro, but must be unquoted when passed to the
target_link_libraries function.
2009-08-21 14:08:53 -04:00
Benoit Jacob
9d64571963
disable fortran by default, because of bug http://public.kitware.com/Bug/view.php?id=9220 in cmake.
2009-08-21 11:48:59 -04:00
Marcus D. Hanwell
65487176e3
Improved quoting of tests when added to the build.
...
This fixes an issue where multiple versions of the Qt libraries are
available, if the Qt library variable is not quoted an error was
generated as only the first part 'optimized' was used by the create test
macro.
2009-08-01 13:43:06 -04:00
Gael Guennebaud
0361e8a7aa
no more workaround, the -r option of clone works with branch name too
2009-07-31 17:24:57 +02:00
Gael Guennebaud
b7035b67b7
workaround to make the testsuite ctest script to work with the 2.0 branch, but that's only for unix systems
2009-07-31 17:07:43 +02:00
Gael Guennebaud
a1eae7ad00
update the ctest script for the 2.0 branch
2009-07-31 16:27:31 +02:00
Gael Guennebaud
fa44566305
bugfix for a = a * b; when a has to be resized
...
(transplanted from a551107ccea8fe027d2672cb82f6b70e741bb996
)
2009-07-20 10:35:47 +02:00
Benoit Jacob
5a18f7545d
this is essentially backporting all the changes made in the Sparse module up to KDE SVN revision r945600, aka changeset:
...
df9dfa145547529bf71afd4c6e8f3af947acaad0
This is what is needed to make Step (in KDE/kdeedu) build.
The rest of Eigen (outside of Sparse) is unaffected except for a few trivial changes that were needed.
calling this 2.0.3, will tag if no problem.
2009-06-04 18:02:20 +02:00
Benoit Jacob
1304e43f15
backport 964558: add missing setZero (etc) overloads that were mentioned in the tutorial
...
this should be safe as it's covered by the updated unit-test
2009-05-06 21:42:31 +00:00
Gael Guennebaud
0104c34b7d
backporting r964165 (gcc 3.3 fixes)
2009-05-06 09:40:41 +00:00
Benoit Jacob
c9edcc5acd
backport 963931: fix linearRegression
2009-05-05 16:52:10 +00:00
Gael Guennebaud
d6bb34fa5a
backporting various bug fixes related to MapBase/Map/Block and new
...
StdVector workaround because the previous was really too limited. I hope
it is not a too big change for a "stable" branch.
2009-03-24 08:20:43 +00:00
Benoit Jacob
d38504a4c8
backport 921254-921261 to the branch: disable alignment altogether on exotic platforms
2009-02-16 16:29:33 +00:00
Benoit Jacob
d286300362
backport unit-tests fixes
2009-01-27 20:56:47 +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