lmlib.polynomial.poly.poly_square#

lmlib.polynomial.poly.poly_square(poly)#

\((\alpha^\mathsf{T} x^q)^2 = \color{blue}{\tilde{\alpha}^\mathsf{T} x^\tilde{q}}\)

Square of a univariate polynomial

Parameters

poly (Poly) – poly, polynomial to be squared

Returns

out – squared polynomial

Return type

Poly

References

[Wildhaber2019] (Eq. 6.11)