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
..
2023-12-21 00:57:21 +00:00
2019-03-14 10:08:12 +01:00
2023-12-21 00:57:21 +00:00
2016-05-18 14:03:03 +02:00
2023-12-14 13:37:03 -08:00
2018-11-23 15:37:09 +01:00
2019-12-11 18:22:57 +00:00
2023-10-16 13:38:17 -07:00
2021-01-27 23:32:12 +01:00
2023-07-07 15:21:18 -07:00
2021-05-07 17:52:07 +00:00
2021-01-27 23:32:12 +01:00
2021-03-10 22:17:03 -08:00
2021-09-15 13:26:50 -05:00
2021-04-22 21:05:50 +00:00
2021-09-15 13:26:50 -05:00
2021-01-21 09:44:42 -08:00
2023-12-21 00:57:21 +00:00
2018-11-23 15:12:06 +01:00