Function reference · Algebra

polyFactors

Returns polynomial factors as a Vector of separate factor expressions.

In Nerdamer Notation, use polyfactors(...). In JavaScript or TypeScript, use polyFactors(...) from the root API or nerdamer/algebra.

The result is a Vector containing the factor expressions rather than a single product.

Examples

These examples use Nerdamer Notation.

Return the factors of a difference of squares as separate Vector entries.

polyfactors(x^2-1)

Interfaces

The same operation is available through the interfaces below.

Nerdamer Notation · Direct API

Nerdamer Notation

Use this form inside input passed to nerdamer(...).

polyfactors(arg1)

Direct JavaScript / TypeScript API

Import the operation directly from its package entry point.

import { polyFactors } from 'nerdamer/algebra';

Browse nerdamer/algebra

Aliases

polyfactors

← Back to Reference