orthopolynom (version 1.0-6.1)

jacobi.g.inner.products: Inner products of Jacobi polynomials

Description

This function returns a vector with \(n + 1\) elements containing the inner product of an order \(k\) Jacobi polynomial, \(G_k \left( {p,q,x} \right)\), with itself (i.e. the norm squared) for orders \(k = 0,\;1,\; \ldots ,\;n \).

Usage

jacobi.g.inner.products(n,p,q)

Value

A vector with \(n + 1\) elements

1

inner product of order 0 orthogonal polynomial

2

inner product of order 1 orthogonal polynomial

...

n+1

inner product of order \(n\) orthogonal polynomial

Arguments

n

integer value for the highest polynomial order

p

numeric value for the first polynomial parameter

q

numeric value for the first polynomial parameter

Author

Frederick Novomestky fnovomes@poly.edu

Details

The formula used to compute the inner products is as follows.

\(h_n = \left\langle {G_n |G_n } \right\rangle = \frac{{n!\;\Gamma \left( {n + q} \right)\,\Gamma \left( {n + p} \right)\,\Gamma \left( {n + p - q + 1} \right)}} {{\left( {2\,n + p} \right)\,\left[ {\Gamma \left( {2\,n + p} \right)} \right]^2 }}\).

References

Abramowitz, M. and I. A. Stegun, 1968. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, Dover Publications, Inc., New York.

Courant, R., and D. Hilbert, 1989. Methods of Mathematical Physics, John Wiley, New York, NY.

Szego, G., 1939. Orthogonal Polynomials, 23, American Mathematical Society Colloquium Publications, Providence, RI.

Examples

Run this code
###
### generate the inner products vector for the 
### G Jacobi polynomials of orders 0 to 10
### parameter p is 3 and parameter q is 2
###
h <- jacobi.g.inner.products( 10, 3, 2 )
print( h )

Run the code above in your browser using DataLab