[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shuffle.m
From: |
CdeMills |
Subject: |
shuffle.m |
Date: |
Fri, 17 Dec 2010 07:14:14 -0800 (PST) |
Please find enclosed a function 'shuffle', whose aim is to randomly permute a
vector, using algorithm found at
https://secure.wikimedia.org/wikipedia/en/wiki/Fisher%E2%80%93Yates_shuffle
If there is an agreement to include it, I will add copyright information.
Should it be enclosed into base or octave-forge ?
Regards
Pascal
http://octave.1599824.n4.nabble.com/file/n3092647/shuffle.m shuffle.m
--
View this message in context:
http://octave.1599824.n4.nabble.com/shuffle-m-tp3092647p3092647.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.