io.radanalytics.silex.feature.indexfunction
Create an invertible index function from a Scala Map of indices to values
Create an invertible index function from a Scala Map of indices to values
The index inverval width
The Scala Map
An invertible index function with domain equivalent to map.keysIterator, and subset of [0, wid), where f(j) = map(j), for any j defined on the map, and undefined elsewhere
Create an invertible index function from ordered pairs (j0, v0), (j1, v1), ...
Create an invertible index function from ordered pairs (j0, v0), (j1, v1), ...
The index interval width
Zero or more pairs (j0, v0), (j1, v1), ...
An invertible index function with domain { j0, j1, ...} a subset of [0, wid), where f(j0) = v0, f(j1 = v1), ... and undefined elsewhere
Create an invertible index function from a Scala IndexedSeq
Create an invertible index function from a Scala IndexedSeq
The indexed sequence of unique values
An invertible index function over interval [0, vals.length) where f(j) = vals(j)
Obtain an empty invertible index function.
Obtain an empty invertible index function.
An invertible index function over the empty interval [0, 0), defined over no values
Obtain an invertible index function that is undefined over its interval
Obtain an invertible index function that is undefined over its interval
The function's index interval width
An invertible index function that is not defined over any indices on its interval [0, wid)