Class MEAL::NoParameters

class NoParameters : public MEAL::ParameterPolicy

Represents a model with no parameters.

Subclassed by MEAL::Constant

Public Functions

inline NoParameters()

Default constructor.

inline virtual NoParameters *clone(Function*) const

Clone construtor.

inline virtual unsigned get_nparam() const

Return the number of parameters.

inline virtual std::string get_name(unsigned index) const

Return the name of the specified parameter.

inline virtual std::string get_description(unsigned index) const

Return the name of the specified parameter.

inline virtual double get_param(unsigned index) const

Return the value of the specified parameter.

inline virtual void set_param(unsigned index, double value)

Set the value of the specified parameter.

inline virtual double get_variance(unsigned index) const

Return the variance of the specified parameter.

inline virtual void set_variance(unsigned index, double value)

Set the variance of the specified parameter.

inline virtual bool get_infit(unsigned index) const

Return true if parameter at index is to be fitted.

inline virtual void set_infit(unsigned index, bool flag)

Set flag for parameter at index to be fitted.