slib.sml.sm.core.utils
Class MathSML
java.lang.Object
slib.sml.sm.core.utils.MathSML
public class MathSML
- extends Object
Class used to define some utility method for mathematical treatments.
- Author:
- Harispe Sébastien
Method Summary |
static double |
log(double value,
Double base)
Compute the logarithm of the given value considering the specified log base. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MathSML
public MathSML()
log
public static double log(double value,
Double base)
- Compute the logarithm of the given value considering the specified log base.
If the log base is set to null Math.log is computed.
- Parameters:
value
- the log value to computebase
- the log base to consider
- Returns:
- the logarithm of the value at the given base.
Copyright © 2013. All Rights Reserved.