io.radanalytics.silex.feature.indexfunction
Obtain a new iterator over the indices that the function is defined on.
Obtain a new iterator over the indices that the function is defined on.
An iterator over the function domain
Obtain the inverse of this function.
Obtain the inverse of this function.
The inverse function that maps range values to their correponding indices
The width of the integer index interval that contains the domain.
The width of the integer index interval that contains the domain. All indices this function is defined on are on the interval [0, width)
The width of the interval [0, width) containing the function domain.
Concatenate two invertible index functions.
Concatenate two invertible index functions.
The right-hand function of the concatenation
The concatenation of left and right index functions, defined as:
(f1 ++ f2)(j) = if (j < f1.width) f1(j) else f2(j - f1.width)
The range values of the argument functions must be disjoint, in order to preserve the invertability of their concatenation.
Concatenate two index functions.
Concatenate two index functions.
The right-hand function of the concatenation
The concatenation of left and right index functions, defined as:
(f1 ++ f2)(j) = if (j < f1.width) f1(j) else f2(j - f1.width)
Obtain a new iterator over the function range values
Obtain a new iterator over the function range values
An iterator over values that may be returned by the function
Obtain a Scala Map from values in the domain to their corresponding range values.
A Scala Map that is equivalent to this function
An IndexFunction that is also invertible (and so 1-1).
The range value type of this function.