The most direct way is found in SAS/IML, using the quad() built-in call. What type of integral are you trying to evaluate? The quad() call uses and adaptive Romberg integration strategy to evaluate one-dimensional integrals over arbitray piece-wise connected and also infinite and semi-infinite intervals.
Not too many months ago I advised a banking customer about calculating integrals with the quad() function,and I think they were using it for something related to Basel 2, although I don't remember all the specifics.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!