Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 전산물리학:선형_회귀_분석_linear_regression_analysis [2022/01/17 16:11] – jonghoon | 전산물리학:선형_회귀_분석_linear_regression_analysis [2023/09/05 15:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 69: | Line 69: | ||
| ===== C++ ===== | ===== C++ ===== | ||
| 다음은 C++에서 gsl을 이용한 코드이다. | 다음은 C++에서 gsl을 이용한 코드이다. | ||
| - | <Code:C++ | curve_fit.cpp> | + | <code:C++ | curve_fit.cpp> |
| #include < | #include < | ||
| #include < | #include < | ||
| Line 148: | Line 148: | ||
| cout << "y = " << a << "x + "<< | cout << "y = " << a << "x + "<< | ||
| } | } | ||
| - | </Code> | + | </code> |
| ===== 결과 ===== | ===== 결과 ===== | ||