a.leg.poly: A function to display the expression of an associated...

Description Usage Arguments Value Author(s) Examples

View source: R/s.harmonic.R

Description

Given a non-negative degree l and an order m, this function will display the expression of the associated Legentre polynomial. The output is an object of type 'expression'

Usage

1
a.leg.poly(l, m)

Arguments

l

The degree. Must be a non-negative integer.

m

The order. Must be an integer.

Value

The output is an object of tpye 'expression'

Author(s)

Nishan Mudalige

Examples

1
2
3
4
5
## Display the expression of the associated Legendre polynomial of degree 3 and order 1
## a.leg.poly(3,1)

## Evaluate the associated Legendre polynomial of degree 5 and order -2
## a.leg.poly(5,-2)

nishanmudalige/s.harmonic documentation built on Nov. 22, 2020, 2:17 p.m.