NthPermutation newbie problem .. Combinatorica Package
- To: mathgroup at smc.vnet.net
- Subject: [mg49953] NthPermutation newbie problem .. Combinatorica Package
- From: BV <dont at bug.me>
- Date: Sat, 7 Aug 2004 03:51:54 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I found that calling NthPermutation via MathLink in C++ is rather costly for my purposes, therefore I'm inquiring to re-write the function entirely in C++. I hope by eliminating unnecessary calls to MathLink this would speed up my program significantly. As, I admit, I am not very versed in Mathematics itself can anyone point me in the direction where to start; how this function works; what formula is used, etc. Thank you