det Interface

public interface det

This interface overloads the det interface from stdlib_linag to compute the determinant where is of type Diagonal.

Syntax

   d = det(A)

Arguments

  • A : Matrix of Diagonal type. It is in an intent(in) argument.

  • d : Determinant of the matrix.


Functions

private pure module function det_rdp(A) result(d)

Compute the determinant of a Diagonal matrix.

Arguments

Type IntentOptional Attributes Name
type(Diagonal), intent(in) :: A

Input matrix.

Return Value real(kind=dp)

Determinant of the matrix.