示例#1
0
 public WeightedVector(WeightedVector <T> Copy)
 {
     this._Length = Copy._Length;
     this._Alloc  = Copy._Alloc;
     this._Values = new T[_Alloc];
     this._Keys   = new double[_Alloc];
     this._Total  = Copy._Total;
     for (int i = 0; i < _Alloc; i++)
     {
         this._Keys[i]   = Copy._Keys[i];
         this._Values[i] = Copy._Values[i];
     }
 }
示例#2
0
 public void Add(WeightedVector <T> Vector)
 {
 }