|
|||||||||
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.NaturalLogarithm
public class NaturalLogarithm
Natural logarithm. For positive Double arguments returns a Double: Math.log(value). For negative Double arguments convert to Complex and return the Complex log: Complex(Math.log(Math.abs(value)),Math.PI) For Complex find the complex logarithm: Complex(Math.log(Math.abs(value)),arg(value))
StrictNaturalLogarithm
,
Serialized FormField Summary |
---|
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand |
---|
curNumberOfParameters, numberOfParameters |
Constructor Summary | |
---|---|
NaturalLogarithm()
|
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 NaturalLogarithm()
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 |