|
funcy
1.6.1
|
Independent variable. Can be uniquely identified by its id. More...
#include <variable.h>
Public Member Functions | |
| constexpr | Variable (const T &t_) |
| constexpr | Variable (T &&t_) |
| template<int index, class Arg > | |
| void | update (const Arg &t_) |
| Update variable if index==id. | |
| constexpr const T & | operator() () const noexcept |
| Value of the variable. | |
| template<int index, class Arg , class = std::enable_if_t< id == index >> | |
| const T & | d1 (const Arg &dt) const noexcept |
| First directional derivative. Only available if id==index. | |
Independent variable. Can be uniquely identified by its id.
1.8.13