6664 Commits

Author SHA1 Message Date
Charles Schlosser
385a0b38f8 JacobiSVD: set m_nonzeroSingularValues to zero if not finite
(cherry picked from commit fdc749de2ac1dd6ab25298dd60ab8d594992fd07)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
72b0759451 Fix arm builds.
(cherry picked from commit 2c8011c2dd72d6c2086b181aad8cbb6204fed5db)
2023-07-10 14:52:08 -07:00
Jonas Schulze
34d0d83278 Fix some typos
(cherry picked from commit 81cb6a51d0358151a7174481e140074401ca4afa)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
99473f255b Fix failing MSVC tests due to compiler bugs.
(cherry picked from commit 394aabb0a3976d95a5c6f286d49e43bb49558cc2)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
2ce5dc428f Guard use of long double on GPU device.
(cherry picked from commit bc5cdc7a675621ce54c4a9277d041d9dd7aae757)
2023-07-10 14:52:08 -07:00
Chip Kerchner
8f1b6198c2 Fix epsilon and dummy_precision values in long double for double doubles. Prevented some algorithms from converging on PPC.
(cherry picked from commit 54459214a1b9c67df04bc529474fca1ec9f4c84f)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
dae8c6d7ad Guard complex sqrt on old MSVC compilers.
(cherry picked from commit a16fb889dd5890b2a0788af10568f19155e6b262)
2023-07-10 14:52:07 -07:00
Antonio Sánchez
2dfdaa2abf More NEON packetmath fixes.
(cherry picked from commit 384269937f707669fb1ab65bee7e9bfca2c2dfa1)
2023-07-10 14:52:03 -07:00
Antonio Sánchez
a659b5dbb2 Fix NEON make_packet2f.
(cherry picked from commit 2dfbf1b251e7a32c140f36fc865b154b8a725bdd)
2023-07-10 14:34:09 -07:00
Antonio Sánchez
879854382c Fix MSVC arm build.
(cherry picked from commit 0a5392d6061134a4a32d0025fa154f830b83d606)
2023-07-10 14:34:09 -07:00
Jeremy Nimmer
90dce8dfa3 Fix undefined behavior in Block access
(cherry picked from commit a1cdcdb038cda474aefb900171222254599e9dd8)
2023-07-10 14:34:09 -07:00
Martin Burchell
b26ada1e03 Fix error: unused parameter 'tmp' [-Werror,-Wunused-parameter] on clang/32-bit arm
(cherry picked from commit c54785b071e6297c062883cf43f323525ff0e6fb)
2023-07-10 14:34:09 -07:00
Antonio Sánchez
f5593b4baa Fix reshape strides when input has non-zero inner stride.
(cherry picked from commit 2260e11eb019161cc861ef2b832ce3b8a92efecd)
2023-07-10 14:34:09 -07:00
Alexandre Hoffmann
3eb0c8b69e Changing BiCGSTAB parameters initialization so that it works with custom types
(cherry picked from commit 23524ab6fcbf557b4ae1885d25d867727330c0c2)
2023-07-10 14:34:09 -07:00
Antonio Sánchez
26adb0e5af Fix sparseLU solver when destination has a non-unit stride.
(cherry picked from commit ab2b26fbc27cd03c1d75ea8c2cce22fdd2bcc45b)
2023-07-10 14:34:09 -07:00
Antonio Sánchez
5547205092 Correct pnegate for floating-point zero.
(cherry picked from commit 8588d8c74b42eedde578af01605ecc90189bc329)
2023-07-10 14:34:04 -07:00
Antonio Sánchez
771e91860b Fix typo in CholmodSupport
(cherry picked from commit 7dc6db75d4e5cd89a4b708e4a022c66a27cda1bd)
2023-07-10 12:26:39 -07:00
Antonio Sánchez
4786edba26 Fix pragma check for disabling fastmath.
(cherry picked from commit c27d1abe460c32a432e1f019be17f2c0f876ccac)
2023-07-10 10:09:09 -07:00
Antonio Sánchez
15e23ab849 Explicitly state that indices must be sorted.
(cherry picked from commit bf48d463384e2fde45d0b0a008bd95351e475766)
2023-07-10 10:09:09 -07:00
Laurent Rineau
af6e7cc66a Eigen/Sparse: fix warnings -Wunused-but-set-variable
(cherry picked from commit 7846c7387c1cb09cef7329630012ea1aefe64cf9)
2023-07-10 10:09:09 -07:00
Rasmus Munk Larsen
3fbb1c1b48 Guard GCC-specific pragmas with "#ifdef EIGEN_COMP_GNUC"
(cherry picked from commit 5ceed0d57f14b0d9d62b8732f7f686b3aae56738)
2023-07-10 10:09:09 -07:00
Antonio Sánchez
28cd280726 Fix 4x4 inverse when compiling with -Ofast.
(cherry picked from commit 7d6a9925cc38842359750f3e06263e20b7635436)
2023-07-10 10:09:09 -07:00
Antonio Sánchez
8cc3ec8e47 Fix realloc for non-trivial types.
(cherry picked from commit 311ba66f7c76e27489e13961d0523d0ff3185969)
2023-07-10 10:09:02 -07:00
Michael Palomas
1000cf9fbc fixed msvc compilation error in GeneralizedEigenSolver.h
(cherry picked from commit 525f066671c401899ae458be6ecee473ec125f8b)
2023-07-07 15:21:18 -07:00
Antonio Sánchez
fd2817e3d6 Add asserts for index-out-of-bounds in IndexedView.
(cherry picked from commit f241a2c18a77cca64a71f6f4d25c1bac9b6dbb70)
2023-07-07 15:21:18 -07:00
Arthur
68f35d76b8 Fix GeneralizedEigenSolver::info() and Asserts
(cherry picked from commit a7c1cac18bfef26ec61a73c1619ccf0f9b734745)
2023-07-07 15:21:18 -07:00
Matthew Sterrett
d0e2b3e58d Removed unnecessary checks for FP16C
(cherry picked from commit 39fcc89798bc54501388348a448ea0e32fa5da7d)
2023-07-07 15:21:17 -07:00
Lexi Bromfield
33a602eb37 Don't double-define Half functions on aarch64
(cherry picked from commit 66ea0c09fdd939ae2741cee1f5a9961b64d5adcd)
2023-07-07 15:21:17 -07:00
Rasmus Munk Larsen
a9490cd3c5 Fix code and unit test for a few corner cases in vectorized pow()
(cherry picked from commit 7a87ed1b6a49bd0067856dcba9ad9a3a46186220)
2023-07-07 15:21:17 -07:00
Antonio Sánchez
61efca2e90 Use numext::sqrt in ConjugateGradient.
(cherry picked from commit 7896c7dc6bd1bd34dd9636bdd3426e3c28e6a246)
2023-07-07 15:21:17 -07:00
Alexander Richardson
a5469a6f0f Avoid including <sstream> with EIGEN_NO_IO
(cherry picked from commit b7668c0371054a3a938eeab32a5c10d24c1ea4fc)
2023-07-07 15:21:17 -07:00
Antonio Sánchez
6aaa45db5f Include immintrin.h header for enscripten.
(cherry picked from commit 34780d8bd13d0af0cf17a22789ef286e8512594d)
2023-07-07 15:21:17 -07:00
Antonio Sánchez
f55a112cb1 Fix ODR violations.
(cherry picked from commit bb51d9f4fa3cf1114348b9180640d6da7d3964f9)
2023-07-07 15:21:17 -07:00
Antonio Sánchez
b9ac284e52 Use numext::sqrt in Householder.h.
(cherry picked from commit 0e083b172e2e7d7527f15d5c5e8703a8e0f17109)
2023-07-07 15:21:17 -07:00
Antonio Sanchez
848db4ed2d Fix BDCSVD condition for failing with numerical issue.
(cherry picked from commit 481a4a8c319640a3689be11c66b38cf1f9dc50b2)
2023-07-07 15:21:17 -07:00
Antonio Sánchez
af912a7b5c Fix MSVC+CUDA issues.
(cherry picked from commit 5ed7a86ae96d411c450fb190f5a725f38f2aea9d)
2023-07-07 15:21:17 -07:00
Antonio Sánchez
8a21df2d9c Disable f16c scalar conversions for MSVC.
(cherry picked from commit 73b2c13bf2d4c8192ce1cdf7ceeb8d098cfe6b71)
2023-07-07 15:21:12 -07:00
Antonio Sánchez
973b04f3e1 Fix AVX512 builds with MSVC.
(cherry picked from commit 9a14d91a9909cc430638ac750d323df10194b84e)
2023-07-07 15:06:18 -07:00
Antonio Sánchez
16844d7529 Work around MSVC compiler bug dropping const.
(cherry picked from commit 3ca1228d451b5d156de6efe2e4514f4ec59c5ed4)
2023-07-07 15:06:18 -07:00
Tobias Schlüter
5cb2dfec1d Fix RowMajorBit <-> RowMajor mixup.
(cherry picked from commit 40eb34bc5dea506fdbb2508c35d9965bb8c68013)
2023-07-07 15:06:18 -07:00
Arthur
fab848d4f7 Remove workarounds for bad GCC-4 warnings
(cherry picked from commit 514f90c9ffd161a17cde859fe686a70e8a6983fc)
2023-07-07 15:06:18 -07:00
Antonio Sánchez
b6d9b6f48d Remove duplicate IsRowMajor declaration.
(cherry picked from commit 0ae94456a0e6dd5e20ca65ba2f405964f6931faf)
2023-07-07 15:06:18 -07:00
Antonio Sanchez
f6954e4485 Fix enum conversion warnings in BooleanRedux.
(cherry picked from commit 55c7400db5f43c60ae8f9b475a296e897c05ddb3)
2023-07-07 11:51:10 -07:00
Yury Gitman
bd0d873b16 Fix any/all reduction in the case of row-major layout
(cherry picked from commit bf6726a0c6cb5b9400c54568308cdc094a53bfc0)
2023-07-07 11:48:49 -07:00
Antonio Sánchez
e0fe006915 Fix mixingtypes for g++-11.
(cherry picked from commit 19c39bea29e21041ceca481851b3a5c889b51d98)
2023-07-07 11:47:23 -07:00
Martin Heistermann
d1ed3fe5c9 Fix for crash bug in SPQRSupport: Initialize pointers to nullptr to avoid free() calls of invalid pointers.
(cherry picked from commit 550af3938cc46116435f3dd88a9cdc94837d7542)
2023-07-07 11:44:55 -07:00
Antonio Sánchez
709d704819 Fix collision with resolve.h.
(cherry picked from commit 94bed2b80c8ed7a4293a0d16afd11e617e447eeb)
2023-07-07 11:40:44 -07:00
Antonio Sánchez
995714142d Restrict GCC<6.3 maxpd workaround to only gcc.
(cherry picked from commit 4bffbe84f9125fc05bc781bf2ec87ada73ecf7f2)
2023-07-07 11:39:27 -07:00
Antonio Sánchez
730a781221 Define EIGEN_HAS_AVX512_MATH in PacketMath.
(cherry picked from commit e7f4a901ee8cbe42d37bcabefb342086235c3839)
2023-07-07 11:39:13 -07:00
Antonio Sánchez
77b2807322 Fix AVX512 math function consistency, enable for ICC.
(cherry picked from commit 96da541cba007a84979ee5e3000c13eab982d56c)
2023-07-07 11:37:49 -07:00