inv2 Function

public function inv2(A) result(Ainv)

Inverse of a matrix calculated by finding the LU decomposition using LAPACK

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), dimension(:, :) :: A

Square matrix A

Return Value real(kind=dp), dimension(size(A,1),size(A,2))

Inverse of matrix A