numpy.polynomial.legendre.legroots()

numpy.polynomial.legendre.legroots

numpy.polynomial.legendre.legroots(c) [source]

Compute the roots of a Legendre series.

Return the roots (a.k.a. “zeros”) of the polynomial

p(x) = \sum_i c[i] * L_i(x).

Parameters:

c : 1-D array_like

1