org.matheclipse.core.eval.interfaces
Interface IFunctionEvaluator
-
- All Superinterfaces:
- IEvaluator
- All Known Subinterfaces:
- ICoreFunctionEvaluator
- All Known Implementing Classes:
- Abs, AbstractArg1, AbstractArg12, AbstractArg2, AbstractArgMultiple, AbstractCoreFunctionEvaluator, AbstractFunctionEvaluator, AbstractMatrix1Expr, AbstractMatrix1Matrix, AbstractNonOrderlessArgMultiple, AbstractTrigArg1, AddTo, And, Apart, Append, AppendTo, Apply, ArcCos, ArcCosh, ArcCot, ArcCoth, ArcCsc, ArcCsch, ArcSec, ArcSech, ArcSin, ArcSinh, ArcTan, ArcTanh, Arg, Array, AtomQ, Attributes, BernoulliB, Binomial, Blank, Block, Boole, BooleanMinimize, Break, Cancel, CartesianProduct, Cases, CatalanNumber, Catch, Ceiling, CharacteristicPolynomial, ChessboardDistance, Chop, Clear, ClearAll, Coefficient, CoefficientList, Collect, Complement, Complex, ComplexExpand, ComposeList, CompoundExpression, Condition, Conjugate, ConjugateTranspose, ConstantArray, Continue, ContinuedFraction, CoprimeQ, Cos, Cosh, Cot, Coth, Count, Cross, Csc, Csch, Curl, D, Decrement, Default, Defer, Definition, Delete, DeleteCases, Denominator, Depth, Derivative, Det, DiagonalMatrix, DigitQ, Dimensions, Discriminant, Distribute, Divergence, DivideBy, Do, Dot, Drop, Eigenvalues, Eigenvectors, Eliminate, Equal, Erf, EuclidianDistance, EulerE, EulerPhi, EvenQ, Exp, Expand, ExpandAll, Exponent, ExtendedGCD, Extract, Factor, Factorial, Factorial2, FactorInteger, FactorSquareFree, FactorSquareFreeList, FactorTerms, Fibonacci, FindRoot, First, Fit, FixedPoint, Flatten, Floor, Fold, FoldList, For, FractionalPart, FreeQ, FrobeniusSolve, FromCharacterCode, FromContinuedFraction, FullForm, FullSimplify, Function, Gamma, GCD, GeometricMean, Greater, GreaterEqual, GroebnerBasis, HarmonicNumber, Head, HilbertMatrix, Hold, Horner, IdentityMatrix, If, Im, Increment, Inner, Insert, IntegerPart, IntegerPartitions, IntegerQ, Integrate, InterpolatingFunction, Intersection, IntIntegerQ, IntIntegerQ, IntPolynomialQ, IntPolynomialQ, Inverse, InverseErf, InverseFunction, JacobiMatrix, JacobiSymbol, JavaForm, Join, KOrderlessPartitions, KPartitions, Last, LCM, LeafCount, Length, Less, LessEqual, LetterQ, Level, Limit, LinearProgramming, LinearSolve, Log, LowerCaseQ, LUDecomposition, ManhattanDistance, Map, MapAll, MapThread, MatchQ, MatrixPower, MatrixQ, MatrixRank, Max, Mean, Median, MemberQ, Min, Mod, Module, MoebiusMu, MonomialList, Most, Multinomial, N, Negative, Nest, NestList, NestWhile, NestWhileList, NextPrime, NFourierTransform, NIntegrate, NonCommutativeMultiply, NonNegative, Norm, Not, NRoots, NSolve, NullSpace, NumberQ, Numerator, NumericQ, OddQ, Or, Order, OrderedQ, Out, Outer, Package, PadLeft, PadRight, Part, Partition, Pattern, Permutations, Plus, Pochhammer, PolynomialExtendedGCD, PolynomialGCD, PolynomialLCM, PolynomialQ, PolynomialQuotient, PolynomialQuotientRemainder, PolynomialRemainder, Position, Positive, PossibleZeroQ, Power, PowerExpand, PowerMod, PreDecrement, PreIncrement, Prepend, PrependTo, PrimeQ, PrimitiveRoots, Print, Product, Quiet, Quotient, RandomInteger, RandomReal, Range, Rational, Rationalize, Re, Reap, ReplaceAll, ReplacePart, ReplaceRepeated, Rest, Resultant, Return, Reverse, Riffle, RootIntervals, Roots, RotateLeft, RotateRight, Round, RowReduce, Rule, RuleDelayed, SameQ, Scan, Sec, Sech, Select, Set, SetAttributes, SetDelayed, Sign, SignCmp, Simplify, Sin, SingularValueDecomposition, Sinh, Solve, Sort, Sow, Sqrt, SquaredEuclidianDistance, SquareFreeQ, StirlingS2, StringDrop, StringJoin, StringLength, StringTake, Subsets, SubtractFrom, Sum, Switch, SyntaxLength, SyntaxQ, Table, Take, Tan, Tanh, Taylor, Thread, Through, Throw, TimeConstrained, Times, TimesBy, Timing, ToCharacterCode, Together, ToString, Total, ToUnicode, Tr, Trace, Transpose, TrigExpand, TrigReduce, TrigToExp, TrueQ, Tuples, Unequal, Unevaluated, Union, Unique, UnitStep, UnsameQ, UpperCaseQ, UpSet, UpSetDelayed, ValueQ, VandermondeMatrix, Variables, VectorQ, Which, While
public interface IFunctionEvaluator extends IEvaluator
Common interface for built-in Symja functions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IExprevaluate(IAST ast)Symbolic evaluation of a function.IExprnumericEval(IAST ast)Numeric evaluation of a function.-
Methods inherited from interface org.matheclipse.core.interfaces.IEvaluator
setUp
-
-
-
-
Method Detail
-
evaluate
IExpr evaluate(IAST ast)
Symbolic evaluation of a function.ast.get(0)contains the head (i.e. the function symbol) of this abstract syntax tree (AST).ast.get(1)toast.get(n)contains the first to n-th argument of the function.
If necessary use the methods from theValidateclass to check the number or types of arguments in the evaluate method.
Note: if the symbolic evaluation isn't possible or no result is found the evaluate method returns with anullvalue without throwing an exception!- Parameters:
ast- the abstract syntax tree (AST) which should be evaluated- Returns:
- the evaluated object or
null, if evaluation isn't possible - See Also:
Validate
-
numericEval
IExpr numericEval(IAST ast)
Numeric evaluation of a function.ast.get(0)contains the head (i.e. the function symbol) of this abstract syntax tree (AST).ast.get(1)toast.get(n)contains the first to n-th argument of the function.
If necessary use the methods from theValidateclass to check the number or types of arguments in the evaluate method.- Parameters:
ast- the abstract syntax tree (AST) which should be evaluated- Returns:
- the evaluated object or
null, if evaluation isn't possible - See Also:
Validate
-
-
DMelt 3.0 © DataMelt by jWork.ORG