Commit Graph

  • bdd7c6c88a change the value of Dynamic to -1, since the index type is now configurable. remove EIGEN_ENUM_MIN/MAX, implement new macros instead Benoit Jacob 2010-06-11 07:56:50 -04:00
  • 52e8c42a00 unsplit this test: was compiling 16 times the same thing! Need to find another way. Suggestion: should compile the stuff once into a binary library, or properly split into different tests with different code. Benoit Jacob 2010-06-11 07:15:34 -04:00
  • 00267e3a47 Added some verbosity on failures in order to get an idea of what is goind wrong on GCC 4.3. Hauke Heibel 2010-06-11 12:13:29 +02:00
  • f48af91c7e For 1x1 matrices we really need to check the abs diff of the determinants. Hauke Heibel 2010-06-11 08:08:12 +02:00
  • cedea2aba4 Fixed warnings regarding missing assignment operator. Hauke Heibel 2010-06-11 07:59:59 +02:00
  • 988aaed964 merge Gael Guennebaud 2010-06-10 23:30:43 +02:00
  • 5b192930b6 add runtime API to control multithreading Gael Guennebaud 2010-06-10 23:30:15 +02:00
  • 4d597e4654 Merge. Jitse Niesen 2010-06-10 21:28:10 +01:00
  • fcab4c951d Add line to prevent compiler warning on unused variables. Jitse Niesen 2010-06-10 21:26:23 +01:00
  • 842b54fe80 make the cache size mechanism future proof by adding level 2 parameters Gael Guennebaud 2010-06-10 22:11:31 +02:00
  • 54235879a9 Make test slightly fuzzy to account for effect of extended precision. Jitse Niesen 2010-06-10 19:18:19 +01:00
  • 986f65c402 merge Gael Guennebaud 2010-06-10 16:44:24 +02:00
  • 469382407c * Make HouseholderSequence::evalTo works in place * Clean a bit the Triadiagonalization making sure it the inplace function really works inplace ;), and that only the lower triangular part of the matrix is referenced. * Remove the Tridiagonalization member object of SelfAdjointEigenSolver exploiting the in place capability of HouseholdeSequence. * Update unit test to check SelfAdjointEigenSolver only consider the lower triangular part. Gael Guennebaud 2010-06-10 16:39:46 +02:00
  • 37fe67372b Added tag 2.0.13 for changeset ee499a855c Benoit Jacob 2010-06-10 08:06:38 -04:00
  • ee499a855c bump version 2.0.13 Benoit Jacob 2010-06-10 08:06:06 -04:00
  • bc0ce37395 mention that that issue has been solved in GCC 4.5 Benoit Jacob 2010-06-10 08:02:20 -04:00
  • 65c0b2a04d install the Eigen and Dense public headers !!!!! Benoit Jacob 2010-06-10 08:02:02 -04:00
  • 93d8d0e1b5 add unit test for bug #132 Benoit Jacob 2010-06-09 20:50:18 -04:00
  • 501063d9e9 Fix bug #132 Benoit Jacob 2010-06-09 19:39:05 -04:00
  • e40852d282 Fixes #104. Hauke Heibel 2010-06-02 19:17:41 +02:00
  • d2d7465bcf merge Gael Guennebaud 2010-06-10 11:00:47 +02:00
  • d2779a1a8e fix warning with gcc 4.3 Gael Guennebaud 2010-06-10 10:59:06 +02:00
  • dad19c4173 compilation fix for gcc 4.2 Gael Guennebaud 2010-06-10 10:55:49 +02:00
  • 941ca80b80 Adapted the determinant test for rank 1 matrices with zero determinant. Hauke Heibel 2010-06-10 10:06:14 +02:00
  • f8683c409f generalized eigendecomposition doc Gael Guennebaud 2010-06-10 09:44:52 +02:00
  • 41e5625f96 clean general symm eigensolver Gael Guennebaud 2010-06-10 09:34:49 +02:00
  • 3f388282ae Fixes geo_transformations_3 unit test. Hauke Heibel 2010-06-10 00:23:11 +02:00
  • 8855c4e264 fix unit test when GSL is enabled Gael Guennebaud 2010-06-10 00:19:45 +02:00
  • 8692ccc5fb Fix generalized symm eigensolver (I don't know why the eigenvectors were normalized) Gael Guennebaud 2010-06-10 00:04:33 +02:00
  • bcf738811e Added missing return statement. Hauke Heibel 2010-06-10 00:02:10 +02:00
  • 56e585efcc Fixed language issue. Hauke Heibel 2010-06-09 17:20:31 +02:00
  • 2b7b549e9e Fix #131. Hauke Heibel 2010-06-09 17:16:05 +02:00
  • e242ac9345 fix LDLT, now it really only uses a given triangular part! Gael Guennebaud 2010-06-09 14:01:06 +02:00
  • 201bd253ad fix ldlt unit test Gael Guennebaud 2010-06-09 13:18:10 +02:00
  • 8cc02169fd Fix devision by zero warning. Hauke Heibel 2010-06-09 09:48:06 +02:00
  • 45d3b405eb Fixed many MSVC warnings. Hauke Heibel 2010-06-09 09:30:22 +02:00
  • 50e43bc75a * add Transpositions to PermutationMatrix conversion * make PartialPivLu uses the Transpositions class Gael Guennebaud 2010-06-08 22:23:11 +02:00
  • 684656d41c added inline to setL1Cache functions to avoid shared object compile error Trevor Irons 2010-06-08 10:56:50 -06:00
  • fb3fcd0919 Disabled warning caused by declspec(align()). Hauke Heibel 2010-06-08 20:21:55 +02:00
  • 8b0da2de64 Fix stable_norm compilation. Hauke Heibel 2010-06-08 20:09:39 +02:00
  • 1c9b7a8d9f Fighting for a green dashboard! Next warning's gone. Hauke Heibel 2010-06-08 16:02:22 +02:00
  • 4c5778d29d Made the supression of unused variables portable. EIGEN_UNUSED is not supported on non GCC systems. Hauke Heibel 2010-06-08 15:52:00 +02:00
  • 2a64fa4947 Eigen types must always be passed by reference in order to retain memory alignment. Hauke Heibel 2010-06-08 13:49:40 +02:00
  • 4b5d359c3a improve/fix stable_norm unit test Gael Guennebaud 2010-06-08 13:29:27 +02:00
  • 626afe8b62 Fixed integer type warnings. Hauke Heibel 2010-06-08 10:06:14 +02:00
  • bda40da002 Fixed GCC compilation. Hauke Heibel 2010-06-08 09:37:13 +02:00
  • f6d26bf6dc Fixed more warnings. Hauke Heibel 2010-06-08 00:41:33 +02:00
  • 04274f6793 Fixed eigensolver warning. Hauke Heibel 2010-06-08 00:05:20 +02:00
  • f3a568c81d remove ei_ prefix of public global functions, and s/cpu/l1 Gael Guennebaud 2010-06-07 19:05:30 +02:00
  • 727376b5f4 compilation fix (std::sqrt(int) does not exist) Gael Guennebaud 2010-06-07 18:55:39 +02:00
  • 88cd6885be Add a proof concept API to configure the blocking parameters at runtime. After validation of the final API I'll update the other products to use it. Gael Guennebaud 2010-06-07 16:35:25 +02:00
  • 7726cc8a29 clean old stuff used to support precompilation inside a binary lib Gael Guennebaud 2010-06-07 14:47:20 +02:00
  • bfeba41174 Add a Transpositions class to ease the representation and manipulation of permutations as a sequence of transpositions. Make LDLT use it. Gael Guennebaud 2010-06-04 23:17:57 +02:00
  • 1ff1bd69ac Schur decomposition of 1-by-1 always converges. Jitse Niesen 2010-06-04 09:40:35 +01:00
  • 9178e2bd54 Add info() method which can be queried to check whether iteration converged. Jitse Niesen 2010-06-03 22:59:57 +01:00
  • ed73a195e0 Refactor compute() by splitting off two smaller private methods. Jitse Niesen 2010-06-03 22:29:11 +01:00
  • e64460d5d0 LDLT: make it honors the Lower/Upper directive and make it works inplace Gael Guennebaud 2010-06-03 22:22:14 +02:00
  • 4159db979d make LDLT uses only the lower triangular part Gael Guennebaud 2010-06-03 21:33:47 +02:00
  • d92de9574a fix sparse LDLT with complexes Gael Guennebaud 2010-06-03 11:56:08 +02:00
  • 8350ab9fb8 * remove ei_index, and let ei_traits propagate the index types * add an Index type template parapeter to sparse objects Gael Guennebaud 2010-06-03 08:41:11 +02:00
  • 38d8352b7b Add field m_maxIterations; break loop when this limit is exceeded. Jitse Niesen 2010-06-02 17:31:02 +01:00
  • 9ff0d67156 fix typos (oops) Gael Guennebaud 2010-06-02 17:56:35 +02:00
  • 8710bd23e7 clean the ambiguity with insertBack and add a insertBackByOuterInner function Gael Guennebaud 2010-06-02 13:32:13 +02:00
  • 143e6ab9d0 improve aliasing detection for inverse and add unit test Gael Guennebaud 2010-06-02 10:12:13 +02:00
  • 4ebb80490a implicit conversion to scalar for inner product Gael Guennebaud 2010-06-02 09:45:57 +02:00
  • 314bfa1375 fix issue #128 : inner stride can also be 0 in which case it means 1... Gael Guennebaud 2010-06-01 22:51:47 +02:00
  • ab2b33e802 Add cast to aliasing check. Otherwise, one of the geo tests fails to compile. Now there are some compiler warnings about aliasing and type-punned pointers that I don't understand. Jitse Niesen 2010-06-01 17:45:58 +01:00
  • e3e2380548 Make all compute() methods return a reference to *this. Jitse Niesen 2010-06-01 17:40:51 +01:00
  • 4c6d182c42 Addressess small compile error with OpenMP Trevor Irons 2010-06-01 07:09:40 -06:00
  • e54faba198 merge the backing-out of the stupid RetByVal change, and implement a simple aliasing check in inverse, that catches simple cases like x = x.inverse() Benoit Jacob 2010-06-01 09:17:50 -04:00
  • 3e95609cd4 Backed out changeset 641d968a9a Benoit Jacob 2010-06-01 09:01:39 -04:00
  • c76c8d6917 fix issue #125 Gael Guennebaud 2010-05-31 22:53:02 +02:00
  • 09a1b7f7e1 Fixes the problem, described here: http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2010/05/msg00154.html Anton Gladky 2010-05-28 10:18:37 +02:00
  • 39c568445c simplify a using statement Gael Guennebaud 2010-06-01 13:59:21 +02:00
  • 0116261407 make BenchTimer compatible with 2.0 branch Gael Guennebaud 2010-06-01 13:57:38 +02:00
  • e2097c55f8 fix issue #125 - *norm() return RealScalar and not Scalar Gael Guennebaud 2010-05-31 22:46:18 +02:00
  • 8dc947821b Allow user to compute only the eigenvalues and not the eigenvectors. Jitse Niesen 2010-05-31 18:17:47 +01:00
  • 609941380a Change skipU argument to computeU - this reverses the meaning. See "skipXxx / computeXxx parameters in Eigenvalues module" on mailing list. Jitse Niesen 2010-05-31 16:48:41 +01:00
  • c21390a611 Define non-const operator() in Reverse; enable test for this. Introduction of DenseCoeffBase (revision bfdc1c4973 ) meant that non-const operator() is only defined if DirectAccess is set. This caused the line "m.reverse()(1,0) = 4;" in MatrixBase_reverse.cpp to fail at compile-time. Not sure this is correct solution; perhaps we should disallow this? Or make Reverse DirectAccess with a negative stride - would that break something? Jitse Niesen 2010-05-31 14:42:04 +01:00
  • 07a65dd02b Fix stupid compilation error in test. Jitse Niesen 2010-05-31 11:48:47 +01:00
  • db8631b66a Guard with assert against using decomposition objects uninitialized. Jitse Niesen 2010-05-30 21:49:35 +01:00
  • 6ce22a61b3 oops, remove extra 'typename' Benoit Jacob 2010-05-30 16:41:16 -04:00
  • aaaade4b3d the Index types change. As discussed on the list (too long to explain here). Benoit Jacob 2010-05-30 16:00:58 -04:00
  • faa3ff3be6 tests: * change test_is_equal so it just checks for equality, doesn't try anymore to allow to ignoring the difference between col and row vectors. (needed for the upcoming Index types change) * in ei_assert, don't report on cerr if we're inside of VERIFY_RAISES_ASSERT Benoit Jacob 2010-05-30 16:00:09 -04:00
  • 42f1b7d470 finish the change of adding .sh extensions to scripts Benoit Jacob 2010-05-30 15:58:11 -04:00
  • 641d968a9a * Make ReturnByValue have the EvalBeforeAssigningBit and explicitly enforce this mechanism (otherwise ReturnByValue bypasses it). (use .noalias() to get the old behavior.) * Remove a hack in Inverse, futile optimization for 2x2 expressions. Benoit Jacob 2010-05-30 13:43:08 -04:00
  • 48b8ace517 Fix SparseMatrix/SparseVector::sum() Jens Mueller 2010-05-27 17:02:24 +02:00
  • a240f83216 Fix to ProductBase::evalTo() in order to get matrix multiplication working for numeric types that don't have implicit conversion from int Manoj Rajagopalan 2010-05-26 13:00:55 -04:00
  • 0bb8688d70 sync .hgignore with tip Thomas Capricelli 2010-05-26 02:37:52 +02:00
  • ea87337647 fix readcost for complex types (backport from tip) Thomas Capricelli 2010-05-26 02:34:55 +02:00
  • 4a2d6ece2e fix readcost for complex types Thomas Capricelli 2010-05-26 02:33:28 +02:00
  • e7dc772554 Respect MaxRowsAtCompileTime in HouseholderSequence::evalTo(). This fixes the failing test nomalloc_4. Also remove a print inserted for debugging in schur_real test. Jitse Niesen 2010-05-25 12:40:42 +01:00
  • e7d809d434 Update eigenvalues() and operatorNorm() methods in MatrixBase. * use SelfAdjointView instead of Eigen2's SelfAdjoint flag. * add tests and documentation. * allow eigenvalues() for non-selfadjoint matrices. * they no longer depend only on SelfAdjointEigenSolver, so move them to a separate file Jitse Niesen 2010-05-24 17:43:50 +01:00
  • 8a3f552e39 Return matrices by constant reference where possible. This changes the return type of: * eigenvectors() and eigenvalues() in ComplexEigenSolver * eigenvalues() in EigenSolver * eigenvectors() and eigenvalues() in SelfAdjointEigenSolver Jitse Niesen 2010-05-24 17:43:27 +01:00
  • 7a43a4408b Replace local variables by member variables in compute() methods. This is to avoid dynamic memory allocations in the compute() methods of ComplexEigenSolver, EigenSolver, and SelfAdjointEigenSolver where possible. As a result, Tridiagonalization::decomposeInPlace() is no longer used. Biggest remaining issue is the allocation in HouseholderSequence::evalTo(). Jitse Niesen 2010-05-24 17:43:06 +01:00
  • 68820fd4e8 Use ReturnByValue mechanism for HessenbergDecomposition::matrixH(). Jitse Niesen 2010-05-24 17:36:13 +01:00
  • eb3ca68684 Change return type of matrixH() method to HouseholderSequence. This method is a member of Tridiagonalization and HessenbergDecomposition. Jitse Niesen 2010-05-24 17:35:54 +01:00
  • 76dd0e5314 fix some warnings Thomas Capricelli 2010-05-22 19:17:04 +02:00
  • 79e9e3f24c erm.. use EIGEN_ONLY_USED_FOR_DEBUG() as it already exists. Thomas Capricelli 2010-05-21 18:13:59 +02:00
  • 618640bf2b fix another warning Thomas Capricelli 2010-05-21 02:14:46 +02:00