Skip to main content

RealPolynomial

Base class: Object

A RealPolynomial-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.
-Unary negation operator for Polynomial objects.
-=In-place subtraction assignment operator for Polynomial objects.
/Scalar division operator for Polynomial objects.
/=In-place scalar division assignment operator for Polynomial objects.
=Assignment operator for Polynomial objects.
==Equality operator for Polynomial objects.

Members

NameDescription
composeComposes the polynomial with another polynomial.
degreeReturns the degree of the polynomial.
evaluateEvaluates the polynomial over a matrix.
get_coefficientsReturns the coefficients of the polynomial.
scaleScales the polynomial by the given factor.
set_coefficientsReplaces the coefficients of the polynomial.
shiftShifts the polynomial by the given amount.