Sum() private method

private Sum ( this vector ) : decimal
vector this
return decimal
Esempio n. 1
0
 /// <summary>
 ///   Returns the maximum column sum of the given matrix.
 /// </summary>
 ///
 public static double Norm1(this double[][] a)
 {
     double[] columnSums = Matrix.Sum(a, 1);
     return(Matrix.Max(columnSums));
 }