CoreParam 参数模块
更多...
#include <rmvlpara/core.hpp>
|
| bool | read (const std::string &path) |
| | 从指定 YAML 文件中加载,并读取至 CoreParam 中
|
| |
| bool | write (const std::string &path) const |
| | 将 CoreParam 的数据写入指定的 YAML 文件中
|
| |
| bool | load (const std::string &path) |
| | 从指定 YAML 文件中加载 CoreParam
|
| |
◆ load()
| bool rm::para::CoreParam::load |
( |
const std::string & | path | ) |
|
|
inline |
◆ read()
| bool rm::para::CoreParam::read |
( |
const std::string & | path | ) |
|
从指定 YAML 文件中加载,并读取至 CoreParam 中
- 注解
YAML 文件的后缀允许是 *.yml 和 *.yaml
- 参数
-
- 返回
- 是否读取成功
◆ write()
| bool rm::para::CoreParam::write |
( |
const std::string & | path | ) |
const |
将 CoreParam 的数据写入指定的 YAML 文件中
- 注解
YAML 文件的后缀允许是 *.yml 和 *.yaml
- 参数
-
- 返回
- 是否写入成功
◆ SECANT_STEP
| double rm::para::CoreParam::SECANT_STEP = 1e-3 |
离散Newton弦截法用于近似求导的步长
- 注解
- 默认值:
1e-3
该结构体的文档由以下文件生成: