Define an abstract quadratic function. More...
#include <roboptim/core/quadratic-function.hh>
Public Member Functions | |
| QuadraticFunction (size_type inputSize, size_type outputSize=1, std::string name=std::string()) throw () | |
| Concrete class constructor should call this constructor. | |
| virtual std::ostream & | print (std::ostream &) const throw () |
| Display the function on the specified output stream. | |
Define an abstract quadratic function.
Inherit from this class when implementing quadratic functions.
| roboptim::QuadraticFunction::QuadraticFunction | ( | size_type | inputSize, | |
| size_type | outputSize = 1, |
|||
| std::string | name = std::string () | |||
| ) | throw () |
Concrete class constructor should call this constructor.
| inputSize | function arity | |
| outputSize | result size | |
| name | function's name |
| std::ostream & roboptim::QuadraticFunction::print | ( | std::ostream & | o | ) | const throw () [virtual] |
Display the function on the specified output stream.
| o | output stream used for display |
Reimplemented from roboptim::TwiceDerivableFunction.
Reimplemented in roboptim::ConstantFunction, roboptim::IdentityFunction, roboptim::LinearFunction, roboptim::NumericLinearFunction, and roboptim::NumericQuadraticFunction.