|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
The solution of a Sylvester equation scaled against overflow, as LAPACK trsyl returns it: X solves A X + sgn X B = scale * C with 0 < scale <= 1. More...
#include <sylvester.hpp>
Public Attributes | |
| mat::dense2D< Value > | X |
| the solution of the scaled equation | |
| magnitude_t< Value > | scale {1} |
| the factor applied to C, in (0, 1] | |
| bool | perturbed = false |
| as in sylvester_result | |
The solution of a Sylvester equation scaled against overflow, as LAPACK trsyl returns it: X solves A X + sgn X B = scale * C with 0 < scale <= 1.
scale < 1 only when the solution itself, or an intermediate of its computation, would exceed the range of the element type.
| bool mtl::sylvester_scaled_result< Value >::perturbed = false |
as in sylvester_result
| magnitude_t<Value> mtl::sylvester_scaled_result< Value >::scale {1} |
the factor applied to C, in (0, 1]
| mat::dense2D<Value> mtl::sylvester_scaled_result< Value >::X |
the solution of the scaled equation