Browse Source

interpolation: renamed linear spline factory method

Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
pull/36/head
Christoph Ruegg 17 years ago
parent
commit
3f22f3d6c5
  1. 2
      src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs
  2. 2
      src/Managed/Interpolation/Interpolation.cs

2
src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs

@ -40,7 +40,7 @@ namespace MathNet.Numerics.UnitTests.InterpolationTests
[VerifyContract]
public readonly IContract LinearSplineTests = new InterpolationContract<LinearSplineInterpolation>()
{
Factory = Interpolation.CreateLinearSpline,
Factory = Interpolation.CreateLinearBetweenPoints,
Order = new[] { 2, 3, 6 }
};

2
src/Managed/Interpolation/Interpolation.cs

@ -64,7 +64,7 @@ namespace MathNet.Numerics.Interpolation
/// which can then be used to compute interpolations and extrapolations
/// on arbitrary points.
/// </returns>
public static IInterpolation CreateLinearSpline(
public static IInterpolation CreateLinearBetweenPoints(
IList<double> points,
IList<double> values)
{

Loading…
Cancel
Save