I cannot figure out a way how to get a sum of elements in a vector of System.Numerics.Vector type.
double sum(System.Numerics.Vector<double> vect)
{
     // Something like 
     // double sum = 0;
     // foreach e in vect { sum += e; } 
     // return sum;
     // Vector.method???
     // For loop ???
}
If it's actually possible? How can I do this?
 
     
    