Learn R Programming

orthopolynom (version 1.0-2)

gegenbauer.weight: Weight function for the Gegenbauer polynomial

Description

This function returns the value of the weight function for the order $k$ Gegenbauer polynomial, $C_k^{\left( \alpha \right)} \left( x \right)$.

Usage

gegenbauer.weight(x,alpha)

Arguments

x
the function argument which can be a vector
alpha
polynomial parameter

Value

  • The value of the weight function

Details

The function takes on non-zero values in the interval $\left( -1,1 \right)$.

References

Abramowitz and Stegun (1968)

Examples

Run this code
x <- seq( -2, 2, .01 )
y <- gegenbauer.weight( x, 1 )

Run the code above in your browser using DataLab