Package omeis.providers.re.codomain
Interface CodomainMap
-
public interface CodomainMapDeclares the interface common to all codomain maps. Subclasses encapsulates a parameterized map:y = f(x, p[1], ..., p[n])The actual values of the parameters
p[k]are defined by theCodomainMapContextwhich is passed to thesetContextmethod.- Since:
- OME2.2
- See Also:
CodomainMapContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetContext(CodomainMapContext cxt)Sets the parameters used to write the equation of the specified codomain transformation.inttransform(int x)Performs the transformation.
-
-
-
Method Detail
-
setContext
void setContext(CodomainMapContext cxt)
Sets the parameters used to write the equation of the specified codomain transformation.- Parameters:
cxt- Specifies the parameters.
-
transform
int transform(int x)
Performs the transformation.- Parameters:
x- The input value.- Returns:
- The output value, y.
-
-