Public Member Functions
fmatvec::Function< Ret(Arg1, Arg2)> Class Template Reference

A function object with 2 arguments. More...

#include <function.h>

Inheritance diagram for fmatvec::Function< Ret(Arg1, Arg2)>:
fmatvec::FunctionBase

List of all members.

Public Member Functions

virtual Size< Arg1 >::type getArg1Size () const
 Return the size of first argument.
virtual Size< Arg2 >::type getArg2Size () const
 Return the size of first argument.
virtual Ret operator() (const Arg1 &arg1, const Arg2 &arg2)=0
 Function value: pure virtual (MUST be implemented by derived class)
virtual Der< Ret, Arg1 >::type parDer1 (const Arg1 &arg1, const Arg2 &arg2)
 First derivative: partial derivative of the function value with respect to the first argument.
virtual Ret dirDer1 (const Arg1 &arg1Dir, const Arg1 &arg1, const Arg2 &arg2)
 First derivative: directional derivative of the function value with respect to the first argument.
virtual Der< Ret, Arg2 >::type parDer2 (const Arg1 &arg1, const Arg2 &arg2)
 First derivative: partial derivative of the function value with respect to the second argument.
virtual Ret dirDer2 (const Arg2 &arg2Dir, const Arg1 &arg1, const Arg2 &arg2)
 First derivative: directional derivative of the function value with respect to the second argument.
virtual Der< typename Der< Ret,
Arg1 >::type, Arg1 >::type 
parDer1ParDer1 (const Arg1 &arg1, const Arg2 &arg2)
 Second derivative: partial derivative of parDer1 with respect to the first argument.
virtual Der< Ret, Arg1 >::type parDer1DirDer1 (const Arg1 &arg1Dir, const Arg1 &arg1, const Arg2 &arg2)
 Second derivative: directional derivative of parDer1 with respect to the first argument.
virtual Der< typename Der< Ret,
Arg2 >::type, Arg2 >::type 
parDer2ParDer2 (const Arg1 &arg1, const Arg2 &arg2)
 Second derivative: partial derivative of parDer2 with respect to the first argument.
virtual Der< Ret, Arg2 >::type parDer2DirDer2 (const Arg2 &arg2Dir, const Arg1 &arg1, const Arg2 &arg2)
 Second derivative: directional derivative of parDer2 with respect to the first argument.
virtual Der< typename Der< Ret,
Arg1 >::type, Arg2 >::type 
parDer1ParDer2 (const Arg1 &arg1, const Arg2 &arg2)
 Second mixed derivative: partial derivative of parDer1 with respect to the second argument.
virtual Der< Ret, Arg1 >::type parDer1DirDer2 (const Arg2 &arg2Dir, const Arg1 &arg1, const Arg2 &arg2)
 Second mixed derivative: directional derivative of parDer1 with respect to the second argument.
virtual Der< typename Der< Ret,
Arg2 >::type, Arg1 >::type 
parDer2ParDer1 (const Arg1 &arg1, const Arg2 &arg2)
 Second mixed derivative: partial derivative of parDer2 with respect to the first argument.
virtual Der< Ret, Arg2 >::type parDer2DirDer1 (const Arg1 &arg1Dir, const Arg1 &arg1, const Arg2 &arg2)
 Second mixed derivative: directional derivative of parDer2 with respect to the first argument.
virtual bool constParDer1 () const
 Returns true, if the partial derivative of the function value with respect to the first argument.
virtual bool constParDer2 () const
 Returns true, if the partial derivative of the function value with respect to the second argument.

Detailed Description

template<typename Ret, typename Arg1, typename Arg2>
class fmatvec::Function< Ret(Arg1, Arg2)>

A function object with 2 arguments.


The documentation for this class was generated from the following file: