curvefit_linear

線形フィット y=ax+b

curvefit_linear x, y, n, slope, intercept

(プラグイン / モジュール : iron_curvefit.hsp)

解説

最小二乗法で直線を当てはめます。
slope に傾き、intercept に切片が格納されます。

関連項目

curvefit_r2決定係数 R?(iron_curvefit.hsp)

サンプル逆引き (1)

sample_curvefit.hsp

情報

プラグイン / モジュールiron_curvefit.hsp
バージョン3.8
作成日2026/04/17
著作者IronHSP
URLhttps://github.com/inovia/IronHSP
備考Pure HSP
タイプ拡張命令
グループ数学
対応環境
  • その他 : Win32 / Win64
hs ファイルhsphelp\iron_curvefit.hs