|
Boost Users : |
From: Seweryn Habdank-Wojewódzki (habdank_at_[hidden])
Date: 2006-12-07 12:28:48
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 `\/\/'
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net