#include <ACDCTraits.h>
Static Public Member Functions | |
static double | value (const FncPtr &f, const DVector &x) |
Call a function to be sampled by ACDCGen. |
It only defines one function which defines how the functions are called. If the default implementation is not suitable, ACDCFncTraits may be specialized for a function class implementing a function with the same signature.
Definition at line 28 of file ACDCTraits.h.
static double ACDCGenerator::ACDCFncTraits< FncPtr >::value | ( | const FncPtr & | f, | |
const DVector & | x | |||
) | [inline, static] |
Call a function to be sampled by ACDCGen.
(*f)(x)
. Definition at line 34 of file ACDCTraits.h.