gausLagHC.m

Contents

gausLagHC.m#

A lookup function containing many hard-coded values for Gauss-Laguerre quadrature.

[x, w] = gausLagHC(n)

By default, values are stored for \(n=1,\ldots,100\) point quadrature rules. If \(n\) is provided which exceeds this, quadGaussLaguerre(n) is called to construct weights and nodes from scratch.

You can adjust the number of hard-coded values to any number you choose by running hardCodeQuadratureGaulag; be warned - this will overwrite the function file gausLagHC.m

Inputs#

n is the number of quadrature points

Outputs#

  • x : Quadrature nodes

  • w : Quadrature weights