conjugate: Find the conjugate of an integer partition Recoded (orginally...

Description Usage Arguments Examples

View source: R/rpartitions.R

Description

Find the conjugate of an integer partition Recoded (orginally on 24-Apr-2013) from the Sage source code: http://www.sagenb.org/src/combinat/partition.py

Usage

1
  conjugate(partition, use_c = TRUE)

Arguments

partition

a vector that represents an integer partition

use_c

logical, defaults to TRUE, the conjugate is computed in c

Examples

1
conjugate(c(3,3,1,1), FALSE)

Example output

Loading required package: hash
hash-3.0.1 provided by Decision Patterns

[1] 4 2 2

rpartitions documentation built on May 1, 2019, 8:03 p.m.