aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Core.h
Commit message (Collapse)AuthorAge
* 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
* add zero() and identity() static methods, update unit-testsGravatar 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
|
* 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 dot product, add norm/norm2/normalizedGravatar Benoit Jacob2007-10-10
| | | | | add fuzzy compares for matrices/vectors add random matrix/vector generation
* 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