Laguerre Module (numpy.polynomial.laguerre)

New in version 1.6.0.

This module provides a number of objects (mostly functions) useful for dealing with Laguerre series, including a Laguerre class that encapsulates the usual arithmetic operations. (General information on how this module represents and works with such polynomials is in the docstring for its “parent” sub-package, numpy.polynomial).

Laguerre Class

Laguerre(coef[, domain, window]) A Laguerre series class.

Basics

lagval(x, cs) Evaluate a Laguerre series.
lagval2d
lagval3d
laggrid2d
laggrid3d
lagroots(cs) Compute the roots of a Laguerre series.
lagfromroots(roots) Generate a Laguerre series with the given roots.

Fitting

lagfit(x, y, deg[, rcond, full, w]) Least squares fit of Laguerre series to data.
lagvander(x, deg) Vandermonde matrix of given degree.
lagvander2d
lagvander3d

Calculus

lagder(cs[, m, scl]) Differentiate a Laguerre series.
lagint(cs[, m, k, lbnd, scl]) Integrate a Laguerre series.

Algebra

lagadd(c1, c2) Add one Laguerre series to another.
lagsub(c1, c2) Subtract one Laguerre series from another.
lagmul(c1, c2) Multiply one Laguerre series by another.
lagmulx(cs) Multiply a Laguerre series by x.
lagdiv(c1, c2) Divide one Laguerre series by another.
lagpow(cs, pow[, maxpower]) Raise a Laguerre series to a power.

Quadrature

laggauss
lagweight

Miscellaneous

lagcompanion(cs) Return the companion matrix of cs.
lagdomain
lagzero
lagone
lagx
lagtrim(c[, tol]) Remove “small” “trailing” coefficients from a polynomial.
lagline(off, scl) Laguerre series whose graph is a straight line.
lag2poly(cs) Convert a Laguerre series to a polynomial.
poly2lag(pol) Convert a polynomial to a Laguerre series.

Table Of Contents

Previous topic

numpy.polynomial.legendre.poly2leg

Next topic

numpy.polynomial.laguerre.Laguerre

This Page