InverseSolversModule Module

A Module For Computing The Inverse of a Matrix.



Contents


Subroutines

public subroutine Invert(InputMat, OutputMat, solver_parameters_in)

Compute the inverse of a matrix. An implementation of the method of Hotelling \cite palser1998canonical.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: InputMat

The matrix to invert.

type(Matrix_ps), intent(inout) :: OutputMat

The inverse of that matrix.

type(SolverParameters_t), intent(in), optional :: solver_parameters_in

Parameters for the solver

public subroutine DenseInvert(InputMat, OutputMat, solver_parameters_in)

Compute the inverse of a matrix using the eigendecomposition.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: InputMat

The matrix to compute the pseudo inverse of.

type(Matrix_ps), intent(inout) :: OutputMat

The pseudoinverse of the input matrix.

type(SolverParameters_t), intent(in), optional :: solver_parameters_in

Parameters for the solver

public subroutine PseudoInverse(InputMat, OutputMat, solver_parameters_in)

Compute the pseudoinverse of a matrix. An implementation of the method of Hotelling \cite palser1998canonical.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: InputMat

The matrix to compute the pseudo inverse of.

type(Matrix_ps), intent(inout) :: OutputMat

The pseudoinverse of the input matrix.

type(SolverParameters_t), intent(in), optional :: solver_parameters_in

Parameters for the solver