Skip to content

pycauset.bool

pycauset.bool

The "bool" dtype token, usable anywhere a dtype string is accepted.

import pycauset

m = pycauset.matrix(((True, False), (False, True)), dtype=pycauset.bool)

Equivalent to passing dtype="bool". Boolean matrices use bit-packed storage.

See also