Computes the powers of 2 from \(0\) up to \(K - 1\) for \(K\)-dimensional attribute pattern.

attribute_bijection(K)

Arguments

K

Number of Attributes.

Value

A vec with length \(K\) detailing the power's of 2.

Author

Steven Andrew Culpepper and James Joseph Balamuta

Examples

## Construct an attribute bijection ----
biject = attribute_bijection(3)