and  (&rest reps)Computes the representation of the ANDING of <reps>.
Example: (rsm.bitcomp:and rep1 rep2)
where rep1 represents '((1 . 3) (5 . 2))
and rep2 represents '((4 . 2) (10 . 2))
yields ((5 . 1)).
(actually a compressed type which has this as a
run length encoded list.)
compressed-data  (struct)nil
compressed-p  (object)nil
get-compressed-pairs  (compressed &key (fresh t))Get the list of compressed pairs that represent the compressed bit string
<compressed>. If <fresh> is true, make a copy of the list; otherwise, the
internal list of compressed pairs is returned.
get-number-of-bits  (rep)Get the number of bits in the representation <rep>.
not  (begin end rep)Computes the new representation of the COMPLEMENT of <rep> in the range
[begin, end].
Example: (rsm.bitcomp:not 0 11 rep)
where rep represents '((2 . 1) (5 . 3) (10 . 1))
yields '((0 . 2) (3 . 2) (8 . 2) (11 . 1)).
(actually a compressed type which has this as a
run length encoded list.)
or  (&rest reps)Computes the representation of the ORING of <reps>.
Example: (rsm.bitcomp:or rep1 rep2)
where rep1 represents '((1 . 3) (5 . 2))
and rep2 represents '((4 . 2) (10 . 2))
yields ((1 . 6) (10 . 2)).
(actually a compressed type which has this as a
run length encoded list.)
xor  (&rest reps)Computes the representation of the XORING of <reps>.
Example: (rsm.bitcomp:xor rep1 rep2)
where rep1 represents '((1 . 3) (5 . 2))
and rep2 represents '((4 . 2) (10 . 2))
yields '((1 . 4) (6 . 1) (10 . 2)).
(actually a compressed type which has this as a
run length encoded list.) |