1 #ifndef MATH_TestFunction_H 2 #define MATH_TestFunction_H 59 static SP::MATH_TestFunction
New() {
106 ret=pow(ret,-1.5)-3*(*X)*(*X)*pow(ret,-2.5);
tFlag mType
Definition: MATH_TestFunction.h:25
virtual tReal computeFunction(const tUSInt &n, const tReal X[])
compute the function at the point
Definition: MATH_TestFunction.h:85
SP_OBJECT(MATH_TestFunction)
void setType(const tFlag &t)
set the type of the function
Definition: MATH_TestFunction.h:80
#define tUSInt
Definition: types.h:28
This class describes a test function to integrate.
Definition: MATH_TestFunction.h:16
static SP::MATH_TestFunction New()
create a copy of MATH_TestFunction
Definition: MATH_TestFunction.h:59
virtual ~MATH_TestFunction(void)
destroy an TestFunction Object.
Definition: MATH_TestFunction.h:49
MATH_TestFunction(void)
create a TestFunction object
Definition: MATH_TestFunction.h:38
DEFINE_SPTR(MATH_TestFunction)
This class describes a function to integrate. the method computeFunction() has to be defined...
Definition: MATH_IntegrandFunction.h:16
#define tReal
Definition: types.h:118
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141
#define tFlag
Definition: types.h:74