RMVL  1.2.0
Robotic Manipulation and Vision Library
Public 成员函数 | 所有成员列表
rm::RungeKutta< RkType::RK3 >类 参考

3 阶 3 级 Runge-Kutta 求解器 更多...

#include <rmvl/core/numcal.hpp>

类 rm::RungeKutta< RkType::RK3 > 继承关系图:
rm::RungeKutta< RkType::RK3 > 的协作图:

Public 成员函数

 RungeKutta (const Odes &fs)
 创建 3 阶 3 级 Runge-Kutta 常微分方程(组)数值求解器对象,设置初值请参考 init 方法 更多...
 
- Public 成员函数 继承自 rm::RungeKutta< RkType::Butcher >
 RungeKutta (const Odes &fs, const std::vector< double > &p, const std::vector< double > &lambda, const std::vector< std::vector< double >> &r)
 创建一阶常微分方程(组)数值求解器对象,设置初值请参考 init 方法 更多...
 
void init (double t0, const std::vector< double > &x0)
 设置常微分方程(组)的初值 更多...
 
void init (double t0, std::vector< double > &&x0)
 设置常微分方程(组)的初值 更多...
 
std::vector< std::vector< double > > solve (double h, std::size_t n)
 计算常微分方程(组)的数值解 更多...
 
std::generator< std::vector< double > > generate (double h, std::size_t n)
 常微分方程(组)数值解生成器 更多...
 

额外继承的成员函数

- Protected 属性 继承自 rm::RungeKutta< RkType::Butcher >
Odes _fs
 一阶常微分方程组的函数对象 \(\dot{\pmb x}=\pmb F(t, \pmb x)\) 更多...
 
double _t0
 初值的自变量 \(t\) 更多...
 
std::vector< double > _x0
 初值的因变量 \(\pmb x(t)\) 更多...
 
std::vector< double > _p
 Butcher 表 \(\pmb p\) 向量 更多...
 
std::vector< double > _lambda
 Butcher 表 \(\pmb\lambda\) 向量 更多...
 
std::vector< std::vector< double > > _r
 Butcher 表 \(R\) 矩阵 更多...
 

详细描述

3 阶 3 级 Runge-Kutta 求解器

构造及析构函数说明

◆ RungeKutta()

创建 3 阶 3 级 Runge-Kutta 常微分方程(组)数值求解器对象,设置初值请参考 init 方法

参数
[in]fs常微分方程(组) \(\pmb x'=\pmb F(t,\pmb x)\) 的函数对象 \(\pmb F(t,\pmb x)\)

该类的文档由以下文件生成: