faunus
Public Member Functions | List of all members
ExprFunction< T > Class Template Reference

Since parser<T> is non-copyable we instantiate it with a shared pointer, allowing ExprFunction to be directly assigned to std::function. More...

#include <functionparser.h>

Public Member Functions

void set (const std::string &exprstr, const Tvarvec &vars={}, const Tconstvec &consts={})
 
void set (const nlohmann::json &, const Tvarvec &vars={})
 
operator() () const
 
derivative (T &variable) const
 

Detailed Description

template<std::floating_point T = double>
class ExprFunction< T >

Since parser<T> is non-copyable we instantiate it with a shared pointer, allowing ExprFunction to be directly assigned to std::function.


The documentation for this class was generated from the following files: