Description Usage Arguments Details Value Author(s)

View source: R/simpson.coeff.R

Computes Simpson integration rule coefficients.

1 2 | ```
simpson.coeff(n)
simpson.kD(n,k=2)
``` |

`n` |
number of points of the simpson formula a single dimension |

`k` |
number of dimensions |

`simpson.coeff`

computes the coefficients of the standard Simpson rule (for unit spaced points), according to the sequence (1+4+2+4+...+2+4+1)/3 for each dimension. `simpson.kD`

expand the formula over a grid of *n^k* points in `k`

dimensions.

a vector of `n`

coefficients (for `simpson.coeff`

), a k-dimensions array with a total of *n^k* elements for `simpson.kD`

.

Marcello Chiodi

etasFLP documentation built on May 1, 2019, 6:48 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.