You should be able to find this in *ANY* computer science algorithm
textbook, or online in a few thousand sites...
If you find a C version, you can probably change all the variables to have $
in front, and you're finished.
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Robert Mena <[EMAIL PROTECTED]>
To: php mailing list <[EMAIL PROTECTED]>
Sent: Sunday, September 16, 2001 4:44 PM
Subject: Permutation in PHP
> Hi I am looking for an algorithm to generate the
> permutation of the elements of a vector, say <a,b,c>.
> Does anybody know / have implemented such (in PHP or
> different languages).
> Best regards.
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]