コード例 #1
0
ファイル: ResultBundle.cs プロジェクト: okozelsk/NET
 /// <summary>
 /// Adds vectors into the bundle.
 /// </summary>
 /// <param name="inputVector">The input vector.</param>
 /// <param name="computedVector">The computed vector.</param>
 /// <param name="idealVector">The ideal vector.</param>
 public void AddVectors(double[] inputVector, double[] computedVector, double[] idealVector)
 {
     InputVectorCollection.Add(inputVector);
     ComputedVectorCollection.Add(computedVector);
     IdealVectorCollection.Add(idealVector);
     return;
 }
コード例 #2
0
 /// <summary>
 /// Adds vector pair into the bundle
 /// </summary>
 /// <param name="computedVector">Computed vector</param>
 /// <param name="idealVector">Ideal vector (desired)</param>
 public void AddPair(double[] computedVector, double[] idealVector)
 {
     ComputedVectorCollection.Add(computedVector);
     IdealVectorCollection.Add(idealVector);
     return;
 }