Non-transitive dice: Difference between revisions

m
Line 361:
=={{header|J}}==
 
Implementation (here,rotations weof considerresults X<Y<Zhere andare Y<Z<X to be the same sequence ofalso dicesolutions):
<lang J>NB. unique list of all y faced dice
udice=: {{ 1+~./:~"1 (#: ,@i.)y#y }}
6,962

edits