reshape Interface

public interface reshape

Module Procedures

public function reshapeRealVector(vector, size1, size2) result(matrix)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: vector(:)
integer(kind=int32), intent(in) :: size1
integer(kind=int32), intent(in) :: size2

Return Value real(kind=real64), allocatable, (:,:)

public function reshapeIntVector(vector, size1, size2) result(matrix)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: vector(:)
integer(kind=int32), intent(in) :: size1
integer(kind=int32), intent(in) :: size2

Return Value integer(kind=int32), allocatable, (:,:)