1
Vote

CumSum

description

Would it be possible to add the cumulative sum to the vector class. Thanks, Jason

comments

jvangael wrote Oct 1, 2009 at 8:08 PM

PS: Note that we will certainly not change dnAnalytics but rather the new Math.NET incarnation.

I've needed this myself quite a bit and using F# this is really easy to do in one line: Vector.scan (+) v does the trick. Would it be reasonable to implement a Vector.Scan function for C# so one could do even more general things that cumsum?

wrote Feb 14, 2013 at 2:00 AM