From: Zoltan Padrah <zoltan.padrah@gm...>  20090727 06:53:56

So the what should be done is  if understood well :  get rid of /src/math completely  Replace QuickVector, Matrix with Eigen::Vector resp. Eigen::Matrix / Eigen::LU everywhere they appear  fix the bugs that appear My original idea was to create a layer of abstraction above Eigen, but as you pointed out, it's useless. 2009/7/26, Alan Grimes <agrimes@...>: > P Zoltan wrote: > >> I've started implementing the QuickVector and Matrix classes using >> Eigen. The first draft of the source code is attached. It shoud be >> cleaned up, added some more comments / documentation to it. When >> integrating it in the SVN, I want to add the following files in the math >> library: >> math_config.h (or similar name), just to define >> USE_EIGEN_LU_IMPLEMENTATION or not  to swap between implementations >> vector_eigen.h  for QuickVector class (with Eigen it's just a typedef >> for VectorXd) >> matrix_eigen.h  header for Matrix >> matrix_eigen.cpp  implementation for Matrix, in header in this moment > > /src/math is a refactoring of code that was previously in > /src/electronics/simulation. > > Eigen, in theory, would completely replace all of /src/math, > > When I tried to switch to Eigen, I simply deleted /src/math and tried to > get the rest to work by making Eigen calls... I discarded my work after > getting some segfaults I didn't understand... (indubitably pointer > problems, ie I was using my own math libraries using nonstandard > conventions that didn't work with Eigen...) > > Without the understanding that libktechmath is an amature attempt at > duplicating Eigen, you'll just be creating a royalbig mess. > > >  > New president: Here we go again... > Chemistry.com: A total ripoff. > Powers are not rights. > > >  > _______________________________________________ > Ktechlabdevel mailing list > Ktechlabdevel@... > https://lists.sourceforge.net/lists/listinfo/ktechlabdevel > 