Define an abstract quadratic function. More...
#include <roboptim/core/quadratic-function.hh>
Public Types | |
typedef GenericTwiceDifferentiableFunction< T > | parent_t |
typedef parent_t::size_type | size_type |
Public Member Functions | |
GenericQuadraticFunction (size_type inputSize, size_type outputSize=1, std::string name=std::string()) | |
Concrete class constructor should call this constructor. More... | |
virtual std::ostream & | print (std::ostream &) const |
Display the function on the specified output stream. More... | |
Define an abstract quadratic function.
Inherit from this class when implementing quadratic functions.
typedef GenericTwiceDifferentiableFunction<T> roboptim::GenericQuadraticFunction< T >::parent_t |
typedef parent_t::size_type roboptim::GenericQuadraticFunction< T >::size_type |
roboptim::GenericQuadraticFunction< T >::GenericQuadraticFunction | ( | size_type | inputSize, |
size_type | outputSize = 1 , |
||
std::string | name = std::string () |
||
) |
Concrete class constructor should call this constructor.
inputSize | function arity |
outputSize | result size |
name | function's name |
|
virtual |
Display the function on the specified output stream.
o | output stream used for display |