Ejemplo n.º 1
0
 public Matrices.Vector ToVector()
 //generate a vector, assuming that the last element of this array is invalid
 {
     Matrices.Vector ans = new global::Network.Matrices.Vector(Count - 1);
     for (int i = 0; i < Count - 1; i++)
     {
         ans[i] = this[i];
     }
     return(ans);
 }
Ejemplo n.º 2
0
 //generate a vector, assuming that the last element of this array is invalid
 public Matrices.Vector ToVector()
 {
     Matrices.Vector ans = new global::Network.Matrices.Vector(Count - 1);
     for (int i = 0; i < Count - 1; i++)
     {
         ans[i] = this[i];
     }
     return ans;
 }