41 #ifndef BPP_NUMERIC_FUNCTION_REPARAMETRIZATIONFUNCTIONWRAPPER_H
42 #define BPP_NUMERIC_FUNCTION_REPARAMETRIZATIONFUNCTIONWRAPPER_H
45 #include "../AbstractParametrizable.h"
46 #include "../TransformedParameter.h"
104 AbstractParametrizable::operator=(rfw),
115 void init_(
bool verbose);
A partial implementation of the Parametrizable interface.
const ParameterList & getParameters() const
Get all parameters available.
std::string getNamespace() const
const Parameter & getParameter(const std::string &name) const
Get the parameter with specified name.
bool matchParametersValues(const ParameterList ¶meters)
Update the parameters from parameters.
This is the abstract class for first order derivable functions.
This is the abstract class for second order derivable functions.
This is the function abstract class.
virtual double getValue() const =0
Get the value of the function at the current point.
virtual void setParameters(const ParameterList ¶meters)=0
Set the point where the function must be computed.
The parameter list object.
virtual std::vector< std::string > getParameterNames() const
Get all parameter names in the list.
virtual ParameterList createSubList(const std::vector< std::string > &names) const
Get given parameters as a sublist.
Function wrapper that remove simple constraints on parameters. Also transform first order derivatives...
ReparametrizationDerivableFirstOrderWrapper * clone() const
Create a copy of this object and send a pointer to it.
bool enableFirstOrderDerivatives() const
Tell if derivatives must be computed.
void enableFirstOrderDerivatives(bool yn)
Tell if derivatives must be computed.
ReparametrizationDerivableFirstOrderWrapper(DerivableFirstOrder *function, const ParameterList ¶meters, bool verbose=true)
Build a new reparametrization wrapper for the given function, using only the specified parameters.
ReparametrizationDerivableFirstOrderWrapper(DerivableFirstOrder *function, bool verbose=true)
Build a new reparametrization wrapper for the given function, using all available parameters.
double getFirstOrderDerivative(const std::string &variable) const
Get the derivative of the function at the current point.
virtual ~ReparametrizationDerivableFirstOrderWrapper()
Function wrapper that remove simple constraints on parameters. Also transform first and second order ...
double getSecondOrderDerivative(const std::string &variable1, const std::string &variable2) const
Get the value of the cross derivative of the function according to a given set of parameters.
double getSecondOrderDerivative(const std::string &variable) const
Get the second order derivative of the function at the current point.
ReparametrizationDerivableSecondOrderWrapper(DerivableSecondOrder *function, bool verbose=true)
Build a new reparametrization wrapper for the given function, using all available parameters.
ReparametrizationDerivableSecondOrderWrapper * clone() const
Create a copy of this object and send a pointer to it.
void enableSecondOrderDerivatives(bool yn)
Tell if derivatives must be computed.
virtual ~ReparametrizationDerivableSecondOrderWrapper()
ReparametrizationDerivableSecondOrderWrapper(DerivableSecondOrder *function, const ParameterList ¶meters, bool verbose=true)
Build a new reparametrization wrapper for the given function, using only the specified parameters.
bool enableSecondOrderDerivatives() const
Tell if derivatives must be computed.
Function wrapper that remove simple constraints on parameters.
ReparametrizationFunctionWrapper(const ReparametrizationFunctionWrapper &rfw)
ParameterList functionParameters_
ReparametrizationFunctionWrapper & operator=(const ReparametrizationFunctionWrapper &rfw)
virtual const Function & getFunction() const
double getValue() const
Get the value of the function at the current point.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
virtual Function & getFunction()
ReparametrizationFunctionWrapper * clone() const
Create a copy of this object and send a pointer to it.
ReparametrizationFunctionWrapper(Function *function, const ParameterList ¶meters, bool verbose=true)
Build a new reparametrization wrapper for the given function, using only the specified parameters.
ReparametrizationFunctionWrapper(Function *function, bool verbose=true)
Build a new reparametrization wrapper for the given function, using all available parameters.
void setParameters(const ParameterList ¶meters)
Set the point where the function must be computed.
virtual ~ReparametrizationFunctionWrapper()