Cubic spline interpolation: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''Under Construction''' -- NOT YET WORKING
Constructs a cubic spline through given points.
Constructs a cubic spline through given points.
Points can be added by clicking on "Add point".
Points can be added by clicking on "Add point".

Revision as of 17:54, 3 December 2008

Under Construction -- NOT YET WORKING

Constructs a cubic spline through given points. Points can be added by clicking on "Add point".

        function addPoint() {
          p.push(board.createElement('point',[(Math.random()-0.5)*10,(Math.random()-0.5)*3],{style:6}));
          board.update();
        }