public class PolynomialMap extends java.lang.Object implements QuantumMap
QuantumMap
interface. Each method is a
wrapper around the Math.pow(double, double)
method, which returns the
value of the first argument raised to the power of the second argument.Constructor and Description |
---|
PolynomialMap() |
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
.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
.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
.transform
in interface QuantumMap
x
- The input value.k
- The selected curve in the family.QuantumMap.transform(float, double)