matrix_determinant Function

public function matrix_determinant(a) result(det)

returns the determinant of square matrix A slightly redundant to LU_determiant but allows also to return zero as a determinant

Arguments

Type IntentOptional Attributes Name
real(kind=long), intent(in) :: a(:,:)

Return Value real(kind=long)