attribute_inv_bijection function

Perform an Inverse Bijection of an Integer to Attribute Pattern

Perform an Inverse Bijection of an Integer to Attribute Pattern

Convert an integer between 00 and 2K12^{K-1} to KK-dimensional attribute pattern.

attribute_inv_bijection(K, CL)

Arguments

  • K: Number of Attributes.
  • CL: An integer between 00 and 2K12^{K-1}

Returns

A KK-dimensional vector with an attribute pattern corresponding to CL.

Examples

## Construct an attribute inversion bijection ---- inv_biject1 = attribute_inv_bijection(5, 1) inv_biject2 = attribute_inv_bijection(5, 2)

See Also

attribute_bijection()

Author(s)

Steven Andrew Culpepper and James Joseph Balamuta

  • Maintainer: James Joseph Balamuta
  • License: GPL (>= 2)
  • Last published: 2023-11-29