is_under: Calculates if a point is under a curve

Description Usage Arguments Value

Description

The point (x, y) is under a curve func(x) if y <= func(x)

Usage

1
is_under(func, x, y)

Arguments

func

the function of interest

x,

y the coordinates of the point of interest

Value

The boolean (x, y) <= (x, func(x))


pommevilla/mcint documentation built on May 14, 2019, 2:03 a.m.