unaryShift Module Function

pure module function unaryShift(input, realParams, intParams, logicalParams) result(output)

Unary wrapper cyclically permuting input. String name "shift". Uses intParams(1) as the shift amount.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), dimension(:) :: input
real(kind=rk), intent(in), optional, dimension(:) :: realParams
integer(kind=ik), intent(in), optional, dimension(:) :: intParams
logical, intent(in), optional, dimension(:) :: logicalParams

Return Value real(kind=rk), allocatable, dimension(:)