Description Usage Arguments Details Value Author(s)
View source: R/numericalintegration.R
Implementation of the trapezoidal rule for the numerical integration of uni- and bivariate functions.
1 | trapezoidal(f, a, b, n, ...)
|
f |
bivariate function. |
a |
lower bound of the grid. |
b |
upper bound of the grid. |
n |
grid size. |
... |
trick for evaluating the second parameter in case a bivariate functions was supplied. |
details follow
vector or matrix of function evaluations use sum to obtain the integrand.
Maarten van Iterson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.