#include "MtxExpr.hpp"
#include "Math387.hpp"
#include "MtxIntDiff.hpp"
// Integrating function
double __fastcall IntFun(
TVec*
const Parameters,
TVec*
const Constants, System::TObject*
const * ObjConst,
const int ObjConst_Size)
{
double x = (*Parameters)[0];
return Math.Sin(x)*Math.Exp(-x*x);
}
void __fastcall Example();
{
TIntStopReason sr;
double area = QuadGauss(IntFun,0.0,5*
PI,sr);
}