Cubic spline function in C#


We need a smoothing spline function in C# (natrual cubic spline with smoothing parameter). This is a very easy & fast project.

You are expected to deliver the function in a .dll package. In addition you need to provide a test function that creates some random data points and plots them with the smoothing spline. You can use Zedgraph if you need a free plotting plugin (very easy to use).

The code needs to be very fast as it will be ran about 2000 times per second.

Here are the signature for the function:

//Smoothing parameter is between 0 and 1.

double SmoothOnePoint(List allPoints, double smoothingParameter, double pointToEvaluate)

double SmoothSeveralPoints(List allPoints, double smoothingParameter, List pointsToEvaluate)

double SmoothTest(double smoothingParameter, int numberOfPoints)

Thank you

Algorithm (in Matlab code) is in the attached file.
Matlab code is very straight-forward, it can be ported as-is.

(you can also use the same code to test).

Taidot: .NET, Algoritmi, C# -ohjelmointi, Matematiikka, Tilastotiede

Näytä lisää: cubic spline, cubic spline smoothing, cubic function, smoothing parameter cubic spline, smoothing spline, spline function code, spline function, cubic smoothing spline, spline cubic, test algorithm, algorithm test, algorithm in c, algorithm function, spline, data plotting, signature dll, spline algorithm, dll plugin, net random, zedgraph, test net dll, function dll, free project list net, algorithm random, easy function project

Tietoa työnantajasta:
( 18 arvostelua ) zurich, Switzerland

Projektin tunnus: #4256217

Myönnetty käyttäjälle:


Hello, I have some experience with Bezier spline, and I have prepared demo. Also, there is not a problem for me to port Matlab code. "The code needs to be very fast as it will be ran about 2000 times per secon Lisää

39 $ USD 3 päivässä
(142 arvostelua)

3 freelanceria on tarjonnut keskimäärin 130 $ tähän työhön


I'm a very experienced developer, having coded graphics algorithms in the past. If you are interested please message me. thanks.

250 $ USD 5 päivässä
(3 arvostelua)

Hi, As part of my studies, I've designed and developed several C# applications in this domain and learned algorithms and performance optimization techniques that are required for completing this project. I'm looking Lisää

100 $ USD 7 päivässä
(0 arvostelua)