Browse Source

interpolation: renamed linear spline factory method

Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
pull/2/head
Christoph Ruegg 17 years ago
parent
commit
7297f9fc32
  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] [VerifyContract]
public readonly IContract LinearSplineTests = new InterpolationContract<LinearSplineInterpolation>() public readonly IContract LinearSplineTests = new InterpolationContract<LinearSplineInterpolation>()
{ {
Factory = Interpolation.CreateLinearSpline, Factory = Interpolation.CreateLinearBetweenPoints,
Order = new[] { 2, 3, 6 } 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 /// which can then be used to compute interpolations and extrapolations
/// on arbitrary points. /// on arbitrary points.
/// </returns> /// </returns>
public static IInterpolation CreateLinearSpline( public static IInterpolation CreateLinearBetweenPoints(
IList<double> points, IList<double> points,
IList<double> values) IList<double> values)
{ {

Loading…
Cancel
Save