From 3f22f3d6c5f968bae7402d3bb218759c0e33abc2 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Fri, 3 Jul 2009 17:20:45 +0800 Subject: [PATCH] interpolation: renamed linear spline factory method Signed-off-by: Christoph Ruegg --- src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs | 2 +- src/Managed/Interpolation/Interpolation.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs b/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs index d5cedabc..04624134 100644 --- a/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs +++ b/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs @@ -40,7 +40,7 @@ namespace MathNet.Numerics.UnitTests.InterpolationTests [VerifyContract] public readonly IContract LinearSplineTests = new InterpolationContract() { - Factory = Interpolation.CreateLinearSpline, + Factory = Interpolation.CreateLinearBetweenPoints, Order = new[] { 2, 3, 6 } }; diff --git a/src/Managed/Interpolation/Interpolation.cs b/src/Managed/Interpolation/Interpolation.cs index 424822c6..8123f2dc 100644 --- a/src/Managed/Interpolation/Interpolation.cs +++ b/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. /// - public static IInterpolation CreateLinearSpline( + public static IInterpolation CreateLinearBetweenPoints( IList points, IList values) {