October 7th, 2011, 11:28 pm
QuoteOriginally posted by: CuchulainnQuoteOriginally posted by: AlanTo be minimally useful for research purposes, IMO, the QFCL project must support complex numbers.In particular, various special functions occur all the time in models, with complex-valued arguments and complex return values.I can't tell from the online docs if Boost supports this concept, but I get a bad feeling that generally, it doesn't.Comments?STL has complex numbers up to transcendental functions.Boost has some fns. for inverse fns.Would you need more dedicated features? (complex-valued numerical quadrature??)Yes, definitely for all integration methods. Also, ideally for various special functions (not just the elementary functions, like cos(x), e^x, etc, built into C/C++ std math).Now I would expect that adding complex support for an integration routine should be quite feasible.But, developing a complex-valued special function is probabably beyond the project's scope.However, let's say I find some (non-Boost) C/C++ version of some special function in another library somewhere -- will I be able to use it, in the integration methods, say?