SquareRootSolversModule Module

A Module For Computing The Square Root of a Matrix.



Contents


Subroutines

public subroutine SquareRoot(InputMat, OutputMat, solver_parameters_in, order_in)

Compute the square root of a matrix.

Arguments

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

The matrix to compute.

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

The resulting matrix.

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

Parameters for the solver.

integer, intent(in), optional :: order_in

Order of polynomial for calculation (default 5).

public subroutine DenseSquareRoot(Mat, OutputMat, solver_parameters_in)

Computes the matrix square root function (dense version).

Arguments

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

The matrix to compute the square root of.

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

The computed matrix.

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

Parameters for the solver

public subroutine InverseSquareRoot(InputMat, OutputMat, solver_parameters_in, order_in)

Compute the inverse square root of a matrix.

Arguments

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

The matrix to compute.

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

The resulting matrix.

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

Parameters for the solver.

integer, intent(in), optional :: order_in

Order of polynomial for calculation (default 5).

public subroutine DenseInverseSquareRoot(Mat, OutputMat, solver_parameters_in)

Computes the matrix inverse square root function (dense version).

Arguments

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

The matrix to compute the inverse square root of.

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

The computed matrix.

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

Parameters for the solver