Revision 724237

Go back to digest for 14th October 2007

Other in Other

Benoît Jacob committed changes in /branches/work/eigen2:

Democracy 1 - 0 Dictatorship

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.

P.S. Danny, please skip this one :) I know you already reported the namespace->prefix move, now that one would be too much noise :)

File Changes

Modified 32 files
  • /branches/work/eigen2
  •   /CMakeLists.txt
  •   /doc/example.cpp
  •   /doc/tutorial.cpp
  •   /src/CMakeLists.txt
  •   /src/Core.h
  •   /test/CMakeLists.txt
  •   /test/main.cpp
  •   /test/main.h
  •   /test/matrixmanip.cpp
  •   /test/matrixops.cpp
  •   /test/vectorops.cpp
  •   /src/Core/Block.h
  •   /src/Core/CMakeLists.txt
  •   /src/Core/Column.h
  •   /src/Core/Conjugate.h
  •   /src/Core/CopyHelper.h
  •   /src/Core/Dot.h
  •   /src/Core/Eval.h
  •   /src/Core/Fuzzy.h
  •   /src/Core/Matrix.h
  •   /src/Core/MatrixOps.h
  •   /src/Core/MatrixRef.h
  •   /src/Core/MatrixStorage.h
  •   /src/Core/Minor.h
  •   /src/Core/Numeric.h
  •   /src/Core/Object.h
  •   /src/Core/Random.h
  •   /src/Core/Row.h
  •   /src/Core/ScalarOps.h
  •   /src/Core/Trace.h
  •   /src/Core/Transpose.h
  •   /src/Core/Util.h
32 files changed in total