PolarDecomposition Subroutine

public subroutine PolarDecomposition(InMat, Umat, Hmat, solver_parameters_in)

Computes the polar decomposition of a matrix Mat = U*H.

Arguments

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

The input matrix.

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

The unitary polar factor.

type(Matrix_ps), intent(inout), optional :: Hmat

The hermitian matrix factor.

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

Parameters for the solver.


Contents