
"John Maddock" <john@johnmaddock.co.uk> wrote:
Um have you seen: http://svn.boost.org/svn/boost/trunk/libs/math/doc/sf_and_dist/html/math_too... ?
Ah, I hadn't seen it indeed, sorry. Seems like MPL is being developed too: http://boost-sandbox.sourceforge.net/libs/accumulators/doc/html/index.html#a.... I'll give it another try (this time I checked the docs more thoroughly :)). While I was thinking about the library I thought it would be good to have a general set of algorithms for dealing with real functions. So I thought about numerically computing some popular functionals: get_derivative(Fun f); get_integral(Fun f); get_definite_integral(Fun f, T a, T b); get_function(samples); // e.g. interpolation with a polynomial/splines/... get_polynomial_approximation(Fun f); and transforms: FFT, wavelet transform, etc. Fun could be anything with T operator()(T x): get_integral(_1*_1+_1)(x);