|
|
@ -47,8 +47,7 @@ namespace MathNet.Numerics.Interpolation.Algorithms |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Initializes a new instance of the RationalPoleFreeInterpolation class.
|
|
|
/// Initializes a new instance of the RationalPoleFreeInterpolation class.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public |
|
|
public RationalPoleFreeInterpolation() |
|
|
RationalPoleFreeInterpolation() |
|
|
|
|
|
{ |
|
|
{ |
|
|
this.barycentric = new BarycentricInterpolation(); |
|
|
this.barycentric = new BarycentricInterpolation(); |
|
|
} |
|
|
} |
|
|
@ -80,9 +79,7 @@ namespace MathNet.Numerics.Interpolation.Algorithms |
|
|
/// </remarks>
|
|
|
/// </remarks>
|
|
|
/// <param name="samplePoints">Sample Points t</param>
|
|
|
/// <param name="samplePoints">Sample Points t</param>
|
|
|
/// <param name="sampleValues">Sample Values x(t)</param>
|
|
|
/// <param name="sampleValues">Sample Values x(t)</param>
|
|
|
public |
|
|
public void Initialize( |
|
|
void |
|
|
|
|
|
Initialize( |
|
|
|
|
|
IList<double> samplePoints, |
|
|
IList<double> samplePoints, |
|
|
IList<double> sampleValues) |
|
|
IList<double> sampleValues) |
|
|
{ |
|
|
{ |
|
|
@ -98,9 +95,7 @@ namespace MathNet.Numerics.Interpolation.Algorithms |
|
|
/// Order of the interpolation scheme, 0 <= order <= N.
|
|
|
/// Order of the interpolation scheme, 0 <= order <= N.
|
|
|
/// In most cases a value between 3 and 8 gives good results.
|
|
|
/// In most cases a value between 3 and 8 gives good results.
|
|
|
/// </param>
|
|
|
/// </param>
|
|
|
public |
|
|
public void Initialize( |
|
|
void |
|
|
|
|
|
Initialize( |
|
|
|
|
|
IList<double> samplePoints, |
|
|
IList<double> samplePoints, |
|
|
IList<double> sampleValues, |
|
|
IList<double> sampleValues, |
|
|
int order) |
|
|
int order) |
|
|
@ -198,9 +193,7 @@ namespace MathNet.Numerics.Interpolation.Algorithms |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="t">Point t to interpolate at.</param>
|
|
|
/// <param name="t">Point t to interpolate at.</param>
|
|
|
/// <returns>Interpolated value x(t).</returns>
|
|
|
/// <returns>Interpolated value x(t).</returns>
|
|
|
public |
|
|
public double Interpolate(double t) |
|
|
double |
|
|
|
|
|
Interpolate(double t) |
|
|
|
|
|
{ |
|
|
{ |
|
|
return this.barycentric.Interpolate(t); |
|
|
return this.barycentric.Interpolate(t); |
|
|
} |
|
|
} |
|
|
|