shuffle Interface

public interface shuffle

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


Contents


Module Procedures

private function shuffle_iint8(list) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: list(:)

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

private function shuffle_iint16(list) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: list(:)

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

private function shuffle_iint32(list) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: list(:)

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

private function shuffle_iint64(list) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: list(:)

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

private function shuffle_rsp(list) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: list(:)

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

private function shuffle_rdp(list) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: list(:)

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

private function shuffle_csp(list) result(res)

Arguments

TypeIntentOptionalAttributesName
complex(kind=sp), intent(in) :: list(:)

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

private function shuffle_cdp(list) result(res)

Arguments

TypeIntentOptionalAttributesName
complex(kind=dp), intent(in) :: list(:)

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