helpers.is_cyclic
helpers.is_cyclic(arr)
Verify an array is cylic
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
arr |
numpy.numpy.ArrayLike | A numpy ndarray | required |
Returns
| Type | Description |
|---|---|
| bool | Determine if an array is cyclic. That is, each row is obtained from the row above by cyclic permutation. |