Function reference · Polynomials
deg
Returns the degree of a polynomial.
Without a variable, it is the total degree: the largest sum of powers in any term. With a variable, it is the highest power of that variable.
If the input isn't a polynomial, the call is returned unevaluated.
Notation
deg(x, variable)
Write it in an expression: nerdamer('deg(x^2*y^3+x)'), or in the Playground.
nerdamer.deg
nerdamer.deg(x: ExpressionInput | Polynomial, variable?: ExpressionInput): Expression
A method on the default import. Arguments can be strings, as in Notation.
import { deg }
import { deg } from 'nerdamer/algebra';
deg(x: ExpressionInput | Polynomial, variable?: ExpressionInput): Expression
Import only this function, from nerdamer/algebra.
