コード例 #1
0
 /// <summary>
 /// Create a floater hormann rational pole-free interpolation based on arbitrary points.
 /// </summary>
 /// <param name="points">The sample points t. Supports both lists and arrays.</param>
 /// <param name="values">The sample point values x(t). Supports both lists and arrays.</param>
 /// <returns>
 /// An interpolation scheme optimized for the given sample points and values,
 /// which can then be used to compute interpolations and extrapolations
 /// on arbitrary points.
 /// </returns>
 public static IInterpolation RationalWithoutPoles(
     IList<double> points,
     IList<double> values)
 {
     FloaterHormannRationalInterpolation method = new FloaterHormannRationalInterpolation();
     method.Initialize(points, values);
     return method;
 }