1. A method comprising: partitioning a region of interest into a plurality of soft bin regions that span the region of interest; estimating an integral over each soft bin region of a function defined over the region of interest; and outputting a value equal to or derived from the sum of the estimated integrals over the soft bin regions spanning the region of interest.
16. A storage medium storing a library of computer-executable library subroutines or library functions including an integration library function configured to receive the function and the region of interest and to perform a method as set forth in claim 1 to generate the output of the integration library function.