Difference between revisions of "Cubic spline interpolation"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
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 19:53, 15 December 2008
Constructs a cubic spline through given points. Points can be added by clicking on "Add point".
References
The underlying JavaScript code
function addPoint() {
p.push(board.createElement('point',[(Math.random()-0.5)*10,(Math.random()-0.5)*3],{style:6}));
board.update();
}