I've taken to doing things like the following to snip a length of values from a Series type to then do things like Sum(), Sort(), ranking, etc.
static public double[] ArrayQueueToArray(Series<double> aq, int length)
{
double[] toArray = new double[length];
for (int i = 0; i < length; i++) {
toArray[i] = aq[i];
}
return toArray;
}
If not, this could be considered a request for enhancement to allow these types of manipulations.

Comment