Learn R Programming

orthopolynom (version 1.0-2)

spherical.weight: Weight function for the spherical polynomial

Description

This function returns the value of the weight function for the order $k$ spherical polynomial, $P_k \left( x \right)$.

Usage

spherical.weight(x)

Arguments

x
the function argument which can be a vector

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 <- spherical.weight( x )

Run the code above in your browser using DataLab