This project has moved. For the latest updates, please go here.


Allow the evaluation/differentiation API to accept any IList<double> and IEnumerable<double> instead of an array


The current Differentiate/Evaluate APIs can handle an array of doubles. However, some external libraries use different data structures that are not simple arrays but do implement the IList<double> interface.
Closed May 21, 2014 at 6:55 AM by alexshtf


davidacoder wrote Nov 23, 2011 at 10:51 PM

What about IEnumerable instead? That would cover really all ways of accepting the input. Overloads for arrays and IList etc could still be there because I assume they might be faster.

alexshtf wrote Nov 27, 2011 at 5:59 PM

IEnumerable is nice, but I

alexshtf wrote Nov 27, 2011 at 6:00 PM


alexshtf wrote Jul 22, 2012 at 10:08 PM

Done for IList<T> objects. IEnumerable will shortly follow.

brantheman wrote May 21, 2014 at 4:51 AM

I added quite a few overloads using IList in my fork. Take a look.

alexshtf wrote May 21, 2014 at 6:55 AM

Implemented for IList<T> only. A generic IEnumerable<T> makes no sense in this case.
Brantheman - thanks, I will take a look.