예제 #1
0
 /// <summary>
 /// Useful ctor
 /// </summary>
 /// <param name="rows"></param>
 /// <param name="columns"></param>
 /// <param name="vMatrix"></param>
 public DiscreteSurface(double[] rows, double[] columns, Matrix vMatrix)
     : base(2, PointHelpers.Point2D(rows, columns, vMatrix))
 {
     XArray   = rows;
     YArray   = columns;
     _vMatrix = vMatrix;
 }
예제 #2
0
 /// <summary>
 /// Useful ctor
 /// </summary>
 /// <param name="rows"></param>
 /// <param name="columns"></param>
 /// <param name="vMatrix"></param>
 public DiscreteCube(double[] rows, double[] columns, Matrix vMatrix)
     : base(2, PointHelpers.Point2D(rows, columns, vMatrix))
 {
     Map(PointHelpers.Point2D(rows, columns, vMatrix));
 }