fpoly

pydl.pydlutils.trace.fpoly(x, m)[source]

Compute the first m simple polynomials.

Parameters
xarray-like

Compute the simple polynomials at these abscissa values.

mint

The number of simple polynomials to compute. For example, if \(m = 3\), \(x^0\), \(x^1\) and \(x^2\) will be computed.

Returns
numpy.ndarray