Skip to content

stirlingSecondKindRow(n): readonly bigint[]

Defined in: packages/combinatorics/src/stirling-second-kind.ts:28

Return the Stirling numbers of the second kind for k from 0 to n, in order.

O(n²) arithmetic operations and O(n) bigint storage.

number

readonly bigint[]

With INVALID_COUNT for an invalid count or COUNT_TOO_LARGE if n exceeds COMBINATORICS_MAX_COUNT.