MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::sylvester_result< Value > Struct Template Reference

The solution of a Sylvester equation. More...

#include <sylvester.hpp>

Public Attributes

mat::dense2D< Value > X
 the solution
bool perturbed = false
 True when the equation is singular or nearly so: an eigenvalue of A is within roundoff of an eigenvalue of -B (of B, for sylvester_sign::minus).

Detailed Description

template<typename Value>
struct mtl::sylvester_result< Value >

The solution of a Sylvester equation.

Member Data Documentation

◆ perturbed

template<typename Value>
bool mtl::sylvester_result< Value >::perturbed = false

True when the equation is singular or nearly so: an eigenvalue of A is within roundoff of an eigenvalue of -B (of B, for sylvester_sign::minus).

Pivots below that threshold were replaced by it, so X solves a nearby equation and may be large and inaccurate, as with LAPACK trsyl's info = 1.

◆ X

template<typename Value>
mat::dense2D<Value> mtl::sylvester_result< Value >::X

the solution


The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/operation/sylvester.hpp