Commit Graph

  • 72b6c05bf0 sorry for committing this mess Gael Guennebaud 2009-12-23 13:30:25 +01:00
  • 24302ad5cd fix #76, MayLinearVectorize depends on MaxSizeAtCompileTime and not on MaxInnerSize Gael Guennebaud 2009-12-23 13:19:28 +01:00
  • 0b5853d917 fix the xpr analyzer for Transpose Gael Guennebaud 2009-12-23 13:17:46 +01:00
  • c90ccd089a clean a bit Hessenberg and make sure the subdiagonal coeff is real even for 2x2 matrices Gael Guennebaud 2009-12-23 12:30:05 +01:00
  • 791bac25f2 fix #75, and add a basic unit test for Hessenberg (it was indirectly tested by the eigenvalue decomposition) Gael Guennebaud 2009-12-23 12:18:54 +01:00
  • d65c8cb60a fix #69 and extend unit tests or triangular solvers Gael Guennebaud 2009-12-23 11:48:53 +01:00
  • 5adfe934c8 add checks for on the right triangular solving with matrices Gael Guennebaud 2009-12-23 10:24:13 +01:00
  • fcc3be5dce a couple of fixes after thye merge Gael Guennebaud 2009-12-23 09:07:01 +01:00
  • eaaba30cac merge with default branch Gael Guennebaud 2009-12-22 22:51:08 +01:00
  • e182e9c616 extend the DenseStorageMatrix mechanism to all expressions Gael Guennebaud 2009-12-22 17:37:11 +01:00
  • eeec7d842e merge Jitse Niesen 2009-12-21 19:13:31 +00:00
  • f54a2a0484 Add support for general matrix functions. This does the job but it is only a first version. Further plans: improved docs, more tests, improve code by refactoring, add convenience functions for sine, cosine, sinh, cosh, and (eventually) add the matrix logarithm. Jitse Niesen 2009-12-21 18:53:00 +00:00
  • 4ec99bbc0c support gcc 4.5 Benoit Jacob 2009-12-21 13:49:43 -05:00
  • 9f1fa6ea5e Fix compilation error in doc/examples/class_CwiseBinaryOp.cpp . This is a follow-up of 9d54783036 (better work around for empty structs). Jitse Niesen 2009-12-21 18:16:01 +00:00
  • 32f6242b60 Set default for second argument for check script. Otherwise, buildtests will be run with a second argument of "" if check is called with only one argument, which leads to infinitely many jobs. Jitse Niesen 2009-12-21 11:35:08 +00:00
  • 02beaea2f8 add missing inclusion of LU/arch, thanks to J.B. Rouault Gael Guennebaud 2009-12-19 13:49:00 +01:00
  • f8cb9a6230 oops, remove duplicated ctor Gael Guennebaud 2009-12-19 13:45:14 +01:00
  • 9d54783036 much better workaround for empty struct (the previous one caused GCC 4.3 to generate wrong code leading to segfaults) Gael Guennebaud 2009-12-18 17:08:59 +01:00
  • af4d8c5cec a couple of fixes, now Array passes the linearstructure test Gael Guennebaud 2009-12-17 19:28:54 +01:00
  • 4b70b47998 clean a bit Matrix and fix static Map functions Gael Guennebaud 2009-12-17 14:48:26 +01:00
  • 5ca90e1b0c some cleaning in DenseStorageBase Gael Guennebaud 2009-12-17 13:56:33 +01:00
  • ebb2878829 finally add a Array class with storage via the introduction of a DenseStorageBase base class shared by both Matrix and Array Gael Guennebaud 2009-12-17 13:37:00 +01:00
  • 4e9c227bd5 partial LU optimization: noalias Gael Guennebaud 2009-12-17 11:43:42 +01:00
  • 30d47860dd more fixes Gael Guennebaud 2009-12-17 10:43:46 +01:00
  • 34c95029ca a couple of fixes and cleaning Gael Guennebaud 2009-12-17 10:00:35 +01:00
  • 945cbc3bc6 Add test for issue #75 (Hessenberg of 1x1 matrix). Also remove an superfluous #include in matrixExponential test. Jitse Niesen 2009-12-16 22:24:24 +00:00
  • 2033903376 a trivial compilation fix Gael Guennebaud 2009-12-16 19:21:10 +01:00
  • 9f79558839 a lot of cleaning and fixes Gael Guennebaud 2009-12-16 19:18:40 +01:00
  • 22a6ab1f4b add an eigen2support test and a few fixes Gael Guennebaud 2009-12-16 17:37:21 +01:00
  • 5cb779e5e1 * introduce ei_alignmentOffset(MatrixBase&,Integer) couldnt put it in Memory.h as it needs the definition of MatrixBase * make Redux use it Benoit Jacob 2009-12-16 08:53:14 -05:00
  • e0aa29121f this really fix the previous warning Gael Guennebaud 2009-12-16 13:06:47 +01:00
  • c35fcf3bbd fix warning by making ei_empty_struct::_ei_dummy_ private Gael Guennebaud 2009-12-16 12:53:55 +01:00
  • bb59c22dc9 fix compilation when mixing types Gael Guennebaud 2009-12-16 12:48:15 +01:00
  • 6db6774c46 * fix aliasing checks when the lhs is also transposed. At the same time, significantly simplify the code of these checks while extending them to catch much more expressions! * move the enabling/disabling of vectorized sin/cos to the architecture traits Gael Guennebaud 2009-12-16 11:41:16 +01:00
  • 6fd9248c09 add Intel copyright info Benoit Jacob 2009-12-15 08:43:31 -05:00
  • 4262117f84 backport 4x4 inverse changes: - use cofactors - use Intel's SSE code in the float case Benoit Jacob 2009-12-15 08:16:48 -05:00
  • 7a9988ebb6 fix spasre triangular solve for row major lower matrices Gael Guennebaud 2009-12-14 10:25:21 +01:00
  • b581cb870c fix #74: sparse triangular solver for lower/row-major matrices Gael Guennebaud 2009-12-14 10:20:35 +01:00
  • 0d8ffe5240 ignore more build*/ directories Thomas Capricelli 2009-12-11 02:39:49 +01:00
  • a314814a6e suppress unused variable warnings Gael Guennebaud 2009-12-15 13:59:02 +01:00
  • 949f14e1e4 no, this wasn't equivalent to ei_pload at all, after all! Benoit Jacob 2009-12-15 07:43:05 -05:00
  • 805eb9cc8b Gael, who is a man of few words^Winstructions, is right, as usual. Benoit Jacob 2009-12-15 06:50:40 -05:00
  • 3ea1f97f69 Suppressed the warning for missing assignment generators (forgot that in the last submission). Commented Quake3's fast inverser sqrt in SSE's MathFunction header. Hauke Heibel 2009-12-15 08:09:14 +01:00
  • 46a9cac7fb silence 'statement has no effect' warning with gcc 4.4 Benoit Jacob 2009-12-14 23:31:00 -05:00
  • 4948448939 *use scalar instructions, packet not needed here *remove unused var warning Benoit Jacob 2009-12-14 23:13:54 -05:00
  • 39095c8faa only include SSE path if SSE enabled Benoit Jacob 2009-12-14 22:52:11 -05:00
  • d02eccf584 add SSE path for Matrix4f inverse, taken from Intel except that we do a kosher division instead of RCPPS-followed-by-Newton-Raphson. The rationale for that is that elsewhere in Eigen we dont allow ourselves this approximation (which throws 2 bits of mantissa), so there's no reason we should allow it here. Benoit Jacob 2009-12-14 22:47:14 -05:00
  • d5f3b2dc94 change the Arch constants: const int ---> enum, more explicit names, and use of a namespace instead of Prefix_Name. Benoit Jacob 2009-12-14 17:26:24 -05:00
  • 832045d363 Warning 4512 (assignment operators could not be generated) is now simply disabled. All unimplemented assignment operators have been removed. Hauke Heibel 2009-12-14 10:32:43 +01:00
  • 4498864fc8 Fixed a bad type conversion. Hauke Heibel 2009-12-13 09:26:57 +01:00
  • 63957ad5d6 Remove //@{ ... //@} for same reason as in changeset 2026ea7ff2 . Jitse Niesen 2009-12-13 00:29:31 +00:00
  • 929521678d Correct type of ei_solve_retval<LLT,...>::operator= Jitse Niesen 2009-12-12 23:54:44 +00:00
  • 3dce51bd8e Removed more warnings. Hauke Heibel 2009-12-12 14:49:43 +01:00
  • d088ee35f6 Added to possibility to compile unit tests at maximum warning level. Silenced (amongst others) many conversion related warnings. Hauke Heibel 2009-12-12 11:39:07 +01:00
  • 494a88685e Fixed the bad fix - now the unsupported examples and snippets work on windows. Hauke Heibel 2009-12-11 19:39:01 +01:00
  • 9a8c16810b Reverted Jitse's change - the targets unsupported_examples and unsupported_snippets are unknown over here. Hauke Heibel 2009-12-11 19:11:01 +01:00
  • 2026ea7ff2 Coax doxygen in producing better docs for MatrixFunctions. The //@{ ... //@} in unsupported/Eigen/MatrixFunctions for some reason caused doxygen to list the constructor of the MatrixExponential class as a separate function in the MatrixFunctions module without any reference to the class; very confusing. Jitse Niesen 2009-12-11 15:54:21 +00:00
  • 7d444375e7 fix compilation (for some reason the pb happens only under windows) Thomas Capricelli 2009-12-11 02:38:28 +01:00
  • 9facdaf7b9 some compilation fixes Gael Guennebaud 2009-12-10 22:15:22 +01:00
  • 7caf751fdd adapt select, replicate and reverse Gael Guennebaud 2009-12-10 22:00:35 +01:00
  • d2e44f2636 * 4x4 inverse: revert to cofactors method * inverse tests: use createRandomMatrixOfRank, use more strict precision * tests: createRandomMatrixOfRank: support 1x1 matrices * determinant: nest the xpr * Minor: add comment Benoit Jacob 2009-12-09 12:43:25 -05:00
  • f0315295e9 Handle row and col major matrices in the gdb pretty printer Benjamin Schindler 2009-12-08 19:12:26 +01:00
  • 4da991eaa8 Display the data ptr as part of the header Benjamin Schindler 2009-12-08 18:40:36 +01:00
  • a4c162dbdc Correct license header of the gdb pretty printer Benjamin Schindler 2009-12-08 18:18:05 +01:00
  • f2304f3b88 Adding __init__.py so the printers can be used directly from the checkout Benjamin Schindler 2009-12-08 18:17:46 +01:00
  • 64beff03b6 Added a 'pretty printer' for the msvc debugger (tested on Visual Studio 2008). Hauke Heibel 2009-12-08 18:09:00 +01:00
  • 097cab26fb Added a pretty printer python script for Eigen::Matrix (gdb-7.0 and later). Benjamin Schindler 2009-12-08 18:06:03 +01:00
  • 8bfa354ee3 Documentation clean up. * remove non-existant reference to CwiseAll * define \householder_module (used in HouseholderSequence.h) * update I01_TopicLazyEvaluation.dox - Product is now called GeneralProduct * remove reference to list of examples which was deleted ages ago * rename PartialLU_solve.cpp snippet to PartialPivLU_solve.cpp Jitse Niesen 2009-12-08 15:12:27 +00:00
  • a682a0eeb1 C05_TutorialLinearAlgebra.dox: Correct file name Jitse Niesen 2009-12-08 11:08:04 +00:00
  • 39ceba409b Various improvements to the docs for unsupported. * Enable compilation of examples for unsupported. * Fix use of std::vector in BVH example. * Add an example for the matrix exponential. * Bug fixes in unsupported/doc/{examples,snippets}/CMakeLists.txt . Jitse Niesen 2009-12-07 19:10:11 +00:00
  • 72fc81dd9d backport quaternion slerp precision fix Gael Guennebaud 2009-12-05 18:28:17 +01:00
  • 8e05f9cfa1 add a DenseBase class for MAtrixBase and ArrayBase and more code factorisation Gael Guennebaud 2009-12-04 23:17:14 +01:00
  • 36969cc2a5 add a slerp benchmark (for accuracy and speed)) Gael Guennebaud 2009-12-04 15:02:38 +01:00
  • c68c695b87 Fix poor Quaternion::slerp snapping Gael Guennebaud 2009-12-04 15:01:17 +01:00
  • ea684af6b4 merge Gael Guennebaud 2009-12-04 12:40:29 +01:00
  • 7aad434160 fix compilation and clean a bit Map<Quaternion> Gael Guennebaud 2009-12-04 12:26:56 +01:00
  • ffaea19a70 Fixed compilation warnings in MSVC with Scalar==float Marton Danoczy 2009-12-03 14:01:34 +01:00
  • af17770680 Fix compilation for MSVC. bjornpiltz 2009-12-03 09:27:15 +01:00
  • 012cd62c81 explicitly cast to use the acos(long double) Mark Borgerding 2009-12-02 22:58:34 -05:00
  • e5c91b4e95 removed troublesome M_PI and M_PIl constants Mark Borgerding 2009-12-02 17:23:09 -05:00
  • f36650b00a fix MSVC10 compilation issues Gael Guennebaud 2009-12-02 19:34:37 +01:00
  • e12f5adbde fix MSVC10 compilation Gael Guennebaud 2009-12-02 19:32:54 +01:00
  • de25059502 * Remove test_ prefix in tests * tests now honor EIGEN_REPEAT and EIGEN_SEED if no arguments were passed Benoit Jacob 2009-12-02 12:07:47 -05:00
  • b0100a336a merge Benoit Jacob 2009-12-02 11:12:02 -05:00
  • 3e73f6036c * HouseholderSequence: * be aware of number of actual householder vectors (optimization in non-full-rank case, no behavior change) * fix applyThisOnTheRight, it was using k instead of actual_k * QR: rename matrixQ() to householderQ() where applicable Benoit Jacob 2009-12-02 11:11:09 -05:00
  • e3b5a90611 Removed unused 'benchmark'. Hauke Heibel 2009-12-02 16:51:40 +01:00
  • 3279e39340 * fix include for case-sensitive filesystem * on GNU, clock_gettime requires linking -lrt Benoit Jacob 2009-12-02 10:03:16 -05:00
  • 26ea7c9801 * remove empty destructors in Matrix.h and MatrixStorage.h Mathieu Gautier 2009-12-02 11:09:56 +01:00
  • 84551d067e merge Hauke Heibel 2009-12-02 11:08:44 +01:00
  • 95861fbd6c Added NestByValue and .nestByValue() again for the sake of backwards compatibility. Hauke Heibel 2009-12-02 10:53:30 +01:00
  • e3612bc0b8 Removed unnecessary code. Hauke Heibel 2009-12-02 09:11:24 +01:00
  • c05ae35441 merge with tip Mark Borgerding 2009-12-01 18:03:15 -05:00
  • ff1e9542f6 added comments to help vim understand the header files are c++. Mark Borgerding 2009-12-01 18:00:29 -05:00
  • d1e06721a2 instruction to remove CMakeCache.txt for out-of-source build Mark Borgerding 2009-12-01 17:39:29 -05:00
  • 0e8cd8de4d quieted signed/unsigned comparison warning Mark Borgerding 2009-12-01 17:38:23 -05:00
  • 8fce0b5459 added newline at the end of file to quiet gcc warning Mark Borgerding 2009-12-01 17:37:33 -05:00
  • 291fd4f8da merge Thomas Capricelli 2009-12-01 21:07:20 +01:00
  • 68117c267c ColPivQR: now the unit tests even succeeds: * with random matrices multiplied by 1e+8 (i.e. fixed wrong absolute fuzzy compare) * with 10,000 repetitions (i.e. the fuzzy compare is really clever) and when it occasionnally fails, less than once in 10,000 repeats, it is only on the exact rank computation. Benoit Jacob 2009-12-01 13:51:35 -05:00
  • 95d88e1327 Big reworking of ColPivQR and its unit test, which now passes even with thousands of repetitions and correctly tests matrices of all sizes. Several surprises along the way: for example, a major cause of trouble was the optimized "table of column squared norms" where the accumulation of imprecision was a serious issue; another surprise is that tests like "x!=0" before dividing by x really benefit from being replaced by fuzzy tests, as i hit real cases where i got wrong results in 1/epsilon. Benoit Jacob 2009-12-01 13:26:29 -05:00
  • 49c0986d86 minor cleanup Benoit Jacob 2009-12-01 13:22:14 -05:00