|
LMMC
Lamina Mathematic core
|
函数 | |
| void | interp_spline_standard (interp_spline_workspace_t *w, lmmc_spline_bc_t bc, lmmc_real_t deriv_left, lmmc_real_t deriv_right) |
| void | interp_spline_not_a_knot (interp_spline_workspace_t *w) |
| void | interp_spline_periodic (interp_spline_workspace_t *w) |
| void interp_spline_standard | ( | interp_spline_workspace_t * | w, |
| lmmc_spline_bc_t | bc, | ||
| lmmc_real_t | deriv_left, | ||
| lmmc_real_t | deriv_right ) |
在文件 interp_spline_boundary.c 第 42 行定义.
引用了 interp_spline_workspace_t::dia, interp_spline_workspace_t::h, interp_spline_standard(), LMMC_SPLINE_CLAMPED, interp_spline_workspace_t::moments, interp_spline_workspace_t::n, interp_spline_workspace_t::rhs, interp_spline_workspace_t::sub, interp_spline_workspace_t::sup , 以及 interp_spline_workspace_t::ys.
被这些函数引用 interp_spline_standard() , 以及 lmmc_interp_cspline_create_ex().
| void interp_spline_not_a_knot | ( | interp_spline_workspace_t * | w | ) |
三个节点确定唯一二次多项式,其二阶导数为常数。
利用三阶导数连续性消去端点的二阶导数。
在文件 interp_spline_boundary.c 第 65 行定义.
引用了 interp_spline_workspace_t::dia, interp_spline_workspace_t::h, interp_spline_not_a_knot(), interp_spline_workspace_t::moments, interp_spline_workspace_t::n, interp_spline_workspace_t::rhs, interp_spline_workspace_t::sub , 以及 interp_spline_workspace_t::sup.
被这些函数引用 interp_spline_not_a_knot() , 以及 lmmc_interp_cspline_create_ex().
| void interp_spline_periodic | ( | interp_spline_workspace_t * | w | ) |
Sherman-Morrison 修正复用同一三对角系统,分别求解右端项 b 和 u。
在文件 interp_spline_boundary.c 第 93 行定义.
引用了 interp_spline_workspace_t::auxiliary, interp_spline_workspace_t::dia, interp_spline_workspace_t::diagonal_copy, interp_spline_workspace_t::h, interp_spline_periodic(), interp_spline_workspace_t::moments, interp_spline_workspace_t::n, interp_spline_workspace_t::rhs, interp_spline_workspace_t::sub, interp_spline_workspace_t::sup , 以及 interp_spline_workspace_t::ys.
被这些函数引用 interp_spline_periodic() , 以及 lmmc_interp_cspline_create_ex().