Calculates the prime implicants of a boolean expression using its Karnaugh map.
The boolean expression
An array of variable names (order matters)
const primes = Chalkboard.bool.primeImplicants("x & y | x & z", ["x", "y", "z"]); // Returns ["x & y", "x & z"] Copy
const primes = Chalkboard.bool.primeImplicants("x & y | x & z", ["x", "y", "z"]); // Returns ["x & y", "x & z"]
Calculates the prime implicants of a boolean expression using its Karnaugh map.