simplify#

tangles.util.logic.simplify(matrix: ndarray) ndarray#

Simplifies a matrix in either CNF or DNF.

Which of these two normal forms the matrix is in does not matter. The result is in the same normal form as the input matrix.