org.matheclipse.core.expression
Class F
- java.lang.Object
-
- org.matheclipse.core.expression.F
-
public class F extends java.lang.ObjectFactory for creating MathEclipse expression objects. See AddNewFunctions
-
-
Field Summary
-
Constructor Summary
Constructors Constructor and Description F()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static IAST$(IExpr head, IExpr... a)Create a new abstract syntax tree (AST).static IPattern$p(ISymbol symbol)Create a pattern for pattern-matching and term rewritingstatic IPattern$p(ISymbol symbol, boolean def)Create a pattern for pattern-matching and term rewritingstatic IPattern$p(ISymbol symbol, IExpr check)Create a pattern for pattern-matching and term rewritingstatic IPattern$p(ISymbol symbol, IExpr check, boolean def)Create a pattern for pattern-matching and term rewritingstatic IPattern$p(java.lang.String symbolName)Create a pattern for pattern-matching and term rewritingstatic IPattern$p(java.lang.String symbolName, boolean def)Create a pattern for pattern-matching and term rewritingstatic IPattern$p(java.lang.String symbolName, IExpr check)Create a pattern for pattern-matching and term rewritingstatic IPattern$p(java.lang.String symbolName, IExpr check, boolean def)Create a pattern for pattern-matching and term rewritingstatic IPatternSequence$ps(ISymbol symbol)Create a pattern for pattern-matching and term rewritingstatic IPatternSequence$ps(ISymbol symbol, IExpr check)Create a pattern for pattern-matching and term rewritingstatic IPatternSequence$ps(ISymbol symbol, IExpr check, boolean def)Create a pattern for pattern-matching and term rewritingstatic IPatternSequence$ps(java.lang.String symbolName)Create a pattern for pattern-matching and term rewritingstatic ISymbol$s(java.lang.String symbolName)Get a global symbol which is retrieved from the global symbols map or created or retrieved from the thread local variables map.static ISymbol$s(java.lang.String symbolName, boolean setEval)static IASTAbs(IExpr a0)static IExprand(java.math.BigInteger i, IExpr b)static IExprand(IExpr a, java.math.BigInteger i)static IASTAnd(IExpr a0, IExpr a1)static IExprand(IExpr a, java.lang.Integer i)static IExprand(java.lang.Integer i, IExpr b)static IASTApart(IExpr a0)static IASTApart(IExpr a0, IExpr a1)static IASTAppend(IExpr a0, IExpr a1)static IASTApply(IExpr a0, IExpr a1)static IASTArcCos(IExpr a0)static IASTArcCosh(IExpr a0)static IASTArcCot(IExpr a0)static IASTArcCoth(IExpr a0)static IASTArcCsc(IExpr a0)static IASTArcCsch(IExpr a0)static IASTArcSec(IExpr a0)static IASTArcSech(IExpr a0)static IASTArcSin(IExpr a0)static IASTArcSinh(IExpr a0)static IASTArcTan(IExpr a0)static IASTArcTan(IExpr a0, IExpr a1)static IASTArcTanh(IExpr a0)static IASTArg(IExpr a0)static IASTast(IAST f, IExpr head, boolean include, int first, int last)Creates a new AST from the givenastandhead.static IASTast(IExpr head)Create a new abstract syntax tree (AST).static IASTast(IExpr[] arr, IExpr head)Create a new abstract syntax tree (AST).static IASTast(IExpr head, int initialCapacity, boolean initNull)Create a new abstract syntax tree (AST).static IASTAtomQ(IExpr a)static IASTBernoulliB(IExpr a0)static IASTbinary(IExpr head, IExpr a0, IExpr a1)Create a function with 2 arguments without evaluation.static IASTBinomial(IExpr a0, IExpr a1)static IASTBlock(IExpr a0, IExpr a1)static ISymbolbool(boolean value)Gives symbols "True" or "False" (type ISymbol) depending on the boolean value.static IASTBreak()static IASTCancel(IExpr a)static IExprcast(java.lang.Object obj)Converts a given object into a MathEclipse IExpr expressionstatic IASTCatch(IExpr a)static IComplexCC(IFraction re)Create a symbolic complex numberstatic IComplexCC(IFraction re, IFraction im)Create a symbolic complex numberstatic IComplexCC(long real_numerator, long real_denominator, long imag_numerator, long imag_denominator)Create a symbolic complex numberstatic IASTCeiling(IExpr a0)static IASTChop(IExpr a0)static IASTClear(IExpr... a)static IASTCNInfinity()static IASTCoefficient(IExpr a0, IExpr a1, IExpr a2)static IASTCoefficientList(IExpr a0, IExpr a1)static IASTCollect(IExpr a0, IExpr a1)static intcompareTo(java.math.BigInteger i, IExpr b)static intcompareTo(IExpr a, java.math.BigInteger i)static intcompareTo(IExpr a, IExpr b)static intcompareTo(IExpr a, java.lang.Integer i)static intcompareTo(java.lang.Integer i, IExpr b)static IComplexcomplex(double realPart, double imagPart)Create a symbolic complex numberstatic IASTComplex(IExpr a0, IExpr a1)TODO: check if Complex is working in pattern matching?static IComplexcomplex(IFraction re)Create a symbolic complex numberstatic IComplexcomplex(IFraction re, IFraction im)Create a symbolic complex numberstatic IComplexcomplex(IInteger re, IInteger im)Create a symbolic complex numberstatic IComplexcomplex(long real_numerator, long real_denominator, long imag_numerator, long imag_denominator)Create a symbolic complex numberstatic IComplexNumcomplexNum(double r)Create a complex numeric number with imaginary part = 0.0static IComplexNumcomplexNum(double r, double i)Create a complex numeric valuestatic IComplexNumcomplexNum(IComplex obj)static IComplexNumcomplexNum(IFraction obj)static IComplexNumcomplexNum(IInteger obj)static IASTCompoundExpression(IExpr... a)static IASTCondition(IExpr a0, IExpr a1)static IASTConjugate(IExpr a0)static IASTContinue()static IASTCoprimeQ(IExpr a0, IExpr a1)static IASTCos(IExpr a0)static IASTCosh(IExpr a0)static IASTCot(IExpr a0)static IASTCoth(IExpr a0)static IASTCount(IExpr a0, IExpr a1, IExpr a2)static IASTCross(IExpr a0, IExpr a1)static IASTCsc(IExpr a0)static IASTCsch(IExpr a0)static IASTD()static IASTD(IExpr a0, IExpr a1)static IASTDecrement(IExpr a)static IASTDefer(IExpr a0)static IASTDelete(IExpr a0, IExpr a1)static IASTDeleteCases(IExpr... a)static IASTDenominator(IExpr a0)static IASTDepth(IExpr a0)static IASTDerivative(IExpr a0)static IASTDet(IExpr a0)static IASTDiscriminant(IExpr a0, IExpr a1)static IASTDistribute(IExpr a)static IASTDistribute(IExpr a0, IExpr a1)static IASTDistribute(IExpr a0, IExpr a1, IExpr a2)static IExprdiv(java.math.BigInteger i, IExpr b)static IExprdiv(IExpr a, java.math.BigInteger i)static IExprdiv(IExpr a, java.lang.Integer i)static IExprdiv(java.lang.Integer i, IExpr b)static IASTDivide(IExpr a0, IExpr a1)static IASTDo(IExpr a0, IExpr a1)static IASTDot(IExpr... a)static IASTDot(IExpr a0, IExpr a1)static IASTDrop(IExpr a0, IExpr a1)static IASTEqual(IExpr... a)static IASTEqual(IExpr a0, IExpr a1)static booleanequals(java.math.BigInteger i, IExpr b)static booleanequals(IExpr a, java.math.BigInteger i)static booleanequals(IExpr a, IExpr b)static booleanequals(IExpr a, java.lang.Integer i)static booleanequals(java.lang.Integer i, IExpr b)static IASTErf(IExpr a)static IExpreval(IExpr a)Evaluate an expression.static IExpreval(ISymbol head, IExpr a0)Create a function with 1 argument and evaluate it.static IExpreval(ISymbol head, IExpr a0, IExpr a1)Create a function with 2 arguments and evaluate it.static IExpreval(ISymbol head, IExpr a0, IExpr a1, IExpr a2)Create a function with 3 arguments and evaluate it.static IExprevalBlock(IExpr expr, ISymbol symbol, IExpr localValue)Evaluate an expression for a local variable.static IExprevalExpand(IExpr a)ApplyExpandAll[]to the given expression and evaluate it.static IExprevalExpandAll(IExpr a)ApplyExpandAll[]to the given expression and evaluate it.static IExprevaln(IExpr a0)Evaluate the given expression in numeric modestatic IExprevalNull(ISymbol head, IExpr a0)Create a function with 1 argument and evaluate it.static IExprevalNull(ISymbol head, IExpr a0, IExpr a1)Create a function with 2 arguments and evaluate it.static IExprevalNull(ISymbol head, IExpr a0, IExpr a1, IExpr a2)Create a function with 3 arguments and evaluate it.static booleanevalTrue(IExpr expr)Evaluate the given expression and test if the result equals the symbolTrue.static IASTEvenQ(IExpr a)static IASTExp(IExpr a0)static IASTExpand(IExpr a0)static IASTExpand(IExpr a0, IExpr a1)static IASTExpandAll(IExpr a0)static IASTExponent(IExpr a0, IExpr a1)static IASTExponent(IExpr a0, IExpr a1, IExpr a2)static IASTFactor(IExpr a0)static IASTFactorial(IExpr a0)static IASTFactorInteger(IExpr a0)static IASTFactorSquareFree(IExpr a)static IASTFactorSquareFreeList(IExpr a)static IASTFibonacci(IExpr a0)static IASTFirst(IExpr a0)static IASTFlatten(IExpr a0, IExpr a1)static IASTFloor(IExpr a0)static IFractionfraction(BigFraction value)Create a "fractional" numberstatic IFractionfraction(java.math.BigInteger numerator, java.math.BigInteger denominator)Create a "fractional" numberstatic IFractionfraction(double value)Create a "fractional" numberstatic IFractionfraction(IInteger numerator, IInteger denominator)Create a "fractional" numberstatic IFractionfraction(long numerator, long denominator)Create a "fractional" numberstatic IASTFractionalPart(IExpr a)static IASTFreeQ(IExpr a0, IExpr a1)static IASTFullForm(IExpr a0)static IASTFullSimplify(IExpr a)static IASTFunction(IExpr a0)static IASTGamma(IExpr a0)static IASTGamma(IExpr a0, IExpr a1)static IASTGCD(IExpr a0, IExpr a1)static NamespacegetNamespace()Get the namespacestatic IASTGraphics()static IASTGreater(IExpr a0, IExpr a1)static IASTGreaterEqual(IExpr a0, IExpr a1)static IASTHead(IExpr a)static IASTHold(IExpr a0)static IASTIf(IExpr a0, IExpr a1)static IASTIf(IExpr a0, IExpr a1, IExpr a2)static IASTIm(IExpr a0)static IASTIncrement(IExpr a)static ISymbolinitFinalSymbol(java.lang.String symbolName)Convert the symbolName to lowercase (ifConfig.PARSER_USE_LOWERCASE_SYMBOLSis set) and insert a new Symbol in thePREDEFINED_SYMBOLS_MAP.static voidinitSymbols()Initialize the complete System.static voidinitSymbols(java.lang.String fileName, ISymbolObserver symbolObserver, boolean noPackageLoading)Initialize the complete Systemstatic IASTInsert(IExpr a0, IExpr a1, IExpr a2)static IIntegerinteger(java.math.BigInteger integerValue)Create a large integer number.static IIntegerinteger(long integerValue)Create a large integer number.static IIntegerinteger(java.lang.String integerString, int numberFormat)Create a large integer number.static IASTIntegerPart(IExpr a0)static IASTIntegerQ(IExpr a)static IASTIntegrate(IExpr a0, IExpr a1)static IASTInverse(IExpr a0)static IASTInverseErf(IExpr a0)static IASTInverseFunction(IExpr a)static booleanisNumEqualInteger(double value, IInteger ii)After a successfulisCase()the symbols associated with the patterns contain the matched values on the local stack.static booleanisNumIntValue(double value)static booleanisNumIntValue(double value, double epsilon)static booleanisNumIntValue(double value, int i)static booleanisZero(double value)Test if the absolute value is lessConfig.DOUBLE_EPSILON.static booleanisZero(double value, double epsilon)Test if the absolute value is less than the given epsilon.static IASTJoin(IExpr a0, IExpr a1)static IASTLast(IExpr a0)static IASTLCM(IExpr a0, IExpr a1)static IASTLeafCount(IExpr a0)static IASTLength(IExpr a)static IASTLess(IExpr a0, IExpr a1)static IASTLessEqual(IExpr a0, IExpr a1)static IASTLimit(IExpr a0, IExpr a1)static IASTLine()static IASTLinearSolve(IExpr a0, IExpr a1)static IASTList()static IASTList(double... numbers)static IASTList(IExpr... a)static IASTList(IExpr a0)static IASTList(IExpr a0, IExpr a1)static IASTList(long... numbers)static ISymbollocal(java.lang.String symbolName)Create a local symbol which is created or retrieved from the eval engines thread local variables map and push anullvalue on the local stack;static ISymbollocal(java.lang.String symbolName, IExpr value)Create a local symbol which is created or retrieved from the eval engines thread local variables map and push a value on the local stack;static IASTLog(IExpr a0)static IASTMap(IExpr a0)static IASTMap(IExpr a0, IExpr a1)static IASTMapAll(IExpr a0)static IASTMatchQ(IExpr a0, IExpr a1)static IASTMatrixPower(IExpr a0)static IASTMax()static IASTMax(IExpr a0)static IASTMax(IExpr a0, IExpr a1)static IASTMemberQ(IExpr a0, IExpr a1)static ISymbolmethod(java.lang.String symbolName, java.lang.String className, java.lang.String methodName)static ISymbolmethod(java.lang.String symbolName, java.lang.String packageName, java.lang.String className, java.lang.String methodName)static IASTMin()static IASTMin(IExpr a0)static IASTMin(IExpr a0, IExpr a1)static IExprminus(java.math.BigInteger i, IExpr b)static IExprminus(IExpr a, java.math.BigInteger i)static IExprminus(IExpr a, java.lang.Integer i)static IExprminus(java.lang.Integer i, IExpr b)static IExprmod(java.math.BigInteger i, IExpr b)static IExprmod(IExpr a, java.math.BigInteger i)static IExprMod(IExpr a0, IExpr a1)static IExprmod(IExpr a, java.lang.Integer i)static IExprmod(java.lang.Integer i, IExpr b)static IASTModule(IExpr a0, IExpr a1)static IExprmultiply(java.math.BigInteger i, IExpr b)static IExprmultiply(IExpr a, java.math.BigInteger i)static IExprmultiply(IExpr a, java.lang.Integer i)static IExprmultiply(java.lang.Integer i, IExpr b)static IASTN(IExpr a0)Evaluate the given expression in numeric modestatic IASTNegate(IExpr a)Multiplies the given argument by-1.static IASTNegative(IExpr a0)static IASTnewInstance(int intialArgumentsCapacity, IExpr head)Create a new abstract syntax tree (AST).static IASTNot(IExpr a)static INumnum(double d)Create a numeric valuestatic INumnum(IFraction obj)static INumnum(IInteger obj)static INumnum(java.lang.String doubleString)Create a numeric valuestatic IASTNumberQ(IExpr a0)static IASTNumerator(IExpr a0)static IASTNumericQ(IExpr a0)static IASTOddQ(IExpr a)static IASTOptions(IExpr a0)static IExpror(java.math.BigInteger i, IExpr b)static IExpror(IExpr a, java.math.BigInteger i)static IASTOr(IExpr a0, IExpr a1)static IExpror(IExpr a, java.lang.Integer i)static IExpror(java.lang.Integer i, IExpr b)static IASTOrder(IExpr a0, IExpr a1)static IASTOrderedQ(IExpr a)static IASTPart()static IASTPart(IExpr... a)static IASTPlus()static IExprplus(java.math.BigInteger i, IExpr b)static IASTPlus(IExpr... a)static IASTPlus(IExpr a0)static IExprplus(IExpr a, java.math.BigInteger i)static IASTPlus(IExpr a0, IExpr a1)static IExprplus(IExpr a, java.lang.Integer i)static IExprplus(java.lang.Integer i, IExpr b)static IASTPolynomialQ(IExpr a0, IExpr a1)static IASTPolynomialQuotient(IExpr a0, IExpr a1, IExpr a2)static IASTPolynomialRemainder(IExpr a0, IExpr a1, IExpr a2)static voidpopLocal(ISymbol temp)Pop the current top value from the symbols local variable stack.static IASTPositive(IExpr a0)static IASTPossibleZeroQ(IExpr a0)static IASTPower()static IASTPower(IExpr a0, IExpr a1)static IASTPower(IExpr a0, long exp)static IASTPowerExpand(IExpr a0)static ISymbolpredefinedSymbol(java.lang.String symbolName)Create a "predefined" symbol for constants or function names.static IASTPrepend(IExpr a0, IExpr a1)static IASTPrimeQ(IExpr a0)static IASTPrint(IExpr... a)static IASTProduct(IExpr a0, IExpr a1)static IFractionQQ(IInteger numerator, IInteger denominator)Create a "fractional" numberstatic IFractionQQ(long numerator, long denominator)Create a "fractional" numberstatic IASTquaternary(IExpr head, IExpr a0, IExpr a1, IExpr a2, IExpr a3)static IASTQuiet(IExpr a0)static IASTquinary(IExpr head, IExpr a0, IExpr a1, IExpr a2, IExpr a3, IExpr a4)static IASTQuotient(IExpr a0, IExpr a1)static IASTRational(IExpr a0, IExpr a1)static IASTRe(IExpr a0)static IASTReap(IExpr a)static IASTReplaceAll(IExpr a0, IExpr a1)static IASTReplacePart(IExpr a0, IExpr a1)static IASTReplacePart(IExpr a0, IExpr a1, IExpr a2)TODO: check if this function is necessary ???static IASTRest(IExpr a0)static IASTReturn(IExpr a)static IASTReverse(IExpr a)static IASTRoots(IExpr a0)static IASTRound(IExpr a0)static IASTRule(IExpr a0, IExpr a1)static IASTRuleDelayed(IExpr a0, IExpr a1)static IASTSameQ(IExpr a0, IExpr a1)static IASTScan(IExpr a0, IExpr a1)static IASTSec(IExpr a0)static IASTSech(IExpr a0)static IASTSelect(IExpr a0, IExpr a1, IExpr a2)static IASTsenary(IExpr head, IExpr a0, IExpr a1, IExpr a2, IExpr a3, IExpr a4, IExpr a5)static IASTSequence()static IASTSequence(IExpr... a)static IASTSequence(IExpr a0)static IASTSet(IExpr a0, IExpr a1)static IASTSetAttributes(IExpr a0)static IASTSetAttributes(IExpr a0, IExpr a1)static IASTSetDelayed(IExpr a0, IExpr a1)static IASTShow(IExpr a0)static IASTSign(IExpr a)static IASTSignCmp(IExpr a0)static IASTSimplify(IExpr a0)static IASTSin(IExpr a0)static IASTSinh(IExpr a0)static IASTSlot(IExpr a0)static IASTSlot(int i)static IASTSort(IExpr a0, IExpr a1)static IASTSow(IExpr a)static IASTSqr(IExpr a0)static IASTSqrt(IExpr a0)static IASTStringJoin(IExpr a)static IStringXstringx(java.lang.String str)Create a string expressionstatic IStringXstringx(java.lang.StringBuffer str)Create a string expressionstatic IExprsubst(IExpr expr, Function<IExpr,IExpr> function)Substitute all (sub-) expressions with the given unary function.static IExprsubst(IExpr expr, IAST astRules)Substitute all (sub-) expressions with the given rule set.static IASTSubtract(IExpr a0, IExpr a1)static IASTSum(IExpr a0, IExpr a1)static IASTSurfaceGraphics()static IASTTake(IExpr a0, IExpr a1)static IASTTan(IExpr a0)static IASTTanh(IExpr a0)static IASTTaylor(IExpr a0, IExpr a1)static IASTternary(IExpr head, IExpr a0, IExpr a1, IExpr a2)static IASTThrow(IExpr a)static IASTTimeConstrained(IExpr a0, IExpr a1)static IASTTimeConstrained(IExpr a0, IExpr a1, IExpr a2)static IASTTimes()static IASTTimes(IExpr... a)static IASTTimes(IExpr a0)static IASTTimes(IExpr a0, IExpr a1)static IASTTogether(IExpr a0)static IASTTr(IExpr a0)static IASTTrace(IExpr a0)static IASTTranspose(IExpr a0)static IASTTrigExpand(IExpr a0)static IASTTrigReduce(IExpr v)static IASTTrigToExp(IExpr a0)static IASTunary(IExpr head, IExpr a0)Create a function with 1 argument without evaluation.static IASTUnequal(IExpr a0, IExpr a1)static IASTUnevaluated(IExpr a0)static IASTUnique(IExpr a0)static IASTUnsameQ(IExpr a0, IExpr a1)static IASTUpSet(IExpr a0, IExpr a1)static IASTUpSetDelayed(IExpr a0, IExpr a1)static IASTWhile(IExpr a0, IExpr a1)static IIntegerZZ(java.math.BigInteger integerValue)Create a large integer number.static IIntegerZZ(long integerValue)Create a large integer number.
-
-
-
Field Detail
-
isSystemStarted
public static boolean isSystemStarted
Set totrueat the start of initSymbols() method
-
isSystemInitialized
public static boolean isSystemInitialized
Set totrueat the end of initSymbols() method
-
PREDEFINED_INTERNAL_FORM_STRINGS
public static final java.util.Map<java.lang.String,java.lang.String> PREDEFINED_INTERNAL_FORM_STRINGS
The map for predefined strings for theIExpr.internalFormString(boolean, int)method.
-
PREDEFINED_PATTERN_MAP
public static final java.util.Map<java.lang.String,IPattern> PREDEFINED_PATTERN_MAP
-
PREDEFINED_SYMBOLS_MAP
public static final java.util.Map<java.lang.String,ISymbol> PREDEFINED_SYMBOLS_MAP
The map for predefined symbols
-
SYMBOL_OBSERVER
public static ISymbolObserver SYMBOL_OBSERVER
-
Catalan
public static final ISymbol Catalan
-
ComplexInfinity
public static final ISymbol ComplexInfinity
-
Degree
public static final ISymbol Degree
-
E
public static final ISymbol E
-
EulerGamma
public static final ISymbol EulerGamma
-
Glaisher
public static final ISymbol Glaisher
-
GoldenRatio
public static final ISymbol GoldenRatio
-
I
public static final ISymbol I
-
Infinity
public static final ISymbol Infinity
-
Khinchin
public static final ISymbol Khinchin
-
Pi
public static final ISymbol Pi
-
IntegerHead
public static final ISymbol IntegerHead
-
SymbolHead
public static final ISymbol SymbolHead
-
RealHead
public static final ISymbol RealHead
-
PatternHead
public static final ISymbol PatternHead
-
BlankHead
public static final ISymbol BlankHead
-
StringHead
public static final ISymbol StringHead
-
MethodHead
public static final ISymbol MethodHead
-
False
public static final ISymbol False
-
List
public static final ISymbol List
-
True
public static final ISymbol True
-
Null
public static final ISymbol Null
-
Second
public static final ISymbol Second
-
Indeterminate
public static final ISymbol Indeterminate
-
DirectedInfinity
public static final ISymbol DirectedInfinity
-
Listable
public static final ISymbol Listable
-
Constant
public static final ISymbol Constant
-
NumericFunction
public static final ISymbol NumericFunction
-
Orderless
public static final ISymbol Orderless
-
OneIdentity
public static final ISymbol OneIdentity
-
Flat
public static final ISymbol Flat
-
HoldFirst
public static final ISymbol HoldFirst
-
HoldRest
public static final ISymbol HoldRest
-
HoldAll
public static final ISymbol HoldAll
-
NHoldFirst
public static final ISymbol NHoldFirst
-
NHoldRest
public static final ISymbol NHoldRest
-
NHoldAll
public static final ISymbol NHoldAll
-
Line
public static final ISymbol Line
-
BoxRatios
public static final ISymbol BoxRatios
-
MeshRange
public static final ISymbol MeshRange
-
PlotRange
public static final ISymbol PlotRange
-
AxesStyle
public static final ISymbol AxesStyle
-
Automatic
public static final ISymbol Automatic
-
AxesOrigin
public static final ISymbol AxesOrigin
-
Axes
public static final ISymbol Axes
-
Background
public static final ISymbol Background
-
White
public static final ISymbol White
-
Slot
public static final ISymbol Slot
-
SlotSequence
public static final ISymbol SlotSequence
-
Options
public static final ISymbol Options
-
Graphics
public static final ISymbol Graphics
-
Graphics3D
public static final ISymbol Graphics3D
-
Show
public static final ISymbol Show
-
SurfaceGraphics
public static final ISymbol SurfaceGraphics
-
ArcCosh
public static final ISymbol ArcCosh
-
ArcCoth
public static final ISymbol ArcCoth
-
ArcCsc
public static final ISymbol ArcCsc
-
ArcCsch
public static final ISymbol ArcCsch
-
ArcSec
public static final ISymbol ArcSec
-
ArcSech
public static final ISymbol ArcSech
-
ArcSinh
public static final ISymbol ArcSinh
-
ArcTanh
public static final ISymbol ArcTanh
-
Plot
public static final ISymbol Plot
-
Plot3D
public static final ISymbol Plot3D
-
RootOf
public static final ISymbol RootOf
-
Sequence
public static final ISymbol Sequence
-
Append
public static final ISymbol Append
-
AppendTo
public static final ISymbol AppendTo
-
Apply
public static final ISymbol Apply
-
Attributes
public static final ISymbol Attributes
-
Array
public static final ISymbol Array
-
AtomQ
public static final ISymbol AtomQ
-
Blank
public static final ISymbol Blank
-
Block
public static final ISymbol Block
-
Break
public static final ISymbol Break
-
Cases
public static final ISymbol Cases
-
Catch
public static final ISymbol Catch
-
Clear
public static final ISymbol Clear
-
ClearAll
public static final ISymbol ClearAll
-
Condition
public static final ISymbol Condition
-
Continue
public static final ISymbol Continue
-
Defer
public static final ISymbol Defer
-
Definition
public static final ISymbol Definition
-
Delete
public static final ISymbol Delete
-
DeleteCases
public static final ISymbol DeleteCases
-
Depth
public static final ISymbol Depth
-
Drop
public static final ISymbol Drop
-
Do
public static final ISymbol Do
-
First
public static final ISymbol First
-
FixedPoint
public static final ISymbol FixedPoint
-
Flatten
public static final ISymbol Flatten
-
Fold
public static final ISymbol Fold
-
FoldList
public static final ISymbol FoldList
-
For
public static final ISymbol For
-
FreeQ
public static final ISymbol FreeQ
-
FullForm
public static final ISymbol FullForm
-
Head
public static final ISymbol Head
-
If
public static final ISymbol If
-
Insert
public static final ISymbol Insert
-
JavaForm
public static final ISymbol JavaForm
-
Last
public static final ISymbol Last
-
LeafCount
public static final ISymbol LeafCount
-
Length
public static final ISymbol Length
-
MemberQ
public static final ISymbol MemberQ
-
Module
public static final ISymbol Module
-
N
public static final ISymbol N
-
Nest
public static final ISymbol Nest
-
NestList
public static final ISymbol NestList
-
NestWhile
public static final ISymbol NestWhile
-
NestWhileList
public static final ISymbol NestWhileList
-
NumberQ
public static final ISymbol NumberQ
-
NumericQ
public static final ISymbol NumericQ
-
Position
public static final ISymbol Position
-
Prepend
public static final ISymbol Prepend
-
PrependTo
public static final ISymbol PrependTo
-
Print
public static final ISymbol Print
-
Quiet
public static final ISymbol Quiet
-
Reap
public static final ISymbol Reap
-
Rest
public static final ISymbol Rest
-
Return
public static final ISymbol Return
-
Riffle
public static final ISymbol Riffle
-
RotateLeft
public static final ISymbol RotateLeft
-
RotateRight
public static final ISymbol RotateRight
-
SetAttributes
public static final ISymbol SetAttributes
-
Sow
public static final ISymbol Sow
-
Switch
public static final ISymbol Switch
-
TimeConstrained
public static final ISymbol TimeConstrained
-
Throw
public static final ISymbol Throw
-
Unevaluated
public static final ISymbol Unevaluated
-
Unique
public static final ISymbol Unique
-
ValueQ
public static final ISymbol ValueQ
-
Which
public static final ISymbol Which
-
While
public static final ISymbol While
-
Abs
public static final ISymbol Abs
-
AddTo
public static final ISymbol AddTo
-
And
public static final ISymbol And
-
Apart
public static final ISymbol Apart
-
ArcCos
public static final ISymbol ArcCos
-
ArcCot
public static final ISymbol ArcCot
-
ArcSin
public static final ISymbol ArcSin
-
ArcTan
public static final ISymbol ArcTan
-
Arg
public static final ISymbol Arg
-
Binomial
public static final ISymbol Binomial
-
Boole
public static final ISymbol Boole
-
BooleanMinimize
public static final ISymbol BooleanMinimize
-
Cancel
public static final ISymbol Cancel
-
CartesianProduct
public static final ISymbol CartesianProduct
-
CatalanNumber
public static final ISymbol CatalanNumber
-
Ceiling
public static final ISymbol Ceiling
-
CharacteristicPolynomial
public static final ISymbol CharacteristicPolynomial
-
ChessboardDistance
public static final ISymbol ChessboardDistance
-
Chop
public static final ISymbol Chop
-
Coefficient
public static final ISymbol Coefficient
-
CoefficientList
public static final ISymbol CoefficientList
-
Collect
public static final ISymbol Collect
-
Complement
public static final ISymbol Complement
-
Complex
public static final ISymbol Complex
-
ComposeList
public static final ISymbol ComposeList
-
CompoundExpression
public static final ISymbol CompoundExpression
-
Conjugate
public static final ISymbol Conjugate
-
ConjugateTranspose
public static final ISymbol ConjugateTranspose
-
ConstantArray
public static final ISymbol ConstantArray
-
ContinuedFraction
public static final ISymbol ContinuedFraction
-
CoprimeQ
public static final ISymbol CoprimeQ
-
Cos
public static final ISymbol Cos
-
Cosh
public static final ISymbol Cosh
-
Cot
public static final ISymbol Cot
-
Coth
public static final ISymbol Coth
-
Count
public static final ISymbol Count
-
Cross
public static final ISymbol Cross
-
Csc
public static final ISymbol Csc
-
Csch
public static final ISymbol Csch
-
Curl
public static final ISymbol Curl
-
D
public static final ISymbol D
-
Decrement
public static final ISymbol Decrement
-
Default
public static final ISymbol Default
-
Denominator
public static final ISymbol Denominator
-
Derivative
public static final ISymbol Derivative
-
Det
public static final ISymbol Det
-
DiagonalMatrix
public static final ISymbol DiagonalMatrix
-
DigitQ
public static final ISymbol DigitQ
-
Dimensions
public static final ISymbol Dimensions
-
Discriminant
public static final ISymbol Discriminant
-
Distribute
public static final ISymbol Distribute
-
Divergence
public static final ISymbol Divergence
-
DivideBy
public static final ISymbol DivideBy
-
Dot
public static final ISymbol Dot
-
Eigenvalues
public static final ISymbol Eigenvalues
-
Eigenvectors
public static final ISymbol Eigenvectors
-
Equal
public static final ISymbol Equal
-
Erf
public static final ISymbol Erf
-
EuclidianDistance
public static final ISymbol EuclidianDistance
-
EulerPhi
public static final ISymbol EulerPhi
-
EvenQ
public static final ISymbol EvenQ
-
Exp
public static final ISymbol Exp
-
Expand
public static final ISymbol Expand
-
ExpandAll
public static final ISymbol ExpandAll
-
Exponent
public static final ISymbol Exponent
-
ExtendedGCD
public static final ISymbol ExtendedGCD
-
Extract
public static final ISymbol Extract
-
Factor
public static final ISymbol Factor
-
Factorial
public static final ISymbol Factorial
-
Factorial2
public static final ISymbol Factorial2
-
FactorInteger
public static final ISymbol FactorInteger
-
FactorSquareFree
public static final ISymbol FactorSquareFree
-
FactorSquareFreeList
public static final ISymbol FactorSquareFreeList
-
FactorTerms
public static final ISymbol FactorTerms
-
Fibonacci
public static final ISymbol Fibonacci
-
FindRoot
public static final ISymbol FindRoot
-
Fit
public static final ISymbol Fit
-
Floor
public static final ISymbol Floor
-
FractionalPart
public static final ISymbol FractionalPart
-
FrobeniusSolve
public static final ISymbol FrobeniusSolve
-
FromCharacterCode
public static final ISymbol FromCharacterCode
-
FromContinuedFraction
public static final ISymbol FromContinuedFraction
-
FullSimplify
public static final ISymbol FullSimplify
-
Function
public static final ISymbol Function
-
Gamma
public static final ISymbol Gamma
-
GCD
public static final ISymbol GCD
-
GeometricMean
public static final ISymbol GeometricMean
-
Greater
public static final ISymbol Greater
-
GreaterEqual
public static final ISymbol GreaterEqual
-
GroebnerBasis
public static final ISymbol GroebnerBasis
-
HarmonicNumber
public static final ISymbol HarmonicNumber
-
HilbertMatrix
public static final ISymbol HilbertMatrix
-
Hold
public static final ISymbol Hold
-
Horner
public static final ISymbol Horner
-
IdentityMatrix
public static final ISymbol IdentityMatrix
-
Im
public static final ISymbol Im
-
Increment
public static final ISymbol Increment
-
Inner
public static final ISymbol Inner
-
IntegerPart
public static final ISymbol IntegerPart
-
IntegerPartitions
public static final ISymbol IntegerPartitions
-
IntegerQ
public static final ISymbol IntegerQ
-
Integrate
public static final ISymbol Integrate
-
Intersection
public static final ISymbol Intersection
-
Inverse
public static final ISymbol Inverse
-
InverseErf
public static final ISymbol InverseErf
-
InverseFunction
public static final ISymbol InverseFunction
-
JacobiMatrix
public static final ISymbol JacobiMatrix
-
JacobiSymbol
public static final ISymbol JacobiSymbol
-
Join
public static final ISymbol Join
-
KOrderlessPartitions
public static final ISymbol KOrderlessPartitions
-
KPartitions
public static final ISymbol KPartitions
-
LCM
public static final ISymbol LCM
-
Less
public static final ISymbol Less
-
LessEqual
public static final ISymbol LessEqual
-
LetterQ
public static final ISymbol LetterQ
-
Level
public static final ISymbol Level
-
Limit
public static final ISymbol Limit
-
LinearProgramming
public static final ISymbol LinearProgramming
-
LinearSolve
public static final ISymbol LinearSolve
-
Log
public static final ISymbol Log
-
LowerCaseQ
public static final ISymbol LowerCaseQ
-
LUDecomposition
public static final ISymbol LUDecomposition
-
ManhattanDistance
public static final ISymbol ManhattanDistance
-
Map
public static final ISymbol Map
-
MapAll
public static final ISymbol MapAll
-
MapThread
public static final ISymbol MapThread
-
MatchQ
public static final ISymbol MatchQ
-
MatrixPower
public static final ISymbol MatrixPower
-
MatrixQ
public static final ISymbol MatrixQ
-
Max
public static final ISymbol Max
-
Mean
public static final ISymbol Mean
-
Median
public static final ISymbol Median
-
Min
public static final ISymbol Min
-
Mod
public static final ISymbol Mod
-
MoebiusMu
public static final ISymbol MoebiusMu
-
Most
public static final ISymbol Most
-
Multinomial
public static final ISymbol Multinomial
-
Negative
public static final ISymbol Negative
-
NextPrime
public static final ISymbol NextPrime
-
NFourierTransform
public static final ISymbol NFourierTransform
-
NIntegrate
public static final ISymbol NIntegrate
-
NonCommutativeMultiply
public static final ISymbol NonCommutativeMultiply
-
NonNegative
public static final ISymbol NonNegative
-
Norm
public static final ISymbol Norm
-
Not
public static final ISymbol Not
-
NRoots
public static final ISymbol NRoots
-
NSolve
public static final ISymbol NSolve
-
Numerator
public static final ISymbol Numerator
-
OddQ
public static final ISymbol OddQ
-
Or
public static final ISymbol Or
-
Order
public static final ISymbol Order
-
OrderedQ
public static final ISymbol OrderedQ
-
Out
public static final ISymbol Out
-
Outer
public static final ISymbol Outer
-
Package
public static final ISymbol Package
-
PadLeft
public static final ISymbol PadLeft
-
PadRight
public static final ISymbol PadRight
-
Part
public static final ISymbol Part
-
Partition
public static final ISymbol Partition
-
Pattern
public static final ISymbol Pattern
-
Permutations
public static final ISymbol Permutations
-
Plus
public static final ISymbol Plus
-
PolynomialExtendedGCD
public static final ISymbol PolynomialExtendedGCD
-
PolynomialGCD
public static final ISymbol PolynomialGCD
-
PolynomialLCM
public static final ISymbol PolynomialLCM
-
PolynomialQ
public static final ISymbol PolynomialQ
-
PolynomialQuotient
public static final ISymbol PolynomialQuotient
-
PolynomialQuotientRemainder
public static final ISymbol PolynomialQuotientRemainder
-
PolynomialRemainder
public static final ISymbol PolynomialRemainder
-
Positive
public static final ISymbol Positive
-
PossibleZeroQ
public static final ISymbol PossibleZeroQ
-
Power
public static final ISymbol Power
-
PowerExpand
public static final ISymbol PowerExpand
-
PowerMod
public static final ISymbol PowerMod
-
PreDecrement
public static final ISymbol PreDecrement
-
PreIncrement
public static final ISymbol PreIncrement
-
PrimeQ
public static final ISymbol PrimeQ
-
PrimitiveRoots
public static final ISymbol PrimitiveRoots
-
Product
public static final ISymbol Product
-
Quotient
public static final ISymbol Quotient
-
RandomInteger
public static final ISymbol RandomInteger
-
RandomReal
public static final ISymbol RandomReal
-
Range
public static final ISymbol Range
-
Rational
public static final ISymbol Rational
-
Rationalize
public static final ISymbol Rationalize
-
Re
public static final ISymbol Re
-
ReplaceAll
public static final ISymbol ReplaceAll
-
ReplacePart
public static final ISymbol ReplacePart
-
ReplaceRepeated
public static final ISymbol ReplaceRepeated
-
Resultant
public static final ISymbol Resultant
-
Reverse
public static final ISymbol Reverse
-
RootIntervals
public static final ISymbol RootIntervals
-
Roots
public static final ISymbol Roots
-
Round
public static final ISymbol Round
-
Rule
public static final ISymbol Rule
-
RuleDelayed
public static final ISymbol RuleDelayed
-
SameQ
public static final ISymbol SameQ
-
Scan
public static final ISymbol Scan
-
Sec
public static final ISymbol Sec
-
Sech
public static final ISymbol Sech
-
Select
public static final ISymbol Select
-
Set
public static final ISymbol Set
-
SetDelayed
public static final ISymbol SetDelayed
-
Sign
public static final ISymbol Sign
-
SignCmp
public static final ISymbol SignCmp
-
Simplify
public static final ISymbol Simplify
-
Sin
public static final ISymbol Sin
-
SingularValueDecomposition
public static final ISymbol SingularValueDecomposition
-
Sinh
public static final ISymbol Sinh
-
Solve
public static final ISymbol Solve
-
Sort
public static final ISymbol Sort
-
Sqrt
public static final ISymbol Sqrt
-
SquaredEuclidianDistance
public static final ISymbol SquaredEuclidianDistance
-
SquareFreeQ
public static final ISymbol SquareFreeQ
-
StirlingS2
public static final ISymbol StirlingS2
-
StringDrop
public static final ISymbol StringDrop
-
StringJoin
public static final ISymbol StringJoin
-
StringLength
public static final ISymbol StringLength
-
StringTake
public static final ISymbol StringTake
-
Subsets
public static final ISymbol Subsets
-
SubtractFrom
public static final ISymbol SubtractFrom
-
Sum
public static final ISymbol Sum
-
SyntaxLength
public static final ISymbol SyntaxLength
-
SyntaxQ
public static final ISymbol SyntaxQ
-
Table
public static final ISymbol Table
-
Take
public static final ISymbol Take
-
Tan
public static final ISymbol Tan
-
Tanh
public static final ISymbol Tanh
-
Taylor
public static final ISymbol Taylor
-
Thread
public static final ISymbol Thread
-
Through
public static final ISymbol Through
-
Times
public static final ISymbol Times
-
TimesBy
public static final ISymbol TimesBy
-
Timing
public static final ISymbol Timing
-
ToCharacterCode
public static final ISymbol ToCharacterCode
-
Together
public static final ISymbol Together
-
ToString
public static final ISymbol ToString
-
Total
public static final ISymbol Total
-
ToUnicode
public static final ISymbol ToUnicode
-
Tr
public static final ISymbol Tr
-
Trace
public static final ISymbol Trace
-
Transpose
public static final ISymbol Transpose
-
TrigExpand
public static final ISymbol TrigExpand
-
TrigReduce
public static final ISymbol TrigReduce
-
TrigToExp
public static final ISymbol TrigToExp
-
TrueQ
public static final ISymbol TrueQ
-
Unequal
public static final ISymbol Unequal
-
Union
public static final ISymbol Union
-
UnitStep
public static final ISymbol UnitStep
-
UnsameQ
public static final ISymbol UnsameQ
-
UpperCaseQ
public static final ISymbol UpperCaseQ
-
UpSet
public static final ISymbol UpSet
-
UpSetDelayed
public static final ISymbol UpSetDelayed
-
VandermondeMatrix
public static final ISymbol VandermondeMatrix
-
Variables
public static final ISymbol Variables
-
VectorQ
public static final ISymbol VectorQ
-
a
public static final ISymbol a
-
b
public static final ISymbol b
-
c
public static final ISymbol c
-
d
public static final ISymbol d
-
e
public static final ISymbol e
-
f
public static final ISymbol f
-
g
public static final ISymbol g
-
h
public static final ISymbol h
-
i
public static final ISymbol i
-
j
public static final ISymbol j
-
k
public static final ISymbol k
-
l
public static final ISymbol l
-
m
public static final ISymbol m
-
n
public static final ISymbol n
-
o
public static final ISymbol o
-
p
public static final ISymbol p
-
q
public static final ISymbol q
-
r
public static final ISymbol r
-
s
public static final ISymbol s
-
t
public static final ISymbol t
-
u
public static final ISymbol u
-
v
public static final ISymbol v
-
w
public static final ISymbol w
-
x
public static final ISymbol x
-
y
public static final ISymbol y
-
z
public static final ISymbol z
-
C0
public static final IInteger C0
* Constant integer "0"
-
C1
public static final IInteger C1
Constant integer "1"
-
C2
public static final IInteger C2
Constant integer "2"
-
C3
public static final IInteger C3
Constant integer "3"
-
C4
public static final IInteger C4
Constant integer "4"
-
C5
public static final IInteger C5
Constant integer "5"
-
CI
public static final IComplex CI
Complex imaginary unit. The parsed symbol "I" is converted on input to this constant.
-
CNI
public static final IComplex CNI
Complex negative imaginary unit.
-
C1D2
public static final IFraction C1D2
Constant fraction "1/2"
-
CN1D2
public static final IFraction CN1D2
Constant fraction "-1/2"
-
C1D3
public static final IFraction C1D3
Constant fraction "1/3"
-
CN1D3
public static final IFraction CN1D3
Constant fraction "-1/3"
-
C1D4
public static final IFraction C1D4
Constant fraction "1/4"
-
CN1D4
public static final IFraction CN1D4
Constant fraction "-1/4"
-
CD0
public static final INum CD0
Constant double "0.0"
-
CD1
public static final INum CD1
Constant double "1.0"
-
CInfinity
public static IAST CInfinity
RepresentsInfinity(i.e.Infinity->DirectedInfinity[1])
-
CNInfinity
public static IAST CNInfinity
Represents-Infinity(i.e.-Infinity->DirectedInfinity[-1])
-
CComplexInfinity
public static IAST CComplexInfinity
RepresentsComplexInfinity(i.e.ComplexInfinity->DirectedInfinity[)
-
Slot1
public static IAST Slot1
Represents#1
-
Slot2
public static IAST Slot2
Represents#2
-
CN1
public static final IInteger CN1
Constant integer "-1"
-
CN2
public static final IInteger CN2
Constant integer "-2"
-
CN3
public static final IInteger CN3
Constant integer "-3"
-
CN4
public static final IInteger CN4
Constant integer "-4"
-
CN5
public static final IInteger CN5
Constant integer "-5"
-
-
Method Detail
-
$
public static final IAST $(IExpr head, IExpr... a)
Create a new abstract syntax tree (AST).- Parameters:
head- the header expression of the function. If the ast represents a function likef[x,y], Sin[x],..., theheadwill be an instance of type ISymbol.a-- Returns:
-
$p
public static IPattern $p(ISymbol symbol)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbol-- Returns:
- IPattern
-
$p
public static IPattern $p(ISymbol symbol, boolean def)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbolName-check- additional condition which should be checked in pattern-matchingdef- use a default value for this pattern if necessary- Returns:
- IPattern
-
$p
public static IPattern $p(ISymbol symbol, IExpr check)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbol-check- additional condition which should be checked in pattern-matching- Returns:
- IPattern
-
$p
public static IPattern $p(ISymbol symbol, IExpr check, boolean def)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbol-check- additional condition which should be checked in pattern-matchingdef- iftrue, the pattern can match to a default value associated with the AST's head the pattern is used in.- Returns:
- IPattern
-
$p
public static IPattern $p(java.lang.String symbolName)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbolName-- Returns:
- IPattern
-
$p
public static IPattern $p(java.lang.String symbolName, boolean def)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbolName-check- additional condition which should be checked in pattern-matchingdef- use a default value for this pattern if necessary- Returns:
- IPattern
-
$p
public static IPattern $p(java.lang.String symbolName, IExpr check)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbolName-check- additional condition which should be checked in pattern-matching- Returns:
- IPattern
-
$p
public static IPattern $p(java.lang.String symbolName, IExpr check, boolean def)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbolName-check- additional condition which should be checked in pattern-matchingdef- use a default value for this pattern if necessary- Returns:
- IPattern
-
$ps
public static IPatternSequence $ps(ISymbol symbol)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbol-- Returns:
- IPattern
-
$ps
public static IPatternSequence $ps(ISymbol symbol, IExpr check)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbol-check- additional condition which should be checked in pattern-matching- Returns:
- IPattern
-
$ps
public static IPatternSequence $ps(ISymbol symbol, IExpr check, boolean def)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbol-check- additional condition which should be checked in pattern-matchingdef- iftrue, the pattern can match to a default value associated with the AST's head the pattern is used in.- Returns:
- IPattern
-
$ps
public static IPatternSequence $ps(java.lang.String symbolName)
Create a pattern for pattern-matching and term rewriting- Parameters:
symbolName- the name of the pattrn symbol- Returns:
- IPattern
-
$s
public static ISymbol $s(java.lang.String symbolName)
Get a global symbol which is retrieved from the global symbols map or created or retrieved from the thread local variables map.- Parameters:
symbolName-- Returns:
-
$s
public static ISymbol $s(java.lang.String symbolName, boolean setEval)
-
ast
public static IAST ast(IAST f, IExpr head, boolean include, int first, int last)
Creates a new AST from the givenastandhead. ifincludeis set totrueall arguments from index first to last-1 are copied in the new list ifincludeis set tofalseall arguments excluded from index first to last-1 are copied in the new list
-
ast
public static final IAST ast(IExpr head)
Create a new abstract syntax tree (AST).- Parameters:
head- the header expression of the function. If the ast represents a function likef[x,y], Sin[x],..., theheadwill be an instance of type ISymbol.
-
ast
public static IAST ast(IExpr head, int initialCapacity, boolean initNull)
Create a new abstract syntax tree (AST).- Parameters:
head- the header expression of the function. If the ast represents a function likef[x,y], Sin[x],..., theheadwill be an instance of type ISymbol.initialCapacity- the initial capacity (i.e. number of arguments without the header element) of the list.initNull- initialize all elements withnull.- Returns:
-
ast
public static IAST ast(IExpr[] arr, IExpr head)
Create a new abstract syntax tree (AST).- Parameters:
arr-head- the header expression of the function. If the ast represents a function likef[x,y], Sin[x],..., theheadwill be an instance of type ISymbol.- Returns:
-
binary
public static final IAST binary(IExpr head, IExpr a0, IExpr a1)
Create a function with 2 arguments without evaluation.- Parameters:
head-a0-a1-- Returns:
-
bool
public static ISymbol bool(boolean value)
Gives symbols "True" or "False" (type ISymbol) depending on the boolean value.- Parameters:
value-- Returns:
-
Break
public static IAST Break()
-
cast
public static IExpr cast(java.lang.Object obj)
Converts a given object into a MathEclipse IExpr expressionJava Object -> MathEclipse object ------------------------------------- null object Null symbol IExpr IExpr type Boolean True or False symbol BigInteger Integer value java.math.BigInteger Integer value BigDecimal Double with doubleValue() value Double Double with doubleValue() value Float Double with doubleValue() value Number Integer with longValue() value java.util.List 0-th element of the list gives the head of the function 1..nth element of the list give the arguments of the function Object[] a list of converted objects int[] a list of Integer values double[] a list of Double values double[][] a matrix (i.e. nested lists) of Double values boolean[] a list of True or False symbols- Parameters:
obj-- Returns:
-
CC
public static IComplex CC(IFraction re)
Create a symbolic complex number- Parameters:
re-- Returns:
-
CC
public static IComplex CC(IFraction re, IFraction im)
Create a symbolic complex number- Parameters:
re-im-- Returns:
-
CC
public static IComplex CC(long real_numerator, long real_denominator, long imag_numerator, long imag_denominator)
Create a symbolic complex number- Parameters:
re-im-- Returns:
-
CNInfinity
public static IAST CNInfinity()
-
compareTo
public static int compareTo(IExpr a, IExpr b) throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
-
compareTo
public static int compareTo(IExpr a, java.lang.Integer i) throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
-
compareTo
public static int compareTo(IExpr a, java.math.BigInteger i) throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
-
compareTo
public static int compareTo(java.lang.Integer i, IExpr b) throws java.lang.UnsupportedOperationException- Throws:
java.lang.UnsupportedOperationException
-
compareTo
public static int compareTo(java.math.BigInteger i, IExpr b) throws java.lang.UnsupportedOperationException- Throws:
java.lang.UnsupportedOperationException
-
complex
public static IComplex complex(double realPart, double imagPart)
Create a symbolic complex number- Parameters:
realPart- the real double value part which should be converted to a complex numberimagPart- the imaginary double value part which should be converted to a complex number- Returns:
- IFraction
-
complex
public static IComplex complex(IFraction re)
Create a symbolic complex number- Parameters:
re-- Returns:
-
complex
public static IComplex complex(IFraction re, IFraction im)
Create a symbolic complex number- Parameters:
re-im-- Returns:
-
complex
public static IComplex complex(IInteger re, IInteger im)
Create a symbolic complex number- Parameters:
re-im-- Returns:
-
complex
public static IComplex complex(long real_numerator, long real_denominator, long imag_numerator, long imag_denominator)
Create a symbolic complex number- Parameters:
re-im-- Returns:
-
complexNum
public static IComplexNum complexNum(double r)
Create a complex numeric number with imaginary part = 0.0- Parameters:
r- the real part of the number- Returns:
-
complexNum
public static IComplexNum complexNum(double r, double i)
Create a complex numeric value- Parameters:
r- real parti- imaginary part- Returns:
-
complexNum
public static IComplexNum complexNum(IComplex obj)
-
complexNum
public static IComplexNum complexNum(IFraction obj)
-
complexNum
public static IComplexNum complexNum(IInteger obj)
-
Complex
public static IAST Complex(IExpr a0, IExpr a1)
TODO: check if Complex is working in pattern matching?- Parameters:
a0-a1-- Returns:
-
Continue
public static IAST Continue()
-
D
public static IAST D()
-
equals
public static boolean equals(IExpr a, java.lang.Integer i)
-
equals
public static boolean equals(IExpr a, java.math.BigInteger i)
-
equals
public static boolean equals(java.lang.Integer i, IExpr b)
-
equals
public static boolean equals(java.math.BigInteger i, IExpr b)
-
eval
public static IExpr eval(IExpr a)
Evaluate an expression. If no evaluation was possible this method returns the given argument.- Parameters:
a- the expression which should be evaluated- Returns:
- the evaluated expression
- See Also:
EvalEngine.eval(IExpr)
-
eval
public static IExpr eval(ISymbol head, IExpr a0)
Create a function with 1 argument and evaluate it.- Parameters:
head-a0-- Returns:
- the evaluated object
-
eval
public static IExpr eval(ISymbol head, IExpr a0, IExpr a1)
Create a function with 2 arguments and evaluate it.- Parameters:
head-a0-a1-- Returns:
- the evaluated object
-
eval
public static IExpr eval(ISymbol head, IExpr a0, IExpr a1, IExpr a2)
Create a function with 3 arguments and evaluate it.- Parameters:
head-a0-a1-a2-- Returns:
- the evaluated object
-
evalBlock
public static IExpr evalBlock(IExpr expr, ISymbol symbol, IExpr localValue)
Evaluate an expression for a local variable.- Parameters:
expr- the expression which should be evaluated for the given symbolsymbol- the symbol which should be evaluated as a local variablelocalValue- the value
-
evalExpand
public static IExpr evalExpand(IExpr a)
ApplyExpandAll[]to the given expression and evaluate it. If no evaluation was possible this method returns the given argument.- Parameters:
a- the expression which should be evaluated- Returns:
- the evaluated expression
- See Also:
EvalEngine.eval(IExpr)
-
evalExpandAll
public static IExpr evalExpandAll(IExpr a)
ApplyExpandAll[]to the given expression and evaluate it. If no evaluation was possible this method returns the given argument.- Parameters:
a- the expression which should be evaluated- Returns:
- the evaluated expression
- See Also:
EvalEngine.eval(IExpr)
-
evaln
public static IExpr evaln(IExpr a0)
Evaluate the given expression in numeric mode- Parameters:
a0-- Returns:
-
evalNull
public static IExpr evalNull(ISymbol head, IExpr a0)
Create a function with 1 argument and evaluate it.- Parameters:
head-a0-- Returns:
- the evaluated object or
nullif no evaluation was possible.
-
evalNull
public static IExpr evalNull(ISymbol head, IExpr a0, IExpr a1)
Create a function with 2 arguments and evaluate it.- Parameters:
head-a0-a1-- Returns:
- the evaluated object or
nullif no evaluation was possible.
-
evalNull
public static IExpr evalNull(ISymbol head, IExpr a0, IExpr a1, IExpr a2)
Create a function with 3 arguments and evaluate it.- Parameters:
head-a0-a1-a2-- Returns:
- the evaluated object or
nullif no evaluation was possible.
-
evalTrue
public static boolean evalTrue(IExpr expr)
Evaluate the given expression and test if the result equals the symbolTrue.- Parameters:
expr-- Returns:
-
fraction
public static IFraction fraction(BigFraction value)
Create a "fractional" number- Parameters:
value- the rational value which should be converted to a fractional number- Returns:
- IFraction
-
fraction
public static IFraction fraction(java.math.BigInteger numerator, java.math.BigInteger denominator)
Create a "fractional" number- Parameters:
numerator- numerator of the fractional numberdenominator- denumerator of the fractional number- Returns:
- IFraction
-
fraction
public static IFraction fraction(double value)
Create a "fractional" number- Parameters:
value- the double value which should be converted to a fractional number- Returns:
- IFraction
-
fraction
public static IFraction fraction(IInteger numerator, IInteger denominator)
Create a "fractional" number- Parameters:
numerator- numerator of the fractional numberdenominator- denumerator of the fractional number- Returns:
- IFraction
-
fraction
public static IFraction fraction(long numerator, long denominator)
Create a "fractional" number- Parameters:
numerator- numerator of the fractional numberdenominator- denumerator of the fractional number- Returns:
- IFraction
-
getNamespace
public static final Namespace getNamespace()
Get the namespace- Returns:
-
Graphics
public static IAST Graphics()
-
initFinalSymbol
public static ISymbol initFinalSymbol(java.lang.String symbolName)
Convert the symbolName to lowercase (ifConfig.PARSER_USE_LOWERCASE_SYMBOLSis set) and insert a new Symbol in thePREDEFINED_SYMBOLS_MAP. The symbol is created using the given upper case string to use it as associated class name in package org.matheclipse.core.reflection.system.- Parameters:
symbolName- the predefined symbol name in upper-case form- Returns:
-
initSymbols
public static void initSymbols()
Initialize the complete System. CallsinitSymbols(String, ISymbolObserver, boolean)with parametersnull, null.
-
initSymbols
public static void initSymbols(java.lang.String fileName, ISymbolObserver symbolObserver, boolean noPackageLoading)Initialize the complete System- Parameters:
fileName-nullor optional text filename, which includes the preloaded system rulessymbolObserver- the observer for newly createdISymbolsnoPackageLoading- don't load any package at start up
-
integer
public static IInteger integer(java.math.BigInteger integerValue)
Create a large integer number.- Parameters:
integerValue-- Returns:
-
integer
public static IInteger integer(long integerValue)
Create a large integer number.- Parameters:
integerValue-- Returns:
-
integer
public static IInteger integer(java.lang.String integerString, int numberFormat)
Create a large integer number.- Parameters:
integerString- the integer number represented as a StringnumberFormat- the format of the number (usually 10)- Returns:
- Object
-
isNumEqualInteger
public static boolean isNumEqualInteger(double value, IInteger ii) throws java.lang.ArithmeticExceptionAfter a successfulisCase()the symbols associated with the patterns contain the matched values on the local stack.- Parameters:
a-b-- Returns:
- Throws:
java.lang.ArithmeticException
-
isNumIntValue
public static boolean isNumIntValue(double value, int i)
-
isNumIntValue
public static boolean isNumIntValue(double value)
-
isNumIntValue
public static boolean isNumIntValue(double value, double epsilon)
-
isZero
public static boolean isZero(double value)
Test if the absolute value is lessConfig.DOUBLE_EPSILON.- Parameters:
value-- Returns:
-
isZero
public static boolean isZero(double value, double epsilon)Test if the absolute value is less than the given epsilon.- Parameters:
value-- Returns:
-
Line
public static IAST Line()
-
List
public static IAST List()
-
List
public static IAST List(double... numbers)
-
List
public static IAST List(long... numbers)
-
local
public static ISymbol local(java.lang.String symbolName)
Create a local symbol which is created or retrieved from the eval engines thread local variables map and push anullvalue on the local stack;- Parameters:
symbolName- the name of the symbol- Returns:
-
local
public static ISymbol local(java.lang.String symbolName, IExpr value)
Create a local symbol which is created or retrieved from the eval engines thread local variables map and push a value on the local stack;- Parameters:
symbolName- the name of the symbol- Returns:
-
Max
public static IAST Max()
-
method
public static ISymbol method(java.lang.String symbolName, java.lang.String className, java.lang.String methodName)
-
method
public static ISymbol method(java.lang.String symbolName, java.lang.String packageName, java.lang.String className, java.lang.String methodName)
-
Min
public static IAST Min()
-
N
public static IAST N(IExpr a0)
Evaluate the given expression in numeric mode- Parameters:
a0-- Returns:
-
Negate
public static IAST Negate(IExpr a)
Multiplies the given argument by-1.- Parameters:
a-- Returns:
-
newInstance
public static IAST newInstance(int intialArgumentsCapacity, IExpr head)
Create a new abstract syntax tree (AST).- Parameters:
intialArgumentsCapacity- the initial capacity of arguments of the AST.head- the header expression of the function. If the ast represents a function likef[x,y], Sin[x],..., theheadwill be an instance of type ISymbol.- Returns:
-
num
public static INum num(double d)
Create a numeric value- Parameters:
d-- Returns:
-
num
public static INum num(java.lang.String doubleString)
Create a numeric value- Parameters:
d-- Returns:
-
Part
public static IAST Part()
-
Plus
public static IAST Plus()
-
popLocal
public static void popLocal(ISymbol temp)
Pop the current top value from the symbols local variable stack.- Parameters:
temp-
-
Power
public static IAST Power()
-
predefinedSymbol
public static ISymbol predefinedSymbol(java.lang.String symbolName)
Create a "predefined" symbol for constants or function names.- Parameters:
symbolName-- Returns:
-
QQ
public static IFraction QQ(IInteger numerator, IInteger denominator)
Create a "fractional" number- Parameters:
numerator- numerator of the fractional numberdenominator- denumerator of the fractional number- Returns:
- IFraction
-
QQ
public static IFraction QQ(long numerator, long denominator)
Create a "fractional" number- Parameters:
numerator- numerator of the fractional numberdenominator- denumerator of the fractional number- Returns:
- IFraction
-
quinary
public static final IAST quinary(IExpr head, IExpr a0, IExpr a1, IExpr a2, IExpr a3, IExpr a4)
-
ReplacePart
public static IAST ReplacePart(IExpr a0, IExpr a1, IExpr a2)
TODO: check if this function is necessary ???- Parameters:
a0-a1-a2-- Returns:
-
senary
public static final IAST senary(IExpr head, IExpr a0, IExpr a1, IExpr a2, IExpr a3, IExpr a4, IExpr a5)
-
Sequence
public static IAST Sequence()
-
Slot
public static IAST Slot(int i)
-
stringx
public static final IStringX stringx(java.lang.String str)
Create a string expression- Parameters:
str-- Returns:
-
stringx
public static final IStringX stringx(java.lang.StringBuffer str)
Create a string expression- Parameters:
str-- Returns:
-
subst
public static IExpr subst(IExpr expr, Function<IExpr,IExpr> function)
Substitute all (sub-) expressions with the given unary function. If no substitution matches, the method returns the givenexpr.- Parameters:
function- if the unary functionsapply()method returnsnullthe expression isn't substituted.- Returns:
- the input
exprif no substitution of a (sub-)expression was possible or the substituted expression.
-
subst
public static IExpr subst(IExpr expr, IAST astRules)
Substitute all (sub-) expressions with the given rule set. If no substitution matches, the method returns the givenexpr.- Parameters:
astRules- rules of the formx->yor{a->b, c->d}; the left-hand-side of the rule can contain pattern objects.- Returns:
- the input
exprif no substitution of a (sub-)expression was possible or the substituted expression.
-
SurfaceGraphics
public static IAST SurfaceGraphics()
-
Times
public static IAST Times()
-
unary
public static final IAST unary(IExpr head, IExpr a0)
Create a function with 1 argument without evaluation.- Parameters:
head-a0-- Returns:
-
ZZ
public static IInteger ZZ(java.math.BigInteger integerValue)
Create a large integer number.- Parameters:
integerValue-- Returns:
-
ZZ
public static IInteger ZZ(long integerValue)
Create a large integer number.- Parameters:
integerValue-- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG