transpose Interface

public interface transpose

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

Syntax

   B = transpose(A)

Arguments

  • A : Matrix of SymTridiagonal 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)

Compute the transpose of a SymTridiagonal matrix.

Arguments

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

Input matrix.

Return Value type(SymTridiagonal)

Transpose of the matrix.