InverseSolversModule Module

A Module For Computing The Inverse of a Matrix.



Contents


Subroutines

public subroutine Invert(Mat, InverseMat, solver_parameters_in)

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

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(in) :: Mat

The matrix to invert.

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

The inverse of that matrix.

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

Parameters for the solver

public subroutine PseudoInverse(Mat, InverseMat, solver_parameters_in)

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

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(in) :: Mat

The matrix to compute the pseudo inverse of.

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

The pseudoinverse of the input matrix.

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

Parameters for the solver