|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
---|---|
fr.expression4j.core | |
fr.expression4j.core.impl | |
fr.expression4j.core.predefine | |
fr.expression4j.factory |
Uses of Expression in fr.expression4j.core |
---|
Methods in fr.expression4j.core that return Expression | |
---|---|
Expression |
Catalog.getExpression(java.lang.String name)
Get an expression from the catalog. |
Methods in fr.expression4j.core with parameters of type Expression | |
---|---|
void |
Catalog.addExpression(Expression expression)
add an expression to catalog. |
Uses of Expression in fr.expression4j.core.impl |
---|
Classes in fr.expression4j.core.impl that implement Expression | |
---|---|
class |
ExpressionImpl
Construct expression relative to the BNF: expression ::= term additive-op expression | term additive-op ::= "+" | "-" term ::= factor multiplicatice-op term | factor multiplicative-op ::= "*" | "-" factor ::= (signed-expression "^" factor) | signed-expression signed-expression ::= additive-op simple-expression | simple-expression simple-expression ::= complex | real | constant | variable | function | "(" expression ")" complex ::= real "i" real ::= real-simple | real-simple "e" signed-integer real-simple ::= integer | integer "." integer signed-integer ::= additive-op integer | integer integer ::= number integer | number number ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 constant ::= variable variable ::= letters integer | letters letters ::= letter letters | letter letter ::= a - Z function ::= function-name "(" parameters ")" function-name ::= variable parameters ::= expression "," parameters | expression | "" function-def ::= function-name "(" parameters-def ")=" expression parameters-def ::= variable "," parameters-def | variable | "" expr ::= function-def = expression Valid expression is like: - f()=2*5+1 - g(x)=2.5*x - h(x)=-2e-3*(x+1) - i(x,y)=h(y)*2+sqrt(g(x)) - j(z)=h(2*z+4)-g(h(z)) - ... |
class |
OptimizedExpression
|
Methods in fr.expression4j.core.impl that return Expression | |
---|---|
Expression |
CatalogImpl.getExpression(java.lang.String name)
|
Methods in fr.expression4j.core.impl with parameters of type Expression | |
---|---|
void |
CatalogImpl.addExpression(Expression expression)
|
Uses of Expression in fr.expression4j.core.predefine |
---|
Classes in fr.expression4j.core.predefine that implement Expression | |
---|---|
class |
AbsFunction
|
class |
AbstractFunction
|
class |
AcosFunction
|
class |
AsinFunction
|
class |
AtanFunction
|
class |
CeilFunction
|
class |
CosFunction
|
class |
CoshFunction
|
class |
ExpFunction
|
class |
FloorFunction
|
class |
LogFunction
|
class |
RandomFunction
|
class |
SinFunction
|
class |
SinhFunction
|
class |
SqrtFunction
|
class |
TanFunction
|
Uses of Expression in fr.expression4j.factory |
---|
Methods in fr.expression4j.factory that return Expression | |
---|---|
static Expression |
ExpressionFactory.createExpression(java.lang.String expression)
Create an expression. |
static Expression |
ExpressionFactory.createExpression(java.lang.String expression,
Catalog catalog)
Create an expression with the given catalog. |
static Expression |
ExpressionFactory.createExpression(java.lang.String expression,
Catalog catalog,
ExpressionModel model)
Create an expression with the given catalog and the given expression model. |
static Expression |
ExpressionFactory.optimizeExpression(Expression expression)
Optimize expression Sample: f(x)=2+5-4*x+3*2 => f2(x)=13-4*x |
Methods in fr.expression4j.factory with parameters of type Expression | |
---|---|
static Expression |
ExpressionFactory.optimizeExpression(Expression expression)
Optimize expression Sample: f(x)=2+5-4*x+3*2 => f2(x)=13-4*x |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |