Skip to main content

Repeat

Repeat a vector.

Interface

MODULE PURE FUNCTION Repeat(Val, rtimes) RESULT(Ans)
INTEGER(Int8|Int16|Int32|Int64|Real32|Real64), INTENT(IN) :: Val(:)
INTEGER(I4B), INTENT(IN) :: rtimes
INTEGER(Int8| Int16 | Int32 | Int64| Real32 | Real64) :: Ans(SIZE(Val) * rtimes)
END FUNCTION Repeat