On 9/30/10 8:04 PM, Vander Alex wrote:
{ 0 2 3 }
{ 1 2 3 }
{ 0 1 2 3 }

where si { 0 1 3 2 } fro example ?????????

Hi Alex,

I think you're confusing combinations and permutations. A combination doesn't care about the order of elements, so { 0 1 3 2 } is equivalent to { 0 1 2 3 }. If you want all permutations, please use the permutation struct: http://www.gnu.org/software/gsl/manual/html_node/Permutations.html

Cheers,
Peter

_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to