get_I: get none, singleton, doubleton, ... until full binary...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Within each k-ton, we order from the largest to smallest

Usage

1
get_I(D, M)

Arguments

D

sum of binary codes (if zero, forced to be 1)

M

dimension of binary codes

Value

a binary matrix of size (M + M choose 2 + ...+ M choose D)by M

Examples

1
2
3
4
get_I(3,3)
get_I(2,3)
get_I(1,3)
get_I(0,3)

zhenkewu/slamR documentation built on March 8, 2020, 1:31 a.m.