partitions: Enumerate the partitions of an integer

Description Usage Arguments Value Author(s) Examples

View source: R/partitions.R

Description

Determine all unrestricted partitions of an integer. This function is equivalent to the function parts in the partitions package.

Usage

1

Arguments

n

an integer

Value

a matrix whose rows are the n-tuples

Author(s)

Robin K. S. Hankin, from package partitions

Examples

1
2

mpoly documentation built on March 26, 2020, 7:33 p.m.