Ejemplo n.º 1
0
 /// <returns>
 /// A
 /// <see cref="Vector"/>
 /// of length this
 /// <see cref="getColCount()"/>
 /// with column
 /// sums of these matrix entries
 /// </returns>
 public virtual fastmath.Vector sum()
 {
     fastmath.Vector sums = new fastmath.Vector(getColCount());
     for (int i = 0; i < sums.size; i++)
     {
         sums.set(i, col(i).sum());
     }
     return(sums);
 }