transpose Interface

public interface transpose

This interface overloads the Fortran intrinsic procedure to define the transpose operation for a Diagonal matrix.

Syntax

   B = transpose(A)

Arguments

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

  • B : Resulting transposed matrix. It is of the same type as A.


Functions

private pure module function transpose_rdp(A) result(B)

Utility function to compute the transpose of a Diagonal matrix.

Arguments

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

Input matrix.

Return Value type(Diagonal)

Transpose of the matrix.