roboptim::NTimesDerivableFunction< DerivabilityOrder > Class Template Reference

Define a $\mathbb{R} \rightarrow \mathbb{R}^m$ function, derivable n times ( $n \geq 2$). More...

#include <roboptim/core/n-times-derivable-function.hh>

List of all members.

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.

Detailed Description

template<unsigned DerivabilityOrder>
class roboptim::NTimesDerivableFunction< DerivabilityOrder >

Define a $\mathbb{R} \rightarrow \mathbb{R}^m$ function, derivable n times ( $n \geq 2$).


Member Typedef Documentation

template<unsigned DerivabilityOrder>
typedef Function::size_type roboptim::NTimesDerivableFunction< DerivabilityOrder >::size_type

Import size type from function.


Constructor & Destructor Documentation

template<unsigned dorder>
roboptim::NTimesDerivableFunction< dorder >::~NTimesDerivableFunction ( ) throw () [virtual]
template<unsigned DerivabilityOrder>
roboptim::NTimesDerivableFunction< DerivabilityOrder >::NTimesDerivableFunction ( size_type  outputSize = 1,
std::string  name = std::string () 
) throw () [inline, protected]

Concrete class constructor should call this constructor.

Parameters:
outputSizeoutput size (result size)
namefunction name

Member Function Documentation

template<unsigned DerivabilityOrder>
virtual size_type roboptim::NTimesDerivableFunction< DerivabilityOrder >::derivabilityOrderMax ( ) const [inline, virtual]
template<unsigned dorder>
std::ostream & roboptim::NTimesDerivableFunction< dorder >::print ( std::ostream &  o) const throw () [virtual]

Display the function on the specified output stream.

Parameters:
ooutput stream used for display
Returns:
output stream

Member Data Documentation

template<unsigned DerivabilityOrder>
const size_type roboptim::NTimesDerivableFunction< DerivabilityOrder >::derivabilityOrder = DerivabilityOrder [static]

Function derivability order.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines