struct Snippet::Base::DerivedParamΒΆ

A derived parameter has a name and a function for obtaining its value.

#include <snippet.h>

struct DerivedParam
{
    // fields

    std::string name;
    std::function<double(const std::vector<double>&, double)> func;
};