|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.statcato.calculator.MathFunction
public class MathFunction
A mathematical function object defined by a type.
MathFunctions| Constructor Summary | |
|---|---|
MathFunction(int type,
boolean isRadian)
|
|
| Method Summary | |
|---|---|
CompUnit |
call(CompUnit c)
Performs a function call on the given computation unit. |
double |
call1(double argument)
Performs a function call on the given double value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MathFunction(int type,
boolean isRadian)
| Method Detail |
|---|
public CompUnit call(CompUnit c)
c - computational unit
public double call1(double argument)
argument - double value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||