RFFGen
 All Classes Namespaces Files Functions Typedefs Enumerations Groups
Public Member Functions | List of all members
RFFGen::Variable< T, id > Struct Template Reference

Independent variable. Can be uniquely identified by its id. More...

#include <variable.hh>

Inheritance diagram for RFFGen::Variable< T, id >:
RFFGen::Base

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.
 

Detailed Description

template<class T, int id>
struct RFFGen::Variable< T, id >

Independent variable. Can be uniquely identified by its id.

Member Function Documentation

template<class T , int id>
template<int index, class = std::enable_if_t< id == index >>
const T& RFFGen::Variable< T, id >::d1 ( const T &  dt) const
inlinenoexcept

First directional derivative.

Only available if id==index.


The documentation for this struct was generated from the following file: