Class HalfDet
java.lang.Object
math.matrix.expressParser.MatrixOperator
math.matrix.expressParser.HalfDet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getComplementIndex
(boolean isleftHalf, int start, ArrayList<String> scan) int
getIndex()
void
setComplement
(HalfDet complement) void
setIndex
(int index) Methods inherited from class MatrixOperator
getName, getPrecedence, isAssignmentOperator, isBinaryOperator, isBracket, isClosingBrace, isClosingBracket, isColJoin, isColon, isCube, isDet, isDetHalfSymbol, isInverse, isMul, isOpeningBrace, isOpeningBracket, isOperatorString, isPlusOrMinus, isPower, isRowJoin, isSquare, isTri, isUnaryPostOperator, isUnaryPreOperator, isUnit, orderCompoundTokens, setName, validateAll
-
Field Details
-
index
private int index -
complement
-
-
Constructor Details
-
HalfDet
-
-
Method Details
-
setIndex
public void setIndex(int index) -
getIndex
public int getIndex() -
setComplement
-
getComplement
-
getComplementIndex
- Parameters:
isleftHalf
- A boolean condition that is true if the object (whose complement we seek) itself is the opening half of the determinant brace...i.e the one to the left. If false, then it is the one to the right...i.e the one to the right.start
- The index of the HalfDet object whose complement we seek.scan
- The ArrayList that this object resides in.- Returns:
- the index where the complement is to be found in the ArrayList object.
-