Package omeis.providers.re.codomain
Interface CodomainMap
-
public interface CodomainMap
Declares 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 theCodomainMapContext
which is passed to thesetContext
method.- Since:
- OME2.2
- See Also:
CodomainMapContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setContext(CodomainMapContext cxt)
Sets the parameters used to write the equation of the specified codomain transformation.int
transform(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.
-
-