Define a function, derivable n times ( ). More...
#include <roboptim/core/n-times-derivable-function.hh>
Public Types | |
typedef Function::size_type | size_type |
Import size type from function. | |
Public Member Functions | |
virtual size_type | derivabilityOrderMax () const |
Returns the maximum derivability order. | |
virtual | ~NTimesDerivableFunction () throw () |
virtual std::ostream & | print (std::ostream &) const throw () |
Display the function on the specified output stream. | |
Static Public Attributes | |
static const size_type | derivabilityOrder = DerivabilityOrder |
Function derivability order. | |
Protected Member Functions | |
NTimesDerivableFunction (size_type outputSize=1, std::string name=std::string()) throw () | |
Concrete class constructor should call this constructor. |
Define a function, derivable n times ( ).
typedef Function::size_type roboptim::NTimesDerivableFunction< DerivabilityOrder >::size_type |
Import size type from function.
roboptim::NTimesDerivableFunction< dorder >::~NTimesDerivableFunction | ( | ) | throw () [virtual] |
roboptim::NTimesDerivableFunction< DerivabilityOrder >::NTimesDerivableFunction | ( | size_type | outputSize = 1 , |
std::string | name = std::string () |
||
) | throw () [inline, protected] |
Concrete class constructor should call this constructor.
outputSize | output size (result size) |
name | function name |
virtual size_type roboptim::NTimesDerivableFunction< DerivabilityOrder >::derivabilityOrderMax | ( | ) | const [inline, virtual] |
Returns the maximum derivability order.
Referenced by roboptim::NTimesDerivableFunction< 2 >::derivative(), and roboptim::NTimesDerivableFunction< 2 >::print().
std::ostream & roboptim::NTimesDerivableFunction< dorder >::print | ( | std::ostream & | o | ) | const throw () [virtual] |
Display the function on the specified output stream.
o | output stream used for display |
const size_type roboptim::NTimesDerivableFunction< DerivabilityOrder >::derivabilityOrder = DerivabilityOrder [static] |
Function derivability order.