Skip to main content

RowConcat

This function concates the rows of array (of rank 1 or 2).

Calling example:

c(:,:) = a(:) .RowConcat. b(:)
c(:,:) = a(:,:) .RowConcat. b(:)
c(:,:) = a(:) .RowConcat. b(:,:)
c(:,:) = a(:,:) .RowConcat. b(:,:)

Interface 1

  MODULE PURE FUNCTION rowConcat(a, b) RESULT(ans)
REAL(REAL32), INTENT(IN) :: a(:)
REAL(REAL32), INTENT(IN) :: b(:)
REAL(REAL32), ALLOCATABLE :: ans(:, :)
END FUNCTION rowConcat

Interface 2

  MODULE PURE FUNCTION rowConcat(a, b) RESULT(ans)
REAL(REAL32), INTENT(IN) :: a(:, :)
REAL(REAL32), INTENT(IN) :: b(:)
REAL(REAL32), ALLOCATABLE :: ans(:, :)
END FUNCTION rowConcat

Interface 3

  MODULE PURE FUNCTION rowConcat(a, b) RESULT(ans)
REAL(REAL32), INTENT(IN) :: a(:)
REAL(REAL32), INTENT(IN) :: b(:, :)
REAL(REAL32), ALLOCATABLE :: ans(:, :)
END FUNCTION rowConcat

Interface 4

  MODULE PURE FUNCTION rowConcat(a, b) RESULT(ans)
REAL(REAL32), INTENT(IN) :: a(:, :)
REAL(REAL32), INTENT(IN) :: b(:, :)
REAL(REAL32), ALLOCATABLE :: ans(:, :)
END FUNCTION rowConcat