40 #ifndef _REPARAMETRIZATIONFUNCTIONWRAPPER_H_ 41 #define _REPARAMETRIZATIONFUNCTIONWRAPPER_H_ 44 #include "../AbstractParametrizable.h" 45 #include "../TransformedParameter.h" 102 AbstractParametrizable::operator=(rfw),
110 #if defined(NO_VIRTUAL_COV) 117 void init_(
bool verbose);
180 #if defined(NO_VIRTUAL_COV) 187 void init_(
bool verbose);
240 #if defined(NO_VIRTUAL_COV) 247 void init_(
bool verbose);
273 #endif //_REPARAMETRIZATIONFUNCTIONWRAPPER_H_ ReparametrizationFunctionWrapper(const ReparametrizationFunctionWrapper &rfw)
Exception thrown when a parameter is not found, for instance in a ParameterList.
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...
bool enableSecondOrderDerivatives() const
Tell if derivatives must be computed.
virtual ParameterList subList(const std::vector< std::string > &names) const
Get given parameters as a sublist.
virtual void setParameters(const ParameterList ¶meters)=0
Set the point where the function must be computed.
ReparametrizationFunctionWrapper & operator=(const ReparametrizationFunctionWrapper &rfw)
ParameterList functionParameters_
This class allows to perform a correspondence analysis.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
A partial implementation of the Parametrizable interface.
This is the function abstract class.
virtual const Function & getFunction() const
double getFirstOrderDerivative(const std::string &variable) const
Get the derivative of the function at the current point.
virtual ~ReparametrizationDerivableFirstOrderWrapper()
void enableFirstOrderDerivatives(bool yn)
Tell if derivatives must be computed.
The parameter list object.
double getValue() const
Get the value of the function at the current point.
ReparametrizationFunctionWrapper(Function *function, const ParameterList ¶meters, bool verbose=true)
Build a new reparametrization wrapper for the given function, using only the specified parameters...
ReparametrizationDerivableSecondOrderWrapper(DerivableSecondOrder *function, const ParameterList ¶meters, bool verbose=true)
Build a new reparametrization wrapper for the given function, using only the specified parameters...
Function wrapper that remove simple constraints on parameters. Also transform first and second order ...
double getSecondOrderDerivative(const std::string &variable) const
Get the second order derivative of the function at the current point.
ReparametrizationDerivableFirstOrderWrapper(DerivableFirstOrder *function, const ParameterList ¶meters, bool verbose=true)
Build a new reparametrization wrapper for the given function, using only the specified parameters...
bool enableFirstOrderDerivatives() const
Tell if derivatives must be computed.
bool matchParametersValues(const ParameterList ¶meters)
Update the parameters from parameters.
const Parameter & getParameter(const std::string &name) const
Get the parameter with specified name.
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.
ReparametrizationFunctionWrapper(Function *function, bool verbose=true)
Build a new reparametrization wrapper for the given function, using all available parameters...
ReparametrizationDerivableFirstOrderWrapper * clone() const
Create a copy of this object and send a pointer to it.
virtual ~ReparametrizationFunctionWrapper()
void enableSecondOrderDerivatives(bool yn)
Tell if derivatives must be computed.
The Clonable interface (allow an object to be cloned).
const ParameterList & getParameters() const
Get all parameters available.
This is the abstract class for second order derivable functions.
This is the abstract class for first order derivable functions.
Function wrapper that remove simple constraints on parameters.
Exception thrown when a value do not match a given constraint.
Function wrapper that remove simple constraints on parameters. Also transform first order derivatives...
ReparametrizationFunctionWrapper * clone() const
Create a copy of this object and send a pointer to it.
void setParameters(const ParameterList ¶meters)
Set the point where the function must be computed.
std::string getNamespace() const
virtual ~ReparametrizationDerivableSecondOrderWrapper()
virtual Function & getFunction()
ReparametrizationDerivableFirstOrderWrapper(DerivableFirstOrder *function, bool verbose=true)
Build a new reparametrization wrapper for the given function, using all available parameters...
virtual double getValue() const =0
Get the value of the function at the current point.