pymor.solvers.matrix_equations.interface

Classes

BernoulliSolver

Dense solver interface for BernoulliEquations.

LyapunovSolver

Dense solver interface for LyapunovEquations.

LyapunovSolverLR

Low-rank solver interface for LyapunovEquations.

PositiveRiccatiSolver

Dense solver interface for PositiveRiccatiEquations.

PositiveRiccatiSolverLR

Low-rank solver interface for PositiveRiccatiEquations.

RiccatiSolver

Dense solver interface for RiccatiEquations.

RiccatiSolverLR

Low-rank solver interface for RiccatiEquations.

SylvesterSolver

Dense solver interface for SylvesterEquations.

class pymor.solvers.matrix_equations.interface.BernoulliSolver[source]

Bases: ImmutableObject

Dense solver interface for BernoulliEquations.

solve(equation)[source]

Solve a BernoulliEquation.

Parameters:

equation – The BernoulliEquation to solve.

Returns:

X – BernoulliEquation solution as a NumPy array.

class pymor.solvers.matrix_equations.interface.LyapunovSolver[source]

Bases: ImmutableObject

Dense solver interface for LyapunovEquations.

solve(equation)[source]

Solve a LyapunovEquation.

Parameters:

equation – The LyapunovEquation to solve.

Returns:

X – LyapunovEquation solution as a NumPy array.

class pymor.solvers.matrix_equations.interface.LyapunovSolverLR[source]

Bases: ImmutableObject

Low-rank solver interface for LyapunovEquations.

Computes a low-rank factor of the solution of the LyapunovEquation.

solve(equation)[source]

Solve a LyapunovEquation.

Parameters:

equation – The LyapunovEquation to solve.

Returns:

Z – Low-rank factor of the solution, VectorArray from equation.A.source.

class pymor.solvers.matrix_equations.interface.PositiveRiccatiSolver[source]

Bases: ImmutableObject

Dense solver interface for PositiveRiccatiEquations.

solve(equation)[source]

Solve a PositiveRiccatiEquation.

Parameters:

equation – The PositiveRiccatiEquation to solve.

Returns:

X – PositiveRiccatiEquation solution as a NumPy array.

class pymor.solvers.matrix_equations.interface.PositiveRiccatiSolverLR[source]

Bases: ImmutableObject

Low-rank solver interface for PositiveRiccatiEquations.

Computes a low-rank factor of the solution of the PositiveRiccatiEquation.

solve(equation)[source]

Solve a PositiveRiccatiEquation.

Parameters:

equation – The PositiveRiccatiEquation to solve.

Returns:

Z – Low-rank factor of the solution, VectorArray from equation.A.source.

class pymor.solvers.matrix_equations.interface.RiccatiSolver[source]

Bases: ImmutableObject

Dense solver interface for RiccatiEquations.

solve(equation)[source]

Solve a RiccatiEquation.

Parameters:

equation – The RiccatiEquation to solve.

Returns:

X – RiccatiEquation solution as a NumPy array.

class pymor.solvers.matrix_equations.interface.RiccatiSolverLR[source]

Bases: ImmutableObject

Low-rank solver interface for RiccatiEquations.

Computes a low-rank factor of the solution of the RiccatiEquation.

solve(equation)[source]

Solve a RiccatiEquation.

Parameters:

equation – The RiccatiEquation to solve.

Returns:

Z – Low-rank factor of the solution, VectorArray from equation.A.source.

class pymor.solvers.matrix_equations.interface.SylvesterSolver[source]

Bases: ImmutableObject

Dense solver interface for SylvesterEquations.

solve(equation)[source]

Solve a SylvesterEquation.

Parameters:

equation – The SylvesterEquation to solve.

Returns:

  • V – Returned if equation.B and equation.Br are given, VectorArray from equation.A.source.

  • W – Returned if equation.C and equation.Cr are given, VectorArray from equation.A.source.