Independent variable. Can be uniquely identified by its id. More...
#include <variable.hh>
Public Member Functions | |
| Variable (const T &t_) | |
| Construct variable with meaningful default value. | |
| template<int index, class Arg > | |
| void | updateVariable (const Arg &t_) |
| Update variable. | |
| const T & | d0 () const noexcept |
| Value of the variable. | |
| template<int index, class = std::enable_if_t< id == index >> | |
| const T & | d1 (const T &dt) const noexcept |
| First directional derivative. More... | |
Public Member Functions inherited from RFFGen::Base | |
| template<class Arg > | |
| void | update (const Arg &) |
| Update on changed input. | |
| template<int id, class Arg > | |
| void | updateVariable (const Arg &) |
| Empty variables. | |
Independent variable. Can be uniquely identified by its id.
|
inlinenoexcept |
First directional derivative.
Only available if id==index.
1.8.6