|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jv.thirdParty.expr.Expr
A mathematical expression, built out of literal numbers, variables, arithmetic operators, and elementary functions. The operator names are from java.lang.Math.
| Field Summary | |
static int |
ABS
Absolut value. |
static int |
ACOS
Arcus cosine. |
static int |
ACOSH
Area cosinus hyperbolicus. (kp) |
static int |
ACOT
Arcus cotanges. (kp) |
static int |
ACOTH
Area cotangens hyperbolicus. (kp) |
static int |
ADD
Binary operator. |
static int |
ASIN
Arcus sine. |
static int |
ASINH
Area sinus hyperbolicus. (kp) |
static int |
ATAN
Arcus tanges. |
static int |
ATANH
Area tangens hyperbolicus. (kp) |
static int |
CEIL
Unary operator. |
static int |
COS
Cosine. |
static int |
COSH
Cosinus hyperbolicus. (kp) |
static int |
COT
Cotanges. (kp) |
static int |
COTH
Cotangens hyperbolicus. (kp) |
static int |
DIV
Binary operator. |
static int |
EXP
Exponential function. |
static int |
FLOOR
Unary operator. |
static int |
LOG
Natural logarithm. |
static int |
MUL
Binary operator. |
static int |
NEG
Negative. |
static int |
POW
Binary operator. |
static int |
ROUND
Unary operator. |
static int |
SIGN
Sign of argument. (kp) |
static int |
SIN
Sine. |
static int |
SINH
Sinus hyperbolicus. (kp) |
static int |
SQRT
Square root |
static int |
SUB
Binary operator. |
static int |
TAN
Tangens. |
static int |
TANH
Tangens hyperbolicus. (kp) |
| Constructor Summary | |
Expr()
|
|
| Method Summary | |
abstract double |
getValue()
Return the value given the current variable values. |
static Expr |
make_app1(int rator,
Expr rand)
|
static Expr |
make_app2(int rator,
Expr rand0,
Expr rand1)
|
static Expr |
make_literal(double v)
|
static Expr |
make_var_ref(Variable var)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ADD
public static final int SUB
public static final int MUL
public static final int DIV
public static final int POW
public static final int ABS
public static final int ACOS
public static final int ASIN
public static final int ATAN
public static final int ACOT
public static final int CEIL
public static final int COS
public static final int EXP
public static final int FLOOR
public static final int LOG
public static final int NEG
public static final int ROUND
public static final int SIN
public static final int SQRT
public static final int TAN
public static final int COT
public static final int SINH
public static final int COSH
public static final int TANH
public static final int COTH
public static final int ASINH
public static final int ACOSH
public static final int ATANH
public static final int ACOTH
public static final int SIGN
| Constructor Detail |
public Expr()
| Method Detail |
public abstract double getValue()
public static Expr make_literal(double v)
public static Expr make_var_ref(Variable var)
public static Expr make_app1(int rator,
Expr rand)
rator - unary operatorrand - operand
public static Expr make_app2(int rator,
Expr rand0,
Expr rand1)
rator - binary operatorrand0 - left operandrand1 - right operand
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||