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 AttributesName
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 InverseSquareRoot(InputMat, OutputMat, solver_parameters_in, order_in)

Compute the inverse square root of a matrix.

Arguments

Type IntentOptional AttributesName
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).