Skip to main content

Polynomial<complex>

A Polynomial<complex>-valued polynomial.

Symbols

NameDescription
*Scalar multiplication operator for Polynomial objects.
*=In-place scalar multiplication assignment operator for Polynomial objects.
+Addition operator for Polynomial objects.
+=In-place addition assignment operator for Polynomial objects.
-Subtraction operator for Polynomial objects.
-=In-place subtraction assignment operator for Polynomial objects.
=Assignment operator for Polynomial objects.
==Equality operator for Polynomial objects.

Members

NameDescription
evaluateEvaluates the polynomial at multiple points.
get_coeffsReturns the coefficients of the polynomial.
get_degreeReturns the degree of the polynomial.
scaleScales the polynomial by the given factor.
shiftShifts the polynomial by the given amount.