|
bpp-core3
3.0.0
|
Implements a double operator (ie leaf in the computation tree) where value comes from a function. More...
#include <Bpp/Numeric/Function/Operators/FunctionOperator.h>
Inheritance diagram for bpp::FunctionOperator< F >:
Collaboration diagram for bpp::FunctionOperator< F >:Public Member Functions | |
| FunctionOperator (F &func, std::string name) | |
| FunctionOperator * | clone () const |
| Create a copy of this object and send a pointer to it. More... | |
| double | getValue () const |
| double | getFirstOrderDerivative (const std::string &variable) const |
| double | getSecondOrderDerivative (const std::string &variable) const |
| std::string | getName () const |
| std::string | output () const |
Private Member Functions | |
| double | getValue_ (std::true_type) const |
| double | getValue_ (std::false_type) const |
| double | getFirstOrderDerivative_ (const std::string &variable, std::true_type) const |
| double | getFirstOrderDerivative_ (const std::string &variable, std::false_type) const |
| double | getSecondOrderDerivative_ (const std::string &variable, std::true_type) const |
| double | getSecondOrderDerivative_ (const std::string &variable, std::false_type) const |
Private Attributes | |
| F & | func_ |
| std::string | name_ |
Implements a double operator (ie leaf in the computation tree) where value comes from a function.
Definition at line 21 of file FunctionOperator.h.
|
inline |
Definition at line 60 of file FunctionOperator.h.
Referenced by bpp::FunctionOperator< F >::clone().
|
inlinevirtual |
Create a copy of this object and send a pointer to it.
Implements bpp::Clonable.
Definition at line 64 of file FunctionOperator.h.
References bpp::FunctionOperator< F >::FunctionOperator().
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 74 of file FunctionOperator.h.
References bpp::FunctionOperator< F >::getFirstOrderDerivative_().
|
inlineprivate |
Definition at line 39 of file FunctionOperator.h.
Referenced by bpp::FunctionOperator< F >::getFirstOrderDerivative().
|
inlineprivate |
Definition at line 44 of file FunctionOperator.h.
|
inline |
Definition at line 84 of file FunctionOperator.h.
References bpp::FunctionOperator< F >::name_.
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 79 of file FunctionOperator.h.
References bpp::FunctionOperator< F >::getSecondOrderDerivative_().
|
inlineprivate |
Definition at line 49 of file FunctionOperator.h.
Referenced by bpp::FunctionOperator< F >::getSecondOrderDerivative().
|
inlineprivate |
Definition at line 54 of file FunctionOperator.h.
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 69 of file FunctionOperator.h.
References bpp::FunctionOperator< F >::getValue_().
|
inlineprivate |
Definition at line 29 of file FunctionOperator.h.
Referenced by bpp::FunctionOperator< F >::getValue().
|
inlineprivate |
Definition at line 34 of file FunctionOperator.h.
|
inlinevirtual |
Implements bpp::Operator.
Definition at line 89 of file FunctionOperator.h.
References bpp::FunctionOperator< F >::name_.
|
private |
Definition at line 25 of file FunctionOperator.h.
|
private |
Definition at line 27 of file FunctionOperator.h.
Referenced by bpp::FunctionOperator< F >::getName(), and bpp::FunctionOperator< F >::output().