Package omeis.providers.re.quantum
Class PolynomialMap
- java.lang.Object
-
- omeis.providers.re.quantum.PolynomialMap
-
- All Implemented Interfaces:
QuantumMap
public class PolynomialMap extends java.lang.Object implements QuantumMap
This class implements theQuantumMapinterface. Each method is a wrapper around theMath.pow(double, double)method, which returns the value of the first argument raised to the power of the second argument.- Since:
- OME2.2
-
-
Constructor Summary
Constructors Constructor Description PolynomialMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubletransform(double x, double k)Implemented as specified inQuantumMap.doubletransform(float x, double k)Implemented as specified inQuantumMap.doubletransform(int x, double k)Implemented as specified inQuantumMap.
-
-
-
Method Detail
-
transform
public double transform(int x, double k)Implemented as specified inQuantumMap.- Specified by:
transformin 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.- Specified by:
transformin 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.- Specified by:
transformin interfaceQuantumMap- Parameters:
x- The input value.k- The selected curve in the family.- Returns:
- The mapped value.
- See Also:
QuantumMap.transform(float, double)
-
-