i am using Math.net, among other methods i use integration, the integration function i use is defined as foloows:
public static double IntegrateComposite(
Func<double, double> f,
double intervalBegin,
double intervalEnd,
int numberOfPartitions)
yet, my call syntax is:
p = IntegrateComposite(
tau => MyFunction(r, tau, appCfg, Ta, Da) * ProbDensity(tau),
lowLim, hiLim, 32)
My function is better defined as Func<double, double, double, double, double, double> and not the above Func<double, double>, still everything works fine
Why?