|
|||||||||
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.StrictNaturalLogarithm
public class StrictNaturalLogarithm
A strict version of Natural logarithm. For negative Double arguments the standard NaturalLogarithm class will convert treat the argument and compute the complex logarithm. This class will return Double.NaN for negative Double arguments.
Field Summary |
---|
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand |
---|
curNumberOfParameters, numberOfParameters |
Constructor Summary | |
---|---|
StrictNaturalLogarithm()
Logarithm base e. |
|
StrictNaturalLogarithm(double base)
Logarithm to any other base. |
Method Summary | |
---|---|
java.lang.Object |
ln(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 StrictNaturalLogarithm()
public StrictNaturalLogarithm(double base)
base
- Method Detail |
---|
public void run(java.util.Stack<java.lang.Object> inStack) throws EvaluationException
PostfixMathCommandI
EvaluationException
public java.lang.Object ln(java.lang.Object param) throws EvaluationException
EvaluationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |