Intermact API Reference / @intermact/core / riemannRectangles
Function: riemannRectangles()
riemannRectangles(
handle,fn,opts?):IMObject2D
Defined in: packages/core/src/constructs/graphs.ts:89
Riemann-sum rectangles approximating the area under fn(x) (design.md §7.4).
Parameters
handle
fn
(x) => number
opts?
RiemannOptions = {}