Commit Graph

  • bc34ee3365 Using Index type instead of hard coded int type to prevent potential implicit integer conversion. Georg Drenkhahn 2014-09-22 18:56:36 +02:00
  • 9a04cd307c Added implicit integer conversion by using explicit integer type conversion. Adding assert to catch overflow. Georg Drenkhahn 2014-09-22 18:47:33 +02:00
  • f0a62c90bc Avoid comparisons between different index types. Gael Guennebaud 2014-09-29 10:27:51 +02:00
  • 2946992ad4 Using StorageIndexType for loop assigning initial permutation. Adding assert for index overflow. Georg Drenkhahn 2014-09-22 17:59:02 +02:00
  • 821ff0ecfb Using Index instead of hard coded int type to prevent potential implicit integer conversion Georg Drenkhahn 2014-09-22 16:12:35 +02:00
  • 2c4cace56c Using Index instead of hard coded int type to prevent potential implicit integer conversion Georg Drenkhahn 2014-09-22 15:54:34 +02:00
  • 8a502233d8 Correcting the ReturnType in traits<KroneckerProduct<>> to include the correct Index type. Fixed mixup of types Rhs::Index and Lhs:Index in various loop variables. Added explicit type conversion for arithmetic expressions which may return a wider type. Georg Drenkhahn 2014-09-21 23:19:29 +02:00
  • b2755edcdd Replaced hard coded int types with Index types preventing implicit integer conversions. Georg Drenkhahn 2014-09-21 23:15:35 +02:00
  • d1ef3c3546 Changed Diagonal::index() to return an Index type instead of int to prevent possible implicit conversion from long to int. Added inline keyword to member methods. Georg Drenkhahn 2014-09-21 10:21:20 +02:00
  • edaefeb978 Using Kernel::Index type instead of int to prevent possible implicit conversion from long to int. Georg Drenkhahn 2014-09-21 10:01:12 +02:00
  • 3bd31e21b5 Fixed compiler warning on implicit integer conversion by separating index type for matrix and permutation matrix which may not be equal. Georg Drenkhahn 2014-09-20 15:00:36 +02:00
  • 75e269c77b Fixed warning on implicit integer conversion in test case code by using type VectorXd::Index instead of int. Georg Drenkhahn 2014-09-20 14:57:42 +02:00
  • 74cde0c925 Add missing return derived() in ArrayBase::operator= Gael Guennebaud 2014-09-28 09:16:13 +02:00
  • ce2035af86 New doc page on implementing a new expression class. Jitse Niesen 2014-09-27 23:25:58 +01:00
  • 6d0f0b8cec add VSX identifier Konstantinos Margaritis 2014-09-25 16:06:16 +00:00
  • 4ba8aa1482 Fix bug #884: No malloc for zero-sized matrices or for Ref without temporaries Christoph Hertzberg 2014-09-25 16:05:17 +02:00
  • 27d6b4daf9 Tridiagonalization::diagonal() and ::subDiagonal() did not work. Added unit-test Christoph Hertzberg 2014-09-24 14:37:13 +02:00
  • 446001ef51 Fix nested_eval<Product<> > which wrongly returned a Product<> expression Gael Guennebaud 2014-09-24 09:39:09 +02:00
  • 13cbc751c9 bug #880: automatically preserves buildtool flags when modifying DartConfiguration.tcl file. Gael Guennebaud 2014-09-23 22:10:32 +02:00
  • 421feea3b2 member_redux constructor is explicit too. Renamed some typedefs for more consistency. Christoph Hertzberg 2014-09-23 18:55:42 +02:00
  • 7817bc19a4 Removed FIXME, as it is actually necessary. Christoph Hertzberg 2014-09-23 17:23:34 +02:00
  • eb13ada3aa Renamed CwiseInverseReturnType to InverseReturnType for ArrayBase::inverse() Christoph Hertzberg 2014-09-23 17:21:27 +02:00
  • 36448c9e28 Make constructors explicit if they could lead to unintended implicit conversion Christoph Hertzberg 2014-09-23 14:28:23 +02:00
  • de0d8a010e Suppress stupid gcc-4.4 warning Christoph Hertzberg 2014-09-23 12:58:14 +02:00
  • 72569f17ec bug #882: add const-correctness failtests for CwiseUnaryView, TriangularView, and SelfAdjointView. Gael Guennebaud 2014-09-23 10:26:02 +02:00
  • 3878e6f170 Add a true ctest unit test for failtests Gael Guennebaud 2014-09-23 10:25:12 +02:00
  • ff46ec0f24 bug #881: make SparseMatrixBase::isApprox(SparseMatrixBase) exploits sparse computations instead of converting the operands to dense matrices. Gael Guennebaud 2014-09-22 23:33:28 +02:00
  • ae514ddfe5 bug #880: manually edit the DartConfiguration.tcl file to get it working with cmake 3.0.x Gael Guennebaud 2014-09-22 22:49:20 +02:00
  • f9d6d3780f bug #879: fix compilation of tri1=mat*tri2 by copying tri2 into a full temporary. Gael Guennebaud 2014-09-22 17:34:17 +02:00
  • abba11bdcf Many improvements in Divide&Conquer SVD: - Fix many numerical issues, in particular regarding deflation. - Add heavy debugging output to help track numerical issues (there are still fews) - Make use of Eiegn's apply-inplane-rotation feature. Gael Guennebaud 2014-09-22 15:22:52 +02:00
  • d9e0336a78 Merged in kmargar/eigen (pull request PR-84) Christoph Hertzberg 2014-09-22 12:57:06 +02:00
  • 333905b0c2 Fix typos in docs for IterativeLinearSolvers module Jitse Niesen 2014-09-21 14:20:08 +01:00
  • 5fa69422a2 Fix copy-and-paste typo in SolveWithGuess assignment This fixes compilation of code snippets in BiCGSTAB docs. Jitse Niesen 2014-09-21 14:19:23 +01:00
  • de38ff2499 prefetch are noops on VSX, actually disable the prefetch trait Konstantinos Margaritis 2014-09-21 11:56:07 +00:00
  • 60e093a9dc Merged eigen/eigen into default Konstantinos Margaritis 2014-09-21 14:02:51 +03:00
  • 56408504e4 fix compile error on big endian altivec Konstantinos Margaritis 2014-09-21 13:59:30 +03:00
  • 974fe38ca3 prefetch are noops on VSX Konstantinos Margaritis 2014-09-21 11:24:30 +00:00
  • c0205ca4af VSX supports vec_div, implement where appropriate (float/doubles) Konstantinos Margaritis 2014-09-21 08:12:22 +00:00
  • 10f8aabb61 VSX port passes packetmath_[1-5] tests! Konstantinos Margaritis 2014-09-20 22:31:31 +00:00
  • 80de35b6c5 Remove double return statement in PlainObjectBase::_set() Jitse Niesen 2014-09-19 22:05:18 +01:00
  • 60663a510a 32-bit floats/ints, 64-bit doubles pass packetmath tests, complex 32/64-bit remaining Konstantinos Margaritis 2014-09-19 21:05:01 +00:00
  • 03dd4dd91a Unify unit test for BDC and Jacobi SVD. This reveals some numerical issues in BDCSVD. Gael Guennebaud 2014-09-19 15:25:48 +02:00
  • 0a18eecab3 bug #100: add support for explicit scalar to Array conversion (as enable implicit conversion is much more tricky) Gael Guennebaud 2014-09-19 13:25:28 +02:00
  • 7b044c0ead Added tag before-evaluators for changeset 9452eb38f8 Gael Guennebaud 2014-09-19 10:10:29 +02:00
  • 755e77266f Fix SparseQR for row-major inputs. Gael Guennebaud 2014-09-19 09:58:56 +02:00
  • 07c5500d70 Introduce a compilation error when using the wrong InnerIterator type. Gael Guennebaud 2014-09-19 09:58:20 +02:00
  • e70506dd8f Fix inner-stride of AlignedVector3 Gael Guennebaud 2014-09-18 22:46:46 +02:00
  • 2ae20d558b Update KroneckerProduct wrt evaluator changes Gael Guennebaud 2014-09-18 22:08:49 +02:00
  • 62bce6e5e6 Make MatrixFunction use nested_eval instead of nested Gael Guennebaud 2014-09-18 17:31:17 +02:00
  • 060e835ee9 Add evaluator for the experimental AlignedVector3 Gael Guennebaud 2014-09-18 17:30:21 +02:00
  • 0ca43f7e9a Remove deprecated code not used by evaluators Gael Guennebaud 2014-09-18 15:15:27 +02:00
  • 8b3be4907d log2(int) must be inlined. Gael Guennebaud 2014-09-18 10:53:53 +02:00
  • 0bf5894861 workaround one more shadowing issue with MSVC Gael Guennebaud 2014-09-16 18:21:39 -07:00
  • e44d78dab3 workaround ambiguous call Gael Guennebaud 2014-09-16 17:10:25 -07:00
  • c2f66c65aa workaround MSVC compilation issue (shadow issue) Gael Guennebaud 2014-09-16 16:23:45 -07:00
  • 125619146b workaround weird MSVC compilation issue: a typdedef in a base class shadows a template parameter of a derived class Gael Guennebaud 2014-09-16 16:06:32 -07:00
  • 341ae8665d avoid division by 0 Gael Guennebaud 2014-09-16 16:05:06 -07:00
  • fc23e93707 Add a portable log2 function for integers Gael Guennebaud 2014-09-17 09:56:07 +02:00
  • 0f0580b97c Remove not needed template keyword. Gael Guennebaud 2014-09-17 09:55:44 +02:00
  • 486ca277a0 Workaround MSVC ICE Gael Guennebaud 2014-09-16 10:29:29 -07:00
  • 10a79ca3a3 Merged latest updates from the Eigen trunk. Benoit Steiner 2014-09-15 09:18:16 -07:00
  • 466d6d41c6 Avoid a potential risk of recursive definition using traits to get he scalar type Gael Guennebaud 2014-09-15 17:40:17 +02:00
  • 8514179aa3 Fix traits<Quaternion>::IsAligned when using evaluators Gael Guennebaud 2014-09-15 13:53:52 +02:00
  • 0403d49006 Fix inverse unit test making sure we try to invert an invertible matrix Gael Guennebaud 2014-09-14 20:12:07 +02:00
  • c83e01f2d6 Favor column major storage for inner products Gael Guennebaud 2014-09-14 19:38:49 +02:00
  • 26db954776 Re-enable aliasing checks when using evaluators Gael Guennebaud 2014-09-14 19:06:08 +02:00
  • fda680f9cf Adapt changeset 51b3f558bb to evaluators: (Fix bug #822: outer products needed linear access, and add respective unit tests) Gael Guennebaud 2014-09-14 18:31:29 +02:00
  • dfc54e1bbf Fix /= when using evaluator as in changeset 2d90484450 Gael Guennebaud 2014-09-14 18:27:48 +02:00
  • 749b56f6af merge with default branch Gael Guennebaud 2014-09-14 17:34:54 +02:00
  • af9c9f7706 Fix comparison to block size Gael Guennebaud 2014-09-14 17:33:39 +02:00
  • 9452eb38f8 Make UpperBidiagonalization accept row-major matrices (bug #769) * Give temporary workspace the same storage order as original matrix * Take storage order into account when determining inner stride of rows and columns * Change one test to use a row-major matrix. before-evaluators Jitse Niesen 2014-09-12 14:52:35 +01:00
  • 470aa15c35 First time it compiles, but fails to pass the tests. Konstantinos Margaritis 2014-09-09 16:58:48 +00:00
  • 188a13f9fe Fix compilation of coeff(Index) on sub-inner-panels Gael Guennebaud 2014-09-08 09:50:03 +02:00
  • efdff15749 Fixed a typo in the contraction code Benoit Steiner 2014-09-06 13:28:24 -07:00
  • dacd39ea76 Exploit sparse structure in naiveU and naiveV when updating them. Gael Guennebaud 2014-09-05 17:51:46 +02:00
  • 74db22455a Misc fixes. Benoit Steiner 2014-09-05 07:47:43 -07:00
  • b23556bbbd Oops, a block size of 1 is not very useful, set it to 48 as in HouseholderQR Gael Guennebaud 2014-09-05 08:50:50 +02:00
  • 1abe4ed14c Created more regression tests Benoit Steiner 2014-09-04 20:27:28 -07:00
  • d43f737b4a Added support for evaluation of tensor shuffling operations as lvalues Benoit Steiner 2014-09-04 20:02:28 -07:00
  • f50548e86a Added missing tensor copy constructors. As a result it is now possible to declare and initialize a tensor on the same line, as in: Tensor<bla> T = A + B; or Tensor<bla> T(A.reshape(new_shape)); Benoit Steiner 2014-09-04 19:50:27 -07:00
  • 15bad3670b Apply Householder U and V in-place. Gael Guennebaud 2014-09-04 09:17:01 +02:00
  • 8846aa6d1b Optimization: enable cache-efficient application of HouseholderSequence. Gael Guennebaud 2014-09-04 09:15:59 +02:00
  • 80993b95d3 Disable a test which had never worked without evalautors Gael Guennebaud 2014-09-03 22:56:39 +02:00
  • b24fe22b1a Improved the performance of the tensor convolution code by a factor of about 4. Benoit Steiner 2014-09-03 11:38:13 -07:00
  • c82dc227f1 Cleaning in BDCSVD (formating, handling of transpose case, remove some for loops) Gael Guennebaud 2014-09-03 10:15:24 +02:00
  • a96f3d629c Clean bdcsvd Gael Guennebaud 2014-09-02 22:30:23 +02:00
  • 47829e2d16 Disable solve_ret_val like mechanism with evaluator enabled Gael Guennebaud 2014-09-01 18:32:59 +02:00
  • 1f398dfc82 Factorize *SVD::solve to SVDBase Gael Guennebaud 2014-09-01 18:31:54 +02:00
  • b3a0365429 merge with default branch Gael Guennebaud 2014-09-01 18:21:01 +02:00
  • 72c4f8ca8f Disable a few unit tests in unsupported Gael Guennebaud 2014-09-01 17:35:58 +02:00
  • 8754341848 Fix remaining garbage during a merge. Gael Guennebaud 2014-09-01 17:25:13 +02:00
  • daad9585a3 Fix Kronecker product in legacy mode. Gael Guennebaud 2014-09-01 17:24:07 +02:00
  • b051bbd64f Make unsupport sparse solvers use SparseSolverBase Gael Guennebaud 2014-09-01 17:21:47 +02:00
  • b3d63b4db2 Add evaluator for DynamicSparseMatrix Gael Guennebaud 2014-09-01 17:21:05 +02:00
  • 1c4b69c5fb Factorize solveWithGuess in IterativeSolverBase Gael Guennebaud 2014-09-01 17:19:51 +02:00
  • 8a74ce922c Make IncompleteLUT use SparseSolverBase. Gael Guennebaud 2014-09-01 17:19:16 +02:00
  • 863b7362bc Fix usage of m_isInitialized in SparseLU and Pastix support. Gael Guennebaud 2014-09-01 17:16:32 +02:00
  • 1bf3b34849 Fix regression in sparse-sparse product Gael Guennebaud 2014-09-01 17:15:08 +02:00
  • f9580a3473 Fix Cholmod support without evaluators Gael Guennebaud 2014-09-01 17:14:30 +02:00
  • fbb53b6cbb Fix sparse matrix times sparse vector. Gael Guennebaud 2014-09-01 16:53:52 +02:00