This AdaptableUnaryFunction computes the degree of a PolynomialTraits_d::Polynomial_d with respect to a certain variable.
The degree of with respect to a certain variable ,
is the highest power of such that the coefficient of in
is not zero.
For instance the degree of with respect to is .
The degree of the zero polynomial is set to . From the mathematical point of view this should be , but this would imply an inconvenient return type.
|
|
|
| ||
|
|
| Computes the degree of with respect to the outermost variable . | ||
|
|
Computes the degree of with respect to variable .
|
Polynomial_d
PolynomialTraits_d
PolynomialTraits_d::TotalDegree
PolynomialTraits_d::DegreeVector