Skip to contents

Legendre Polynomial function (Pn) of the first kind.

Usage

Pn(n, x)

Arguments

n

Degree of Legendre polynomial

x

Real value

Value

Returns a matrix array calculated by computing the outer product that generates a series of values when evaluated over a vector.