Commit Graph

11628 Commits

Author SHA1 Message Date
Benoit Jacob
c9a2c3738e lots of fixes for complex numbers. unittests now test complex numbers. 2007-08-12 10:59:07 +00:00
Benoit Jacob
71268227d4 Big rework of the Traits system, unittests updated. 2007-08-12 09:32:17 +00:00
Benoit Jacob
ca438b2c12 Unit-tests updated for the stuff in the previous commit. 2007-07-23 07:39:05 +00:00
Benoit Jacob
f1bd09024b Big overhaul and simplification of the NumericTraits system.
Add a utility header for random numbers (might be merged into NumericTraits)
2007-07-23 07:38:07 +00:00
Benoit Jacob
d62af65d7f port TestNumericTraits to QTestLib. This revealed some shortcomings in tvmet's infrastructure,
in particular it lacks adequate fuzzy compares. will port that from eigen1.
2007-07-21 10:36:47 +00:00
Benoit Jacob
b6dedaf745 remove two unused files 2007-07-21 10:25:11 +00:00
Benoit Jacob
37bd64b496 Remove remaining per-element math functions. Remove defines for IEEE, SYSV and complex
math. Now the user has to define himself EIGEN_USE_COMPLEX if he wants complex support.
Remove TVMET_OPTIMIZE. More cleanup.
2007-06-18 07:01:42 +00:00
Benoit Jacob
152e09a14d remove long long, long double, unsigned, short, char, bool types.
Keep only int, float, double, complex<T>.
2007-06-18 05:59:19 +00:00
Benoit Jacob
b155789aa7 begin porting the unittests to QTestLib. The first test, "selfTest"
already runs and succeeds.
Also expand this test by testing more types and sizes.
2007-06-08 07:39:51 +00:00
Benoit Jacob
681eb1ed7d add TVMET_UNUSED macro, as a Q_UNUSED replacement. Use it to shut down warnings
in NumericTraits.h.
2007-06-08 07:24:14 +00:00
Benoit Jacob
9dd7a0b602 add eigen-style typedefs 2007-06-08 05:57:47 +00:00
Benoit Jacob
9939776cdb more cmake improvements; start removing the autotools stuff. 2007-06-07 06:58:37 +00:00
Benoit Jacob
e30e7d7bcd move cmake modules to a modules/ subdir 2007-06-07 06:32:53 +00:00
Benoit Jacob
6fe6a81839 Fix enough stuff, and remove enough dead stuff, to make a simple test program compile 2007-06-05 08:44:53 +00:00
Benoit Jacob
e3a45173b5 argh, forgot to svn add... 2007-06-04 19:30:50 +00:00
Benoit Jacob
e198eb437c add platform check for __attribute__((always_inline)) 2007-06-04 19:29:41 +00:00
Benoit Jacob
f878711042 Add cmake module finding the appropriate variant of the "restrict" keyword.
Could that be useful to have in kdelibs/cmake/modules ?
2007-06-03 17:45:19 +00:00
Benoit Jacob
6d749c172a replace size_t with int everywhere.
The size_t type means a number of _bytes_, and it was misused as
counting e.g. the number of rows/columns in a matrix. Moreover, it is unsigned,
which can give strange bugs if a signed/unsigned mismatch occurs.
2007-06-01 07:56:24 +00:00
Benoit Jacob
887ff84376 remove custom assert system and use plain standard asserts instead.
we don't need no complication.
2007-06-01 07:16:33 +00:00
Benoit Jacob
8c001c1342 remove TVMET_DYNAMIC_MEMORY define and corresponding checks. 2007-06-01 06:38:02 +00:00
Benoit Jacob
5205e88113 adding more CMakeLists, now tvmet is fully installed. 2007-06-01 06:25:51 +00:00
Benoit Jacob
eab54b49ea More cleanup, add CMakeLists for the testsuite. Now need to port it
to QTestLib :/
2007-05-31 10:09:44 +00:00
Benoit Jacob
8f202dc67f Complete the cmake platform checks and remove unnecessary defines. 2007-05-31 07:21:34 +00:00
Benoit Jacob
658eccd43b Convert 5 m4 checks to cmake modules 2007-05-30 18:08:35 +00:00
Benoit Jacob
7947ae0e50 A TODO to motivate hundreds of hackers to help with Eigen 2 development.
Cheesy slashdot joke included.
2007-05-30 12:14:09 +00:00
Benoit Jacob
8eb898ce40 begin porting the configure checks to cmake 2007-05-30 09:46:12 +00:00
Benoit Jacob
47b935fc42 add initial CMakeLists 2007-05-30 06:57:40 +00:00
Benoit Jacob
3036eeca0a Starting Eigen 2 development. The current plan is to use the last
release of tvmet (inactive for 2 years and developer unreachable) as the
basis for eigen2, because it provides seemingly good expression template
mechanisms, we want that, and it would take years to reinvent that
wheel. We'll see. So this commit imports the last tvmet release.
2007-05-30 06:24:51 +00:00