rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
get_quadrature_weights_1d.m File Reference

returns local quadrature points and corresponding weights for a Gaussian quadrature rule for a function defined on a 1d interval. More...

Go to the source code of this file.

Functions

function [ points
,
weights ] = 
get_quadrature_weights_1d (poldeg)
 returns local quadrature points and corresponding weights for a Gaussian quadrature rule for a function defined on a 1d interval. More...
 

Detailed Description

returns local quadrature points and corresponding weights for a Gaussian quadrature rule for a function defined on a 1d interval.

Definition in file get_quadrature_weights_1d.m.

Function Documentation

function [ points , weights ] = get_quadrature_weights_1d (   poldeg)

returns local quadrature points and corresponding weights for a Gaussian quadrature rule for a function defined on a 1d interval.

The quadrature rules are supported up to a degree of 23.

Parameters
poldegdegree of polynomial the quadrature rule exactly approximates (0-23)
Return values
pointsquadrature points in local coordinates (0-1)
weightsquadrature weights at quadrature points

Definition at line 17 of file get_quadrature_weights_1d.m.

Here is the caller graph for this function: