|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.Logarithm
public class Logarithm
Log base 10.
RJM change return real results for positive real arguments. Speedup by using static final fields. Change to use Java 5 Math.log10() method.
| Field Summary |
|---|
| Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand |
|---|
curNumberOfParameters, numberOfParameters |
| Constructor Summary | |
|---|---|
Logarithm()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
log(java.lang.Object param)
|
void |
run(java.util.Stack<java.lang.Object> inStack)
Run the function on the stack. |
| Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand |
|---|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Logarithm()
| Method Detail |
|---|
public void run(java.util.Stack<java.lang.Object> inStack)
throws EvaluationException
PostfixMathCommandI
EvaluationException
public java.lang.Object log(java.lang.Object param)
throws EvaluationException
EvaluationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||