def __init__(self, length, dec_rep):
    '\n        Constructor\n\n        Parameters\n        ----------\n        length : int\n        dec_rep : int\n\n        Returns\n        -------\n\n        '
    self.len = length
    self.dec_rep = dec_rep
    self.max_len = 16
    assert (length <= self.max_len), 'bit vector is too long'
    assert (length > 0), 'bit vector len must be >=1'
Constructor

Parameters
----------
length : int
dec_rep : int

Returns
-------
def __init__(self, length, dec_rep):
    '\n        Constructor\n\n        Parameters\n        ----------\n        length : int\n        dec_rep : int\n\n        Returns\n        -------\n\n        '
    self.len = length
    self.dec_rep = dec_rep
    self.max_len = 16
    assert (length <= self.max_len), 'bit vector is too long'
    assert (length > 0), 'bit vector len must be >=1'