public class LogarithmicMap extends java.lang.Object implements QuantumMap
QuantumMap
interface. Each method is a
wrapper around the Math.log(double)
method, which returns the natural
logarithm (base e) of a double
value.Constructor and Description |
---|
LogarithmicMap() |
Modifier and Type | Method and Description |
---|---|
double |
transform(double x,
double k)
Implemented as specified in
QuantumMap . |
double |
transform(float x,
double k)
Implemented as specified in
QuantumMap . |
double |
transform(int x,
double k)
Implemented as specified in
QuantumMap . |
public double transform(int x, double k)
QuantumMap
. Note that in our case
the specified coefficient is not taken into account.transform
in interface QuantumMap
x
- The input value.k
- The selected curve in the family.QuantumMap.transform(int, double)
public double transform(double x, double k)
QuantumMap
. Note that in our case
the specified coefficient is not taken into account.transform
in interface QuantumMap
x
- The input value.k
- The selected curve in the family.QuantumMap.transform(double, double)
public double transform(float x, double k)
QuantumMap
. Note that in our case
the specified coefficient is not taken into account.transform
in interface QuantumMap
x
- The input value.k
- The selected curve in the family.QuantumMap.transform(float, double)