Learn R Programming

gss (version 2.2-8)

gauss.quad: Generating Gauss-Legendre Quadrature

Description

Generate Gauss-Legendre quadratures using the FORTRAN routine gaussq.f found on NETLIB.

Usage

gauss.quad(size, interval)

Value

gauss.quad returns a list object with the following elements.

pt

Quadrature nodes.

wt

Quadrature weights.

Arguments

size

Size of quadrature.

interval

Interval to be covered.