mulmoves-
multiplication of moves of a Rubik's like puzzle
Calling Sequence:
mulmoves(a1)
Parameters:
a1 - a seqence
Description:
-
The function mulmoves multiplies the
move of a Rubik's like puzzle.For the names of the rudimental moves see
the functions jl
, mb
, mx
, px
, rc2
, rc3
, rc4
, rc5
or sb
of the corresponding puzzles jewel, masterball, megaminx, pyraminx, Rubik's
2x2 cube, Rubik's 3x3 cube, Rubik's 4x4 cube, Rubik's 5x5 cube or skewb.
-
The input is a sequence containing
lists, names or the identity 1.
-
Output of the function is either a
list containing the moves, a move or the identity 1. The output is simplified
by the command simpmoves.
-
The command with(rubik,mulmoves) allows
the use of the abbreviated form of this command.
Examples:
> restart:
> with(rubik):
> X:=[R,L,1/D];
> mulmoves(X,D,1,L,X);
See Also:
invmoves,
simpmoves