quadWeights: Compute quadrature weights

View source: R/quadWeights.R

quadWeightsR Documentation

Compute quadrature weights

Description

Utility function for numerical integration.

Usage

quadWeights(argvals, method = "trapezoidal")

Arguments

argvals

function arguments.

method

quadrature method. Can be either trapedoidal or midpoint.

Value

a vector of quadrature weights for the points supplied in argvals.

Author(s)

Clara Happ, with modifications by Philip Reiss


refund documentation built on Sept. 21, 2024, 1:07 a.m.

Related to quadWeights in refund...