Package omeis.providers.re.quantum
Class LogarithmicMap
- java.lang.Object
-
- omeis.providers.re.quantum.LogarithmicMap
-
- All Implemented Interfaces:
QuantumMap
public class LogarithmicMap extends java.lang.Object implements QuantumMap
This class implements theQuantumMap
interface. Each method is a wrapper around theMath.log(double)
method, which returns the natural logarithm (base e) of adouble
value.- Since:
- OME2.2
-
-
Constructor Summary
Constructors Constructor Description LogarithmicMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
transform(double x, double k)
Implemented as specified inQuantumMap
.double
transform(float x, double k)
Implemented as specified inQuantumMap
.double
transform(int x, double k)
Implemented as specified inQuantumMap
.
-
-
-
Method Detail
-
transform
public double transform(int x, double k)
Implemented as specified inQuantumMap
. Note that in our case the specified coefficient is not taken into account.- Specified by:
transform
in interfaceQuantumMap
- Parameters:
x
- The input value.k
- The selected curve in the family.- Returns:
- The mapped value.
- See Also:
QuantumMap.transform(int, double)
-
transform
public double transform(double x, double k)
Implemented as specified inQuantumMap
. Note that in our case the specified coefficient is not taken into account.- Specified by:
transform
in interfaceQuantumMap
- Parameters:
x
- The input value.k
- The selected curve in the family.- Returns:
- The mapped value.
- See Also:
QuantumMap.transform(double, double)
-
transform
public double transform(float x, double k)
Implemented as specified inQuantumMap
. Note that in our case the specified coefficient is not taken into account.- Specified by:
transform
in interfaceQuantumMap
- Parameters:
x
- The input value.k
- The selected curve in the family.- Returns:
- The mapped value.
- See Also:
QuantumMap.transform(float, double)
-
-