GNU Radio 3.3.0 C++ API
|
base class for evaluating a function: double -> doubleThis class is designed to be subclassed in Python or C++ and is callable from both places. It uses SWIG's "director" feature to implement the magic. It's slow. Don't use it in a performance critical path. More...
#include <gr_feval.h>
Public Member Functions | |
gr_feval_dd () | |
virtual | ~gr_feval_dd () |
virtual double | calleval (double x) |
Protected Member Functions | |
virtual double | eval (double x) |
override this to define the function |
base class for evaluating a function: double -> double
This class is designed to be subclassed in Python or C++ and is callable from both places. It uses SWIG's "director" feature to implement the magic. It's slow. Don't use it in a performance critical path.
Override eval to define the behavior. Use calleval to invoke eval (this kludge is required to allow a python specific "shim" to be inserted.
gr_feval_dd::gr_feval_dd | ( | ) | [inline] |
virtual gr_feval_dd::~gr_feval_dd | ( | ) | [virtual] |
virtual double gr_feval_dd::calleval | ( | double | x | ) | [virtual] |
virtual double gr_feval_dd::eval | ( | double | x | ) | [protected, virtual] |
override this to define the function