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