Skip to main content

ColConcat

This function concatenates the columns of array (of rank 1 or 2).

Calling examples:

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

Interface 1

MODULE PURE FUNCTION colConcat(a, b) RESULT(ans)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: a(:)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: b(:)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), ALLOCATABLE :: ans(:, :)
END FUNCTION colConcat

Interface 2

MODULE PURE FUNCTION colConcat(a, b) RESULT(ans)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: a(:, :)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: b(:)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), ALLOCATABLE :: ans(:, :)
END FUNCTION colConcat

Interface 3

MODULE PURE FUNCTION colConcat(a, b) RESULT(ans)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: a(:)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: b(:, :)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), ALLOCATABLE :: ans(:, :)
END FUNCTION colConcat

Interface 4

MODULE PURE FUNCTION colConcat(a, b) RESULT(ans)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: a(:, :)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), INTENT(IN) :: b(:, :)
INTEGER(Int8| Int16 | Int32 | Int64) | REAL(Real32| Real64), ALLOCATABLE :: ans(:, :)
END FUNCTION colConcat