Function reference · Polynomials
content
Returns the greatest common divisor of a polynomial's coefficients.
Only the numbers count: for 6*x^2+15*x-3 it is 3. If the input isn't a polynomial, the call is returned unevaluated.
Notation
content(x)
Write it in an expression: nerdamer('content(6*x^2+15*x-3)'), or in the Playground.
nerdamer.content
nerdamer.content(x: ExpressionInput | Polynomial): Expression
A method on the default import. Arguments can be strings, as in Notation.
import { content }
import { content } from 'nerdamer/algebra';
content(x: ExpressionInput | Polynomial): Expression
Import only this function, from nerdamer/algebra.
