You are here: Combinatorics algorithm « PHP Programming Language « IT news, forums, messages
Combinatorics algorithm

Posted by all_my_trash on 07/26/06 10:47

Hello!

I'm trying to write an algorithm which can fill an array with all the
possible combinations of r out of n, without repetition (maximum
combinations = n!/(r!(n-r)!))

However, my mathematical skills are insufficient - does anybody have
such an algorithm for sharing?

Regards,
OMykle

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация