Previous: Other row Functions, Up: The row Class



3.5.5 static functions

— Function: static row row::rounds (int n);
— Function: static row row::queens (int n);
— Function: static row row::kings (int n);
— Function: static row row::tittums (int n);
— Function: static row row::reverse_rounds (int n);

These return the row corresponding to rounds, queens, kings, tittums and reverse rounds respectively on n bells.

— Function: static row row::pblh (int n, int h = 1);

This returns the first lead head of Plain Bob (h = 1), Grandsire (h = 2), or more generally the Plain Bob type method on n bells with h hunt bells.

— Function: static row row::cyclic (int n, int h = 1, int c = 1);

This returns a cyclic row on n bells with h initial fixed (hunt) bells. The variable c controls the number of bells moved from the front of the row to the end. Thus, cyclic(6,1,2) == "145623".