functionstatic.hpp

来自「dysii是一款非常出色的滤波函数库」· HPP 代码 · 共 30 行

HPP
30
字号
#ifndef INDII_ML_ODE_FUNCTIONSTATIC_HPP#define INDII_ML_ODE_FUNCTIONSTATIC_HPPnamespace indii {  namespace ml {    namespace ode {/** * Function specification. This specifies the static signature of a * time-dependent function. It is one way in which a function may be * supplied to a FunctionCollection object, the other being by * instantiating an object of type FunctionModel. * * @param t The time. * @param y State variable values at time t. * @param object Object passed to the function via the calling * object. This is usually the calling object itself, allowing * convenient access to related parameters and functions that may be * required during evaluation. * * @return The calculated value of the function given the arguments. */typedef double f_t(double t, const double y[], void* object);    }  }}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?