shuffle Interface

public interface shuffle

Fisher-Yates shuffle algorithm for a rank one array of integer, real and complex variables. (Specification)


Module Procedures

private function shuffle_iint8(list) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: list(:)

Return Value integer(kind=int8), (size(list))

private function shuffle_iint16(list) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int16), intent(in) :: list(:)

Return Value integer(kind=int16), (size(list))

private function shuffle_iint32(list) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: list(:)

Return Value integer(kind=int32), (size(list))

private function shuffle_iint64(list) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: list(:)

Return Value integer(kind=int64), (size(list))

private function shuffle_rsp(list) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: list(:)

Return Value real(kind=sp), (size(list))

private function shuffle_rdp(list) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: list(:)

Return Value real(kind=dp), (size(list))

private function shuffle_csp(list) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: list(:)

Return Value complex(kind=sp), (size(list))

private function shuffle_cdp(list) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: list(:)

Return Value complex(kind=dp), (size(list))