Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=SPC), | intent(inout), | DIMENSION(:,:) | :: | a | ||
complex(kind=SPC), | intent(inout), | DIMENSION(:,:) | :: | b |
SUBROUTINE swap_cm(a,b)
COMPLEX(SPC), DIMENSION(:,:), INTENT(INOUT) :: a,b
COMPLEX(SPC), DIMENSION(size(a,1),size(a,2)) :: dum
dum=a
a=b
b=dum
END SUBROUTINE swap_cm