Functions

The Bio++ NumCalc module allows you to easily handle functions in an object-oriented way. It include support for parameter constraints, numerical derivatives and function optimization (minimum finding). This articles presents an overview of the existing classes. Detailed functionalities can be found in the API documentation.

Parameters
Parameters are the most simple object in the function set. A parameter is an instance of the Parameter class, which has basically three features: Constraints are instances of the Constraint interface. There is a full hierarchy of those. A Constraint object simply tells whether a value is correct or not (isCorrect(double value) method). If a constraint is attached to a parameter and an incorrect value is specified using the setValue(double) method, then a ConstraintException is raised.
 * A name
 * A value (floating)
 * An optional pointer toward a constraint object.