Commit Graph

9250 Commits

Author SHA1 Message Date
Christoph Hertzberg
1760432f6e Provide numext::[u]int{32,64}_t. Manually grafted from 4356a55a61 2019-10-11 16:51:08 +02:00
Gael Guennebaud
a7d6a65d49 Implement c++03 compatible fix for changeset 7a43af1a33
(grafted from f0a4642bab
)
2019-10-09 16:00:57 +02:00
Christoph Hertzberg
74d474e7df Resolve merge conflict 2019-10-09 15:52:12 +02:00
Gael Guennebaud
47e2f8a42c PR 719: fix real/imag namespace conflict
(grafted from 87427d2eaa
)
2019-10-08 09:15:17 +02:00
Gael Guennebaud
3cf273591a Fix compilation of FFTW unit test
(grafted from 7a43af1a33
)
2019-10-08 08:58:35 +02:00
Gael Guennebaud
8ee2e10af4 Fix perf issue in SimplicialLDLT::solve for complexes (again, m_diag is real)
(grafted from 9549ba8313
)
2019-10-01 12:54:25 +02:00
Gael Guennebaud
165db26dc0 Fix speed issue with SimplicialLDLT for complexes: the diagonal is real!
(grafted from c8b2c603b0
)
2019-09-30 16:14:34 +02:00
Gael Guennebaud
52d159c19f bug #1741: fix self-adjoint*matrix, triangular*matrix, and triangular^1*matrix with a destination having a non-trivial inner-stride 2019-09-11 15:04:25 +02:00
Gael Guennebaud
6abc9e5379 Fix compilation of BLAS backend and frontend 2019-09-11 10:02:37 +02:00
Gael Guennebaud
f722e43770 bug #1741: fix SelfAdjointView::rankUpdate and product to triangular part for destination with non-trivial inner stride
(grafted from c06e6fd115
)
2019-09-10 23:29:52 +02:00
Gael Guennebaud
f483c7ea8a bug #1741: fix C.noalias() = A*C; with C.innerStride()!=1
(grafted from ea0d5dc956
)
2019-09-10 16:25:24 +02:00
Gael Guennebaud
32cb4853c6 bug #1562: optimize evaluation of small products of the form s*A*B by rewriting them as: s*(A.lazyProduct(B)) to save a costly temporary. Measured speedup from 2x to 5x...
(grafted from d428a199ab
)
2018-07-02 11:41:09 +02:00
Kyle Vedder
5c4b03c53e Added leading asterisk for Doxygen to consume as it was removing asterisk intended to be part of the code. 2019-07-18 18:12:14 +00:00
Michael Grupp
3a79cc3f5b Fix typo in Umeyama method documentation 2019-07-17 11:20:41 +00:00
Christoph Hertzberg
71d0402e3e Avoid throwing in destructors (this caused build warnings in test-suite) 2019-06-28 11:55:38 +02:00
Christoph Hertzberg
427f2f66d6 bug #1724: Mask buggy warnings with g++-7 2019-06-14 14:57:46 +02:00
Christoph Hertzberg
6ed74ac97c digits10() needs to return an integer
Problem reported on https://stackoverflow.com/questions/56395899
(grafted from 5614400581
)
2019-05-31 15:45:41 +02:00
Michael Tesch
841d844f9c Use pade for matrix exponential also for complex values.
(grafted from c5019f722b
)
2019-05-08 17:04:55 +02:00
Christoph Hertzberg
4387298e80 Cast Index to RealScalar
This fixes compilation issues with RealScalar types that are not implicitly castable from Index (e.g. ceres Jet types).
Reported by Peter Anderson-Sprecher via eMail
(grafted from ac21a08c13
)
2019-05-23 15:31:12 +02:00
Christoph Hertzberg
4f77286c3d Collapsed revision from PR-641
* SparseLU.h - corrected example, it didn't compile
* Changed encoding back to UTF8
2019-05-13 19:02:30 +02:00
Gael Guennebaud
4a242ac43d bug #1695: fix a numerical robustness issue. Computing the secular equation at the middle range without a shift might give a wrong sign.
(grafted from 45e65fbb77
)
2019-03-27 20:16:58 +01:00
Gael Guennebaud
fe8cd812b0 backport EIGEN_HAS_C99_MATH for MSVC 2019-03-22 10:16:08 +01:00
Gael Guennebaud
b7249a2a42 Remove debug code.
(grafted from cf697272e1
)
2018-12-09 23:05:46 +01:00
Gael Guennebaud
7c42084503 Various fixes in polynomial solver and its unit tests:
- cleanup noise in imaginary part of real roots
 - take into account the magnitude of the derivative to check roots.
 - use <= instead of < at appropriate places
