Package | Description |
---|---|
com.codetaco.math | |
com.codetaco.math.function | |
com.codetaco.math.operator | |
com.codetaco.math.token |
Modifier and Type | Class and Description |
---|---|
class |
Function
Abstract Function class.
|
class |
Operation
Abstract Operation class.
|
class |
Operator
Abstract Operator class.
|
Modifier and Type | Method and Description |
---|---|
protected List<EquPart> |
Equ.multiplize(List<EquPart> oldTokens) |
protected List<EquPart> |
Equ.negatize(List<EquPart> equParts)
change subtractions to negations if necessary
|
protected List<EquPart> |
Equ.rpnize(List<EquPart> oldTokens)
Create a reverse Polish notation form of the equation
|
protected List<EquPart> |
Equ.tokenize() |
Modifier and Type | Method and Description |
---|---|
boolean |
EquPart.multiplize(EquPart rightSide)
multiplize.
|
boolean |
Operator.negatize(EquPart rightSide)
An operator followed by a minus sign is always a negate rather than a
subtraction
|
boolean |
EquPart.negatize(EquPart rightSide)
negatize.
|
void |
Function.updateParameterCount(EquPart[] equParts,
int myLocInArray)
updateParameterCount.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
Equ.gatherVariables(List<EquPart> tokens)
gatherVariables.
|
protected List<EquPart> |
Equ.multiplize(List<EquPart> oldTokens) |
protected List<EquPart> |
Equ.negatize(List<EquPart> equParts)
change subtractions to negations if necessary
|
protected List<EquPart> |
Equ.rpnize(List<EquPart> oldTokens)
Create a reverse Polish notation form of the equation
|
Constructor and Description |
---|
Operator(EquPart opTok)
Constructor for Operator.
|
Modifier and Type | Class and Description |
---|---|
class |
FuncAbs
FuncAbs class.
|
class |
FuncAcos
FuncAcos class.
|
class |
FuncAcotan
FuncAcotan class.
|
class |
FuncAlpha
FuncAlpha class.
|
class |
FuncAsin
FuncAsin class.
|
class |
FuncAtan
FuncAtan class.
|
class |
FuncBandedRate
FuncBandedRate class.
|
class |
FuncBytesToHex
FuncBytesToHex class.
|
class |
FuncCos
FuncCos class.
|
class |
FuncCubeRoot
FuncCubeRoot class.
|
class |
FuncDate
FuncDate class.
|
class |
FuncDateFmt
FuncDateTimeFmt class.
|
class |
FuncDateTime
FuncDate class.
|
class |
FuncDateTimeFmt
FuncDateTimeFmt class.
|
class |
FuncDegreesToRads
FuncDegreesToRads class.
|
class |
FuncFlatRate
FuncFlatRate class.
|
class |
FuncHaversine |
class |
FuncIf
FuncIf class.
|
class |
FuncKm2Mi |
class |
FuncLog
FuncLog class.
|
class |
FuncLog10
FuncLog10 class.
|
class |
FuncMax
FuncMax class.
|
class |
FuncMi2Km |
class |
FuncMin
FuncMin class.
|
class |
FuncNot
FuncNot class.
|
class |
FuncRadsToDegrees
FuncRadsToDegrees class.
|
class |
FuncRoot
FuncRoot class.
|
class |
FuncRound
FuncRound class.
|
class |
FuncSin
FuncSin class.
|
class |
FuncSqrt
FuncSqrt class.
|
class |
FuncStringCat
FuncStringCat class.
|
class |
FuncStringEmpty
FuncStringEmpty class.
|
class |
FuncStringIndexOf
FuncStringIndexOf class.
|
class |
FuncStringLength
FuncStringLength class.
|
class |
FuncStringLowerCase
FuncStringLowerCase class.
|
class |
FuncStringLTrim
FuncStringLTrim class.
|
class |
FuncStringMatch
FuncStringMatch class.
|
class |
FuncStringMetaphone
FuncStringMetaphone class.
|
class |
FuncStringReplace
FuncStringReplace class.
|
class |
FuncStringRTrim
FuncStringRTrim class.
|
class |
FuncStringSubstr
FuncStringSubstr class.
|
class |
FuncStringToFloat
FuncStringToFloat class.
|
class |
FuncStringToInt
FuncStringToInt class.
|
class |
FuncStringTrim
FuncStringTrim class.
|
class |
FuncStringUpCase
FuncStringUpCase class.
|
class |
FuncTan
FuncTan class.
|
class |
FuncTieredRate
FuncTieredRate class.
|
class |
FuncTime
FuncDate class.
|
class |
FuncTimeFmt
FuncDateTimeFmt class.
|
class |
FuncToString
FuncToString class.
|
class |
FuncTrunc
FuncTrunc class.
|
Modifier and Type | Class and Description |
---|---|
class |
OpAdd
OpAdd class.
|
class |
OpAnd
OpAnd class.
|
class |
OpAssignment |
class |
OpAssignmentAdd |
class |
OpAssignmentDivide |
class |
OpAssignmentMinus |
class |
OpAssignmentMultiply |
class |
OpChain
OpChain class.
|
class |
OpComma
OpComma class.
|
class |
OpCompareEqual
OpCompareEqual class.
|
class |
OpCompareGreater
OpCompareGreater class.
|
class |
OpCompareLess
OpCompareLess class.
|
class |
OpCompareNotEqual
OpCompareNotEqual class.
|
class |
OpCompareNotGreater
OpCompareNotGreater class.
|
class |
OpCompareNotLess
OpCompareNotLess class.
|
class |
OpDivide
OpDivide class.
|
class |
OpEquals
OpEquals class.
|
class |
OpFactorial
OpFactorial class.
|
class |
OpLeftParen
OpLeftParen class.
|
class |
OpMinusMinus |
class |
OpMod
OpMod class.
|
class |
OpMultiply
OpMultiply class.
|
class |
OpNand
OpNand class.
|
class |
OpNegate
OpNegate class.
|
class |
OpNor
OpOr class.
|
class |
OpOr
OpOr class.
|
class |
OpPlusPlus |
class |
OpPower
OpPower class.
|
class |
OpRightParen
OpRightParen class.
|
class |
OpSubtract
OpSubtract class.
|
class |
OpXnor
OpOr class.
|
class |
OpXor
OpOr class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OpRightParen.multiplize(EquPart rightSide)
multiplize.
|
boolean |
OpFactorial.multiplize(EquPart rightSide)
multiplize.
|
boolean |
OpRightParen.negatize(EquPart rightSide)
A close paren followed by a minus sign is always subtraction
|
boolean |
OpChain.negatize(EquPart rightSide)
This is just to the left of a subtraction meaning that the minus sign is
the first thing in an equation.
|
boolean |
OpFactorial.negatize(EquPart rightSide)
factorial followed by a minus sign is always subtraction.
|
Constructor and Description |
---|
OpAdd(EquPart opTok)
Constructor for OpAdd.
|
OpAnd(EquPart opTok)
Constructor for OpAnd.
|
OpAssignment(EquPart opTok) |
OpAssignmentAdd(EquPart opTok) |
OpAssignmentDivide(EquPart opTok) |
OpAssignmentMinus(EquPart opTok) |
OpAssignmentMultiply(EquPart opTok) |
OpChain(EquPart opTok)
Constructor for OpChain.
|
OpComma(EquPart opTok)
Constructor for OpComma.
|
OpCompareEqual(EquPart opTok)
Constructor for OpCompareEqual.
|
OpCompareGreater(EquPart opTok)
Constructor for OpCompareGreater.
|
OpCompareLess(EquPart opTok)
Constructor for OpCompareLess.
|
OpCompareNotEqual(EquPart opTok)
Constructor for OpCompareNotEqual.
|
OpCompareNotGreater(EquPart opTok)
Constructor for OpCompareNotGreater.
|
OpCompareNotLess(EquPart opTok)
Constructor for OpCompareNotLess.
|
OpDivide(EquPart opTok)
Constructor for OpDivide.
|
OpEquals(EquPart opTok)
Constructor for OpEquals.
|
OpFactorial(EquPart opTok)
Constructor for OpFactorial.
|
OpLeftParen(EquPart opTok)
Constructor for OpLeftParen.
|
OpMinusMinus(EquPart opTok) |
OpMod(EquPart opTok)
Constructor for OpMod.
|
OpMultiply(EquPart opTok)
Constructor for OpMultiply.
|
OpNand(EquPart opTok)
Constructor for OpNand.
|
OpNegate(EquPart opTok)
Constructor for OpNegate.
|
OpNor(EquPart opTok)
Constructor for OpOr.
|
OpOr(EquPart opTok)
Constructor for OpOr.
|
OpPlusPlus(EquPart opTok) |
OpPower(EquPart opTok)
Constructor for OpPower.
|
OpRightParen(EquPart opTok)
Constructor for OpRightParen.
|
OpSubtract(EquPart opTok)
Constructor for OpSubtract.
|
OpXnor(EquPart opTok)
Constructor for OpOr.
|
OpXor(EquPart opTok)
Constructor for OpOr.
|
Modifier and Type | Class and Description |
---|---|
class |
Token
Abstract Token class.
|
class |
TokLiteral
TokLiteral class.
|
class |
TokNumber |
class |
TokOperand
Abstract TokOperand class.
|
class |
TokOperator
TokOperator class.
|
class |
TokVariable |
class |
TokVariableWithValue |
Modifier and Type | Method and Description |
---|---|
EquPart |
TokNumber.morph() |
EquPart |
TokVariable.morph() |
protected EquPart |
Token.morph()
morph.
|
EquPart |
TokOperator.morph()
morph.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TokOperand.multiplize(EquPart rightSide)
multiplize.
|
Modifier and Type | Method and Description |
---|---|
void |
Token.addTo(Collection<EquPart> tokens)
addTo.
|
Copyright © 2018 CodeTaco. All rights reserved.