combinatorial_bijections: Combinatorial bijections for affiliation network triad...

Description Usage Arguments Examples

Description

These functions biject among partitions of at most 3 parts, 3-subsets of natural numbers, and indices for the lexicographic total orders on them.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Arguments

i

Integer; an index in the total order, starting at 0.

vec

Integer vector; a set of 3 distinct non-negative integers, in decreasing order.

lambda

Integer vector; a partition of at most 3 parts, with parts in non-increasing order.

Examples

1
2
3
4
5
6

corybrunson/bitriad documentation built on May 13, 2019, 10:51 p.m.