public class SignTable extends MultiplicationTable
Constructor and Description |
---|
SignTable() |
SignTable(java.lang.String[][] table) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBinarySignMask()
The signs of the upper triangle are mapped according to:
"-" --> 0
"+" --> 1
and the result is concatenated.
|
boolean |
isSignMatrix()
TODO: we need a proper mathemacal definition of what a sign matrix is and accordingly a
proper check ...
|
void |
setRandomSignTable(int dimension)
TODO at the moment only implemented for a non-split algebra.
|
void |
setSignature(java.lang.String sig)
The diagonal elements of the sign table are set which represent the signature.
|
getComparisonTable, getCopy, getDeterminant2, getMultTableAsArray, getMultTableAsHtml, getMultTableAsHtml, getMultTableAsHtml, getMultTableAsHtml, getMultTableListAsHtml, getMultTableStringDelimited, getMultTableStringDelimited, getNormedMultiplicationTable, getNormedMultiplicationTable, getNormedMultTableStringDelimited, getSignTable, getSignTable, getSignTable, getSignTableAsArray, getSignTableAsArray, getSignTableAsHtml, getSignTableAsHtml, getSignTableStringDelimited, getSignTableStringDelimited, getSize, getTableView, getUnsignedMultTableStringDelimited, getUnsignedTable, getUnsignedTable, isAntiSymmetric, isEqualTables, isFanoPlane, isLatinSquare, setRepresentation, setRepresentation, setSignTable, swapColumns, swapRows
public SignTable()
public SignTable(java.lang.String[][] table)
public java.lang.String getBinarySignMask() throws java.lang.Exception
dimension
- java.lang.Exception
public void setSignature(java.lang.String sig) throws java.lang.Exception
sig
- Signature, "+" and "-" entries, comma delimited. The number of entries
must be equal the dimension of the sign table. E.g. "+,-,+,-,+,+,-,-".java.lang.Exception
public void setRandomSignTable(int dimension) throws java.lang.Exception
dimenion
- Dimension of the sign matrix. Only dimensions 2^n are allowed (i,e, 1,2,4,8,16,...).java.lang.Exception
public boolean isSignMatrix() throws java.lang.Exception
java.lang.Exception