7 Dec
2006
7 Dec
'06
5:28 p.m.
Hi again John Maddock wrote:
There is a library in the Boost Vault that does compile-time math, but I haven't had a chance to play with it yet, you might be able to adapt that to calculate the coefficients at compile time. The big problem is likely to be avoiding numeric overflow in the fractions, however.
If it will had any problem with calculation, there can be prepared some dedicated (with fixed rank) numeric methods, and can be prepared some more general, but coefficients will be calculated in constructor, and only rank will be set as template parameter. I will look. Regards. -- |\/\/| Seweryn Habdank-Wojewódzki `\/\/'