1
Vote

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

description

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.

comments

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

Accepted

alexshtf wrote Jul 22, 2012 at 10:08 PM

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