[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
partitions function
From: |
Gorazd Brumen |
Subject: |
partitions function |
Date: |
Thu, 11 May 2006 16:23:39 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.8 (X11/20060502) |
Dear all,
Is there a function in octave/octave-forge which generates all the
partitions of the set, e.g. setpartitions (2) generates
sth. like { { {1},{2} }, { {1,2} } }.
Thanks a lot,
Gorazd
--
Gorazd Brumen
Mail: address@hidden
WWW: http://valjhun.fmf.uni-lj.si/~brumen
PGP: Key at http://pgp.mit.edu, ID BCC93240
- partitions function,
Gorazd Brumen <=