Function reference · Algebra
polyfactors
Returns the factors of a polynomial as separate entries of a vector.
In Notation it is polyfactors; in JavaScript, polyFactors. Compare factor, which returns their product.
Notation
polyfactors(x)
Write it in an expression: nerdamer('polyfactors(x^2-1)'), or in the Playground.
nerdamer.polyfactors
nerdamer.polyFactors(x: ExpressionInput): Vector
A method on the default import. Arguments can be strings, as in Notation.
import { polyFactors }
import { polyFactors } from 'nerdamer/algebra';
polyFactors(x: ExpressionInput): Vector
Import only this function, from nerdamer/algebra.
Examples
Also called
polyFactors
