摘要: 代码是通过网上一个winform代码中提取修改而来的。后转为javascript 版本。/*points = new Array();points.push({x:1,y:2});*/function Spline(points) { var NewArrayFloat = function(n) { var arr = new Array(n); for (var i = 0; i = 1; i--) { b[i] = (b[i] - sup[i] * b[i + 1]) / diag[i]; } retur... 阅读全文
posted @ 2013-12-06 11:04 jgjg2323 阅读(585) 评论(0) 推荐(0) 编辑