[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] permutation
From: |
Eric Germaneau |
Subject: |
[Help-gsl] permutation |
Date: |
Fri, 19 Aug 2005 15:47:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915 |
Hello,
I'd like to find out all possible combinations of {1,2,3,4} set. There
are actually 1024 i think.
I'm trying to use "permutaions" from GSL but I do not get out all of them.
For example if I ask combination os {0,1} set the result is: 0 1 ; 1 0
In fact 1 1 and 0 0 are missing ....
Does someone has an idea hoe to do that?
Thanks in advance,
Regards,
Eric.
--
*************************************************************************************************
" Reason" in things existed before things themselves existed
and all the changes in things were governed by it.
Zhu Xi.
Eric Germaneau <http://lcr.epfl.ch/page37437.html>
Assistant Doctorant
Ecole polytechnique fédérale de Lausanne (EPFL)
FSB - IPMC
Laboratoire de Cristallographie(LCr) <http://lcr.epfl.ch>
BSP 518
CH-1015 Lausanne
Switzerland
address@hidden <mailto:address@hidden>
webpage ... <http://marie.epfl.ch/germanea/>
Tel.: +41 (0)21 / 693 06 36
Fax.: +41 (0)21 / 693 05 04
- [Help-gsl] permutation,
Eric Germaneau <=