|New Version 7.0!
Try it for free with our fully functional
60-day trial version.
Whether you're using C#, Visual Basic (VB.NET), F#, IronPython, the Extreme Optimization Numerical Libraries
for .NET make it easy to include curve fitting functionality in your .NET applications.
The Extreme Optimization Numerical Libraries for .NET are a complete math,
vector/matrix and statistics package
for the Microsoft .NET framework. Curve fitting features include:
- Interpolation using polynomials, cubic splines, piecewise constant and
- Linear least squares fit using polynomials, Chebyshev polynomials, or arbitrary functions.
- Nonlinear least squares using predefined functions or your own.
- Predefined nonlinear curves: exponential, rational, Gaussian, Lorentz, 4
and 5 parameter logistic.
- Weighted least squares, with 4 predefined weight functions.
- Scaling of curve parameters.
- Constraints on curve parameters.
- Confidence and prediction bands New!
Curve fitting classes
The classes that implement the curve fitting functionality live in the
The principal classes are:
Curve Fitting Algorithms
Represents an algorithm that calculates a linear least squares fit of a curve.
Represents an algorithm that fits a nonlinear curve to data.
Implements the Levenberg-Marquardt algorithm for non-linear least-squares.
Contains a set of standard weight functions that can be used in linear and nonlinear curve fitting.
Represents a curve in two-dimensional space. This is the abstract base class of all curve objects.
Represents the set of parameters that determine the shape of a particular type of Curve.
Represents a polynomial.
Represents a Chebyshev polynomial series.
Represents a cubic spline curve.
Represents a curve in two-dimensional space whose value is defined by a
Represents a Curve that can be used for a non-linear regression calculation.
The Curve Fitting section of the
Mathematics Library User's Guide explains their use in detail.
Curve Fitting Sample Application
With only a few lines of code, you can fit data points to a set of arbitrary functions. This sample shows you how.
For more information, click on the image to the right. This sample is also part of our trial version.
Curve fitting QuickStart Samples
Our library comes with a large number of QuickStart samples that help you
to get started in minutes. The following samples illustrate how to use
the curve fitting functionality:
||Illustrates curve fitting of polynomials and arbitrary linear functions using
linear least squares.
||Illustrates curve fitting of nonlinear functions using nonlinear least squares.
If you would like to evaluate the Extreme Optimization Numerical Libraries for .NET,
you can download a free, fully functional 60-day trial version.
In addition to the code samples discussed here, it includes about 70 other samples
as well as complete documentation for the entire library.
Copyright © 2003-2018, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.