Skip to main content

GetTril

This subroutine returns the lower triangle part of a matrix.

Interface

  MODULE PURE SUBROUTINE GetTril(A, diagNo, lu)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: A(:, :)
INTEGER(I4B), OPTIONAL, INTENT(IN) :: diagNo
!! diagonal number, default = 0
INTEGER(INT64), INTENT(OUT) :: lu(SIZE(A, 1), SIZE(A, 2))
END SUBROUTINE GetTril