Learn R Programming

cayleyR (version 0.2.1)

shift_left_simple: Shift State Left (Simple)

Description

Simple cyclic left shift without coordinate tracking.

Value

Integer vector with elements shifted left by one position

Arguments

state

Integer vector representing the current permutation state

Examples

Run this code
shift_left_simple(1:5)

Run the code above in your browser using DataLab