diff options
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki index 6509423..7d5dce7 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -525,6 +525,10 @@ Returns a random integer such that N <= {{(rand <M>)}} < {{<M>}}. <procedure>(shuffle <vector>)</procedure> +Returns a copy of the vector {{<vector>}} with the entries in randomized order. + +<procedure>(shuffle! <vector>)</procedure> + Shuffles the vector {{<vector>}} randomly in-place using a Fisher-Yates shuffle. <procedure>(sample <obj>)</procedure> |