Description Usage Arguments Value Examples
Takes in a matrix of clauses and determines what percentage of the clauses each possible value satisfies.
1 | checkCases(clauses,colorCode=FALSE)
|
clauses |
Matrix that specifies the clauses. Each row is a clause. Each row must contain the same number of columns as qubits, the bit length of the clauses. 0 and 1 are values which are added to clause, ignored bits should be set to any other value. |
colorCode |
Boolean which specifies if data should be returned as list of colors rather than numerical data |
Array of numbers or string color names
1 | checkCases( rbind(c(1,-1),c(1,1) ) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.