Alternatively, if the vectors are very large you could try whether the following is faster:
Christoph
var result = new double[length];
foreach(var array in arrays)
{
Control.LinearAlgebraProvider.AddArrays(array, result, result);
}
Of course, if the vectors were actual Math.NET Numerics vectors you could do:var vectors = new List<Vector<double>>();
vectors.Aggregate((a, b) => a + b);
Thanks,Christoph