gpt4 book ai didi

j - J 中是否实现了三次样条插值方法?

转载 作者:行者123 更新时间:2023-12-04 04:05:29 28 4
gpt4 key购买 nike

我是 J 的新用户,我只是想知道 J 包中是否实现了三次样条插值方法?

最佳答案

我自己不熟悉,但是我确实安装了所有的包,所以

$ rg -l -i spline  /usr/share/j/9.02/ -g '*.ijs'
/usr/share/j/9.02/addons/math/misc/spline.ijs
/usr/share/j/9.02/addons/stats/rlibrary/manifest.ijs
/usr/share/j/9.02/addons/stats/rlibrary/splines.ijs
/usr/share/j/9.02/addons/stats/rlibrary/test_splines.ijs
/usr/share/j/9.02/addons/math/misc/manifest.ijs
/usr/share/j/9.02/addons/graphics/plot/jzplot.ijs
/usr/share/j/9.02/addons/demos/wdplot/plexam.ijs

math/misc/spline 和 stats/rlibrary/splines 看起来不错,后者虽然与 R 接口(interface)。前者以实现开始:

NB. =========================================================
NB.*cubicspline v Calculate cubic spline
NB.
NB. y is: 2-row matrix x ,: f(x)
NB.
NB. result: x values;coefficient matrix,one row per interval.
cubicspline=: 3 : 0
...

要将此包放到适合您安装 J 的位置,请使用 Package Manager .

关于j - J 中是否实现了三次样条插值方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62565103/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com