(grafted from 450dc97c6b
)
2018-12-09 22:54:39 +01:00
Christoph Hertzberg
8fb28db12d Rename variable which shadows class name
(grafted from 44ee201337
)
2018-07-25 20:26:15 +02:00
Gael Guennebaud
e777674a87 Extend polynomial solver unit tests to complexes
(grafted from f12b368417
)
2016-11-23 16:05:45 +01:00
Gael Guennebaud
222ce4b49d Automatically switch between EigenSolver and ComplexEigenSolver, and fix a few Real versus Scalar issues.
(grafted from 56e5ec07c6
)
2016-11-23 16:05:10 +01:00
Gael Guennebaud
4415d4e2d4 Patch from Oleg Shirokobrod to extend polynomial solver to complexes
(grafted from 9246587122
)
2016-11-23 15:42:26 +01:00
Gael Guennebaud
07c2081aac fix unit test in c++03: c++03 does not allow passing local or anonymous enum as template param
(grafted from 48898a988a
)
2019-03-18 11:38:36 +01:00
Gael Guennebaud
dd93c41618 Complete previous backport with is_valid_index_type 2019-03-17 22:02:18 +01:00
Gael Guennebaud
441b3511de bug #1692: enable enum as sizes of Matrix and Array
(grafted from cf7e2e277f
)
2019-03-17 21:59:30 +01:00
Thomas Capricelli
cf0bf73edc use proper id 2019-03-12 13:54:24 +01:00
Thomas Capricelli
f719b23ef7 update tracking code for 3.3 branch 2019-03-12 13:49:07 +01:00
Gael Guennebaud
5110d803e4 Change license from LGPL to MPL2 with agreement from David Harmon.
(grafted from 2df4f00246
)
2019-03-07 18:17:10 +01:00
Gael Guennebaud
6b59aa705a bug #1689 fix used-but-marked-unused warning
(grafted from bfbf7da047
)
2019-03-05 23:46:24 +01:00
Gael Guennebaud
7b93328baf Enable construction of Ref<VectorType> from a runtime vector.
(grafted from b0d406d91c
)
2019-03-03 15:25:25 +01:00
Gael Guennebaud
6adb70d3c4 Enable documentation of Array's typedefs
(grafted from 475295b5ff
)
2019-02-20 15:18:07 +01:00
Gael Guennebaud
c354f59fb6 bug #1679: avoid possible division by 0 in complex-schur
(grafted from f2970819a2
)
2019-02-15 09:39:25 +01:00
Steven Peters
637302a4c2 Spline.h: fix spelling "spang" -> "span"
(grafted from 953ca5ba2f
)
2019-02-08 06:23:24 +00:00
Gael Guennebaud
2aa9eb3ce8 bug #1676: workaround GCC's bug in c++17 mode.
(grafted from b3c4344a68
)
2019-02-07 15:21:35 +01:00
Gael Guennebaud
f1c12d8ff0 Workaround gcc's alloc-size-larger-than= warning
(grafted from bcb7c66b53
)
2018-10-07 21:55:59 +02:00
Gael Guennebaud
6c4d57dc9e Fix a gcc7 warning about bool * bool in abs2 default implementation.
(grafted from 561f777075
)
2017-06-27 12:05:17 +02:00
Christoph Hertzberg
6870a39feb Hide some annoying unused variable warnings in g++8.1
(grafted from a7779a9b42
)
2019-01-29 16:48:21 +01:00
Gael Guennebaud
bb9981e24b Fix gcc 8.1 warning: "maybe use uninitialized"
(grafted from 16b2001ece
)
2018-10-07 21:54:49 +02:00
Gael Guennebaud
74a0c08d70 Disable ignoring attributes warning
(grafted from 2cf6d3050c
)
2018-09-20 11:38:19 +02:00
Christoph Hertzberg
18dc2107ea Disable/ReenableStupidWarnings did not work properly, when included recursively
(grafted from ef4d79fed8
)
2018-08-28 18:26:22 +02:00
Christoph Hertzberg
c28ba89fe2 Old gcc versions have problems with recursive #pragma GCC diagnostic push/pop
Workaround: Don't include "DisableStupidWarnings.h" before including other main-headers
(grafted from 42f3ee4fb8
)
2018-08-28 11:44:15 +02:00
Gael Guennebaud
c781bf2202 Slightly extend discussions on auto and move the content of the Pit falls wiki page here.
http://eigen.tuxfamily.org/index.php?title=Pit_Falls
(grafted from e3622a0396
)
2019-01-30 13:09:21 +01:00
Gael Guennebaud
c30beb5974 bug #1669: fix PartialPivLU/inverse with zero-sized matrices.
(grafted from 8a06c699d0
)
2019-01-29 10:27:13 +01:00
Christoph Hertzberg
7b160dcc82 After fixing bug #1557, boostmultiprec_7 failed with NumericalIssue instead of NoConvergence (all that matters here is no Success)
(grafted from d575505d25
)
2019-01-17 19:14:07 +01:00