31 Genfun::Argument arg( myfun.dimensionality() );
34 format +=
" fun=%+.10f fun-myfun=%+.10f \n";
37 for (
double a = 0; a < 3; ++a ) {
38 for (
double b = 0; b < 3; ++b ) {
42 printf( format.c_str(), x[0], x[1], myfun( arg ),
fun( x ),
fun( x ) - myfun( arg ) );
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Genfun::AbsFunction Function
GAUDI_API AIDAFunction adapter(const AIDA::IFunction &function)
double fun(const std::vector< double > &x)