public class StrictNaturalLogarithm extends UnaryFunction implements RealUnaryFunction
curNumberOfParameters, name, NaN, numberOfParameters
Constructor and Description |
---|
StrictNaturalLogarithm()
Standard base-e logarithm.
|
StrictNaturalLogarithm(double base)
Logarithm to any other base.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eval(java.lang.Object arg) |
double |
evaluate(double val) |
java.lang.Object |
ln(java.lang.Object param) |
run
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
public StrictNaturalLogarithm(double base)
base
- base to usepublic StrictNaturalLogarithm()
public java.lang.Object eval(java.lang.Object arg) throws EvaluationException
eval
in class UnaryFunction
EvaluationException
public java.lang.Object ln(java.lang.Object param) throws EvaluationException
EvaluationException
public double evaluate(double val)
evaluate
in interface RealUnaryFunction
Copyright © 2018 Singular Systems http://www.singularsys.com/jep