aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* clarify the situation with EI_INHERIT_ASSIGNMENT_OPERATORSGravatar Benoit Jacob2007-10-15
|
* make shameless use of const_cast to reduce code redundancy. This means Eigen2Gravatar Benoit Jacob2007-10-15
| | | | | | gives up enforcing constness. I really tried to enforce it, but it really was much hassle because our expression templates can be lvalues (not only rvalues) and so much code had to be written twice.
* Merge WrapArray into FromArray. Less code. The downside is that we're using ↵Gravatar Benoit Jacob2007-10-14
| | | | | | | | | | | one more const_cast. But I think that anyway trying to maintain const strictness in Eigen2 is not worth the hassle. Konstantin: so the code snippet I sent you won't work anymore, replace wrapArray with fromArray. CCMAIL:konst.heil@stud.uni-heidelberg.de
* add fromArray() and wrapArray().Gravatar Benoit Jacob2007-10-14
| | | | | | | | For example, the following now works: double a1[3] = {1.0, 3.0, 2.0}, a2[3]; Vector3d::wrapArray(a2) = 2 * Vector3d::fromArray(a1); cout << Vector3d::fromArray(a2) << endl; // output: 2,6,4
* restrict identity() to square matrices; small change helping g++ optimize.Gravatar Benoit Jacob2007-10-14
|
* add zero() and identity() static methods, update unit-testsGravatar Benoit Jacob2007-10-14
|
* remove support for type std::complex<int>. Simplify NumTraits accordingly.Gravatar Benoit Jacob2007-10-14
|
* mark more methods as const. also rename, Numeric.h->NumTraits.hGravatar Benoit Jacob2007-10-13
|
* implement the first _real_ unit-tests, testing the results for correctness ↵Gravatar Benoit Jacob2007-10-13
| | | | | | | | instead of just checking compilation. Fix the many issues discovered by these unit-tests, by the way fixing a performance bug.
* add unary operator-(), computing the opposite.Gravatar Benoit Jacob2007-10-13
|
* split MatrixOps.h into 3 files; rename ScalarOps.h; remove useless #includes.Gravatar Benoit Jacob2007-10-13
|
* some renaming in the fuzzy compares, and in the multiplicationsGravatar Benoit Jacob2007-10-13
|
* rework the numeric traits now that we're using a namespace and no prefixGravatar Benoit Jacob2007-10-12
|
* SVN_SILENT:Gravatar Benoit Jacob2007-10-12
| | | | | repair some damage made by the automatic search and replace used in the prefix->namespace move
* simplify the new USING_EIGEN_DATA_TYPES macroGravatar Benoit Jacob2007-10-11
|
* Democracy 1 - 0 DictatorshipGravatar Benoit Jacob2007-10-11
| | | | | | | | | | | | | | | | | | | | | After huge thread on eigen mailing list, it appears that i'm the only one in favor of prefix Ei. Everybody else prefers namespace Eigen like we did in Eigen 1. So, revert. Also add a macro USING_EIGEN_DATA_TYPES that application programmers can use to automatically do "using"on the Matrix class and its matrix/vector typedefs: using Eigen::Matrix; using Eigen::Matrix2d; using Eigen::Vector2d; ... (the list of typedefs is really long). thanks to the suffixes, the Vector typedefs aren't really polluting. CCMAIL:eigen@lists.tuxfamily.org P.S. Danny, please skip this one :) I know you already reported the namespace->prefix move, now that one would be too much noise :)
* fix big bug in loop unrollingGravatar Benoit Jacob2007-10-10
|
* fix dot product, add norm/norm2/normalizedGravatar Benoit Jacob2007-10-10
| | | | | add fuzzy compares for matrices/vectors add random matrix/vector generation
* add norm() and norm2(); some polishingGravatar Benoit Jacob2007-10-08
|
* reverse certain inner loops. Now the benchmark runs in 3.5s instead of 5.5s ↵Gravatar Benoit Jacob2007-10-08
| | | | before!
* add dot product, extend meta unrolling everywhereGravatar Benoit Jacob2007-10-08
|
* reorganize meta loop unrolling, add Trace (meta-unrolled), fix compilation ↵Gravatar Benoit Jacob2007-10-07
| | | | | | issues in the conjugation/adjunction stuff
* reorganization of headers, part 2/2...Gravatar Benoit Jacob2007-10-07
|
* reorganisation of headers, commit47b935fc42cbf2ca992d8a270bc1b0fc97d1f6bcGravatar Benoit Jacob2007-10-07
| | | | /2....
* aargh, had forgotten to 'svn add' a file. Yeah, 'svn st' is my friend, i know...Gravatar Benoit Jacob2007-10-07
|
* add matrix conjugation and adjunction.Gravatar Benoit Jacob2007-10-07
| | | | compilation fixes in the numeric traits.
* Introduce Numeric Traits, with fuzzy compares, random numbers, etc.Gravatar Benoit Jacob2007-10-07
|
* Add matrix transpositionGravatar Benoit Jacob2007-10-01
|
* Move the meta loop unrolling to a separate file, Loop.hGravatar Benoit Jacob2007-10-01
|
* Split Row and Column into separate files.Gravatar Benoit Jacob2007-10-01
| | | | | | | Introduce a notion of RowVector (typedef for Matriw with 1 row) Make row() return a row vector instead of a "column vector" Introduce operator[] to access elements of row/column vectors uniformly Remove default arguments in operator(), these were for vectors, now use operator[] instead
* remove useless typedefsGravatar Benoit Jacob2007-10-01
|
* Michael was right, it's best to base the unrolling limit on the product ↵Gravatar Benoit Jacob2007-10-01
| | | | Rows*Cols.
* - add copyright line for Michael OlbrichGravatar Benoit Jacob2007-10-01
| | | | - some meta unrolling improvements
* adapt to coding style used elsewhere in eigen2Gravatar Benoit Jacob2007-10-01
|
* Generic loop unrolling with template metaprograms. It seems to be as fast asGravatar Michael Olbrich2007-09-30
| | | | | | manually unrolling. TODO: decide when to stop unrolling (speed vs. code size). maybe only unroll one loop for larger matixes.
* for dynamic size matrix (Rows|Cols)AtCompileTime is always EiDynamic and notGravatar Michael Olbrich2007-09-30
| | | | "(Rows|Cols)AtCompileTime - 1" which would be EiDynamic - 1 == -2
* temporarily remove division unit-tests. they caused div-by-zero's , reported ↵Gravatar Benoit Jacob2007-09-30
| | | | | | by Michael Olbrich. The solution will consist in adding a real Traits system.
* Fix super-nasty bug in the declaration of the storage array of fixed-size ↵Gravatar Benoit Jacob2007-09-30
| | | | | | matrices. Also some simplifications.
* Get rid of a nasty const_cast by introducing a MatrixConstRef class.Gravatar Benoit Jacob2007-09-29
| | | | Remove the __restrict__'s for now.
* make matrix multiplication do immediate evaluation; add lazyMul() for the ↵Gravatar Benoit Jacob2007-09-29
| | | | | | | old behaviour some reorganization, especially in MatrixStorage start playing with loop unrolling, always_inline, and __restrict__
* some reorganization leading to simpler expression treesGravatar Benoit Jacob2007-09-28
|
* add example to the documentationGravatar Benoit Jacob2007-09-28
|
* Found a way to have eval() be a member function of class EiObject, instead ↵Gravatar Benoit Jacob2007-09-28
| | | | | | of a global function. CCMAIL:bensch128@yahoo.com
* Finish prefixing everything with "Ei"Gravatar Benoit Jacob2007-09-27
|
* Half-way commit prefixing object names. I am forced to commit nowGravatar Benoit Jacob2007-09-27
| | | | | because I renamed a file once with a wrong filename and svn refuses to let me rename it again, tells me i should propagate first.
* don't enclose eigen in a namespace. prefixing is the way to go.Gravatar Benoit Jacob2007-09-27
| | | | For example Qt uses a prefix and no namespace (except for a few things)
* add operators *= and /=Gravatar Benoit Jacob2007-09-27
|
* implement scalar operators separately for each type using a macro.Gravatar Benoit Jacob2007-09-27
| | | | This is required e.g. to allow "2 * m" with m a matrix of doubles.
* fix bugs caused by default copy constructors being called. valgrind,Gravatar Benoit Jacob2007-09-26
| | | | you saved my life.
* Give the axe to the aliasing system.Gravatar Benoit Jacob2007-09-26
| | | | Improve the evaluation system instead.