bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] error ?


From: Peter Johansson
Subject: Re: [Bug-gsl] error ?
Date: Sat, 02 Oct 2010 09:55:45 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]