org.matheclipse.core.interfaces
Interface IPatternSequence
-
- All Superinterfaces:
- AbelianGroupElem<IExpr>, java.lang.Comparable<IExpr>, Element<IExpr>, IExpr, IPatternObject, MonoidElem<IExpr>, RingElem<IExpr>, java.io.Serializable
- All Known Implementing Classes:
- PatternSequence
public interface IPatternSequence extends IPatternObject, IExpr
Interface for pattern sequence objects. A pettern sequence object cannot be shared between multiple rules.
-
-
Field Summary
-
Fields inherited from interface org.matheclipse.core.interfaces.IExpr
ASTID, COMPLEXID, DOUBLECOMPLEXID, DOUBLEID, FRACTIONID, INTEGERID, METHODSYMBOLID, PATTERNID, STRINGID, SYMBOLID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IExprgetCondition()Get the additional pattern sequences condition expressionbooleanisBlank()Returntrue, if the expression is a blank sequence patternbooleanisConditionMatchedSequence(IAST sequence)Returntrue, if all of the elements in thesequencefulfill the pattern sequences additional conditionbooleanisDefault()Returntrue, if the expression is a pattern sequence with an associated default value,-
Methods inherited from interface org.matheclipse.core.interfaces.IPatternObject
getIndex, getSymbol, setIndex
-
Methods inherited from interface org.matheclipse.core.interfaces.IExpr
accept, accept, accept, and, apply, apply, asType, compareTo, evaluate, fullFormString, getAt, head, hierarchy, internalFormString, inverse, isAnd, isArcCos, isArcCosh, isArcSin, isArcSinh, isArcTan, isArcTanh, isAST, isAST, isAST, isAST, isAST, isAST, isASTSizeGE, isAtom, isComplex, isComplexInfinity, isComplexNumeric, isCondition, isConstant, isCos, isCosh, isDirectedInfinity, isFalse, isFlatAST, isFraction, isFree, isFree, isFunction, isGEOrdered, isGTOrdered, isInfinity, isInteger, isLEOrdered, isList, isListOfLists, isLog, isLTOrdered, isMatrix, isMember, isMember, isMinusOne, isModule, isNegative, isNegativeInfinity, isNot, isNumber, isNumEqualInteger, isNumeric, isNumericFunction, isNumIntValue, isOne, isOr, isOrderlessAST, isPattern, isPatternExpr, isPatternSequence, isPlus, isPositive, isPower, isRational, isRealFunction, isRuleAST, isSame, isSame, isSequence, isSignedNumber, isSin, isSinh, isSlot, isSlotSequence, isSymbol, isTan, isTanh, isTimes, isTrue, isValue, isVector, isZero, leaves, minus, mod, multiply, negative, or, plus, power, power, replaceAll, replaceAll, replacePart, replaceRepeated, replaceRepeated, replaceSlots, signum, times, topHead, variables2Slots
-
Methods inherited from interface edu.jas.structure.AbelianGroupElem
abs, isZERO, negate, subtract, sum
-
Methods inherited from interface edu.jas.structure.MonoidElem
divide, isONE, isUnit, remainder
-
-
-
-
Method Detail
-
getCondition
IExpr getCondition()
Get the additional pattern sequences condition expression- Returns:
- may return null;
-
isConditionMatchedSequence
boolean isConditionMatchedSequence(IAST sequence)
Returntrue, if all of the elements in thesequencefulfill the pattern sequences additional condition- Parameters:
sequence-- Returns:
-
isBlank
boolean isBlank()
Returntrue, if the expression is a blank sequence pattern- Returns:
-
isDefault
boolean isDefault()
Returntrue, if the expression is a pattern sequence with an associated default value,- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG