December 14th, 2008, 4:58 am
QuoteOriginally posted by: Cuchulainnxeno,I would like to see "level 3" libraries such as in boost:maths +stats+special functions(boost has LOTS)uBLASmulti-arrayRNGetc. I see. I would have use for all of the above. I have to admit, the last time I used Boost was around 2002(?), and mostly for the smart pointer and bind stuff. I'm surprised to see how much it has grown since then. Quote//I also need to have generic parameters as in TinyArray<T, N> where N is an integer. And for operators such as * and + I must use Reflection to emit code to generate them.so, I think my proposal is very modest QuoteLike everyone else, I've got oodles of helper/utilities that I wish I don't need to maintain myself. :-)Are these a product in the market?Nope, it's not a product, just in-house use. My day job is a buy-side quant.The utilities I mentioned are things like: * DateTime helpers, e.g. date.NextWeekDay(), DateRange, and other date arithmetic* String helpers, e.g. prices.JoinWith(",") similar to Python's ",".join(prices)* Tuple<T1,T2>, Tuple<T1,T2,T3>, etc similar to Boost::Tuple* Python's zip: take two or more IEnumerable and return an IEnumerable of Tuples* Math helpers: d.StandardDeviation(), d.Percentile(x), etc where d is an IEnumerable<double>. Note that the BCL already has d.Sum() and d.Average().* CSV Reader/writer.* Excel reader/writer.I also have a hand-rolled WPF chart library that I work on once in a while. (The ones I've seen either suck or have so steep a learning curve that I give up, but I guess that's another discussion. For WinForms, I recommend ZedGraph. Barely.)So yes, I certainly would have use for a "C# Boost".-xeno