midpointRule :: (Fractional e, StrideLoad DW ix e, Manifest r e)=> CompComputation strategy.
-> rIntermediate array representation.
-> ((Int -> e) -> ix -> e)f(x,y,...)- Function to integrate-> ea- Starting value point.-> ed- Distance per matrix cell.-> Sz ixsz- Result matrix size.-> Intn- Number of sample points per cell in each direction.-> Array D ix e
Use midpoint rule to approximate an integral.