Antonio Sanchez
3ee06ec52f
Fix real schur and polynomial solver.
...
For certain inputs, the real schur decomposition might get stuck in a cycle.
Exceptional shifts are supposed to knock us out of that - but previously
they were only ever applied at iteration 10 and 30, which doesn't help if
the cycle starts after cycle 30. Modified to apply a shift every 16 iterations
(for reference, LAPACK seems to do it every 6 iterations).
Also added an assert in polynomial solver to verify that the schur decomposition
was successful.
Fixes #2633 .
2024-02-16 13:11:54 -08:00
Antonio Sánchez
287c801780
Use stableNorm in ComplexEigenSolver.
...
(cherry picked from commit 0f0c76dc2985fc6722406ccdf7488359f6f23400)
2024-01-30 08:39:35 -08:00
Antonio Sanchez
42b04a08c4
Fix preshear transformation.
...
Fixes #2777 . The `preshear` function seems to have always used an invalid constructor
internally, and has been broken for a while. Fixed the implementation and added a test.
(cherry picked from commit 45da84e21570bf70238cf489ad862b2f09242c5f)
2024-01-29 12:30:06 -08:00
Rasmus Munk Larsen
b86ac5f1e7
Use padd
instead of +
.
...
(cherry picked from commit bbfc4d54cd863676b3ae874e25dbe150fb6d575c)
2024-01-29 10:50:55 -08:00
Rasmus Munk Larsen
380a9483e0
Implement a generic vectorized version of Smith's algorithms for complex division.
...
(cherry picked from commit 9312a5bf5cd72f45558f402077b0c95683ee0fea)
2024-01-26 20:42:52 -08:00
Charles Schlosser
25270e35db
Fix compiler warnings in 3.4
2023-12-21 00:57:21 +00:00
Antonio Sanchez
ebf968b272
Remove c++11 from ctz/clz
2023-12-20 14:18:48 -08:00
Charles Schlosser
bd57b99f44
fix msvc clz
...
(cherry picked from commit 2c4541f735d3dad2ce312bf785c366668d646f3b)
2023-12-14 13:38:18 -08:00
Antonio Sánchez
b8f894947a
Add internal ctz/clz implementation.
...
(cherry picked from commit 75e273afcc86c4580aae12fb4e6e68c252cc2af0)
2023-12-14 13:37:03 -08:00
Antonio Sanchez
4be2870267
Only apply ASM work-around for min/max on GNUC strict.
...
Fixes #2742 .
2023-11-27 10:08:18 -08:00
Charles Schlosser
f7085a1096
replace using with typedef
2023-11-24 19:42:54 +00:00
Charles Schlosser
63291e34bf
Update file GeneralMatrixVector.h
...
(cherry picked from commit 283dec7f257d463ff66d688cda17f78118eb3caa)
2023-11-24 19:07:33 +00:00
Charles Schlosser
23886fd7db
Gemv microoptimization
...
(cherry picked from commit d1b03fb5c91dcf0e48555bba8387201a0b1425d9)
2023-11-24 19:07:17 +00:00
Charles Schlosser
7c6020e424
Fix -Waggressive-loop-optimizations
...
(cherry picked from commit 4e9e493b4abc57dba377fc326082b40d08193619)
2023-11-24 19:06:40 +00:00
arthurfeeney
2e3f1d8044
Fix implicit conversion warning in GEBP kernel's packing
...
(cherry picked from commit 937c3d73cbf55b6edc658decf7931b90ede1daef)
2023-11-18 18:17:21 +00:00
Antonio Sanchez
bae907b8f6
Update version to 3.4.1
...
Tests all pass: https://gitlab.com/libeigen/eigen_ci_cross_testing/-/pipelines/1060764169
2023-11-06 13:53:54 -08:00
Charles Schlosser
cf207eacd5
Patch SparseLU
...
(cherry picked from commit a8bab0d8ae0601392287526840ddcb1af3bb85a6)
2023-11-02 21:17:17 -07:00
Chip Kerchner
e734787bb7
Fix pre-POWER8_VECTOR bugs in pcmp_lt and pnegate and reactivate psqrt.
...
(cherry picked from commit 4a58f30aa083d2f5753465a36730ca7734b483be)
2023-10-25 15:19:37 -07:00
Antonio Sanchez
1217390db4
Fix windows+CUDA builds
2023-10-25 20:55:59 +00:00
Antonio Sanchez
7176ae1623
Make 3.4.1 compatible with c++03
2023-10-16 15:38:25 -07:00
Antonio Sánchez
0db5928f00
Eliminate use of _res.
...
(cherry picked from commit 5bdf58b8df31b0377bc5f57ba63d8479793b7bae)
2023-10-16 13:38:17 -07:00
Erik Schultheis
764b132a79
ensure that eigen::internal::size is not found by ADL, rename to ssize and...
...
(cherry picked from commit 9210e71fb378a0f1542272506dc2759b6c147237)
2023-08-24 12:42:34 -07:00
Charles Schlosser
208e44c979
fix warnings in tensorreduction and memory
2023-07-19 16:48:07 +00:00
Antonio Sánchez
17d57fb168
Fix up PowerPC MMA flags so it builds by default.
...
(cherry picked from commit 591906477bc8c8102dbefceefe10d81648865394)
2023-07-11 16:27:32 -07:00
Antonio Sánchez
6973687c70
Fix up PowerPC MMA flags so it builds by default.
...
(cherry picked from commit 65eeedf9646ee6efc457cc3a8f8d9030a6f83689)
2023-07-11 16:20:57 -07:00
Antonio Sánchez
0f39c851a5
Fix use of arg function in CUDA.
...
(cherry picked from commit 63dcb429cd91f7e1cdfaffb894bb368502ee0c38)
2023-07-10 15:30:41 -07:00
Kevin Leonardic
daa0b70a65
Fix argument for _mm256_cvtps_ph imm parameter
...
(cherry picked from commit d4b05454a7b33139ce6636584550780ff15af6ed)
2023-07-10 15:30:41 -07:00
Antonio Sánchez
33ba98b641
Ensure EIGEN_HAS_ARM64_FP16_VECTOR_ARITHMETIC is always defined on arm.
...
(cherry picked from commit 31cd2ad371bf8b7486951dfcd20381427aba5546)
2023-07-10 15:30:41 -07:00
Antonio Sánchez
e6e921f0e3
Disable FP16 arithmetic for arm32.
...
(cherry picked from commit 7465b7651edfb58322557179658853243eb96372)
2023-07-10 15:30:41 -07:00
Alexander Shaposhnikov
ebfdd6bdea
Do not set EIGEN_HAS_ARM64_FP16_SCALAR_ARITHMETIC for cuda compilation
...
(cherry picked from commit 316eab8deb574d150f9cfc7f8b170156dc0cdd9f)
2023-07-10 15:30:41 -07:00
Rasmus Munk Larsen
9b3d104c02
Add missing braces in Umeyama.h
...
(cherry picked from commit 1321821e86ebbfdf8ccda7f89b59f19feb023dbc)
2023-07-10 14:52:08 -07:00
Rasmus Munk Larsen
af3ca50f0b
Work around compiler bug in Umeyama.h.
...
(cherry picked from commit 524c329ab23fb565eff8aa2bf36d134e97773a99)
2023-07-10 14:52:08 -07:00
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