An index function is a (partial) function from some subset of collection indices to some values, and which can be concatenated with other such functions such that they now cover an expanded index range, and the "right" side function has had its domain shifted.
An index function is a (partial) function from some subset of collection indices to some values, and which can be concatenated with other such functions such that they now cover an expanded index range, and the "right" side function has had its domain shifted. An index function is defined on an index interval with a particular width, and its domain is some subset of that interval.
The type of value returned by this function.
The inverse of an InvertibleIndexFunction.
The inverse of an InvertibleIndexFunction.
The domain type of this function. Also the range of the parent InvertibleIndexFunction.
An IndexFunction that is also invertible (and so 1-1).
An IndexFunction that is also invertible (and so 1-1).
The range value type of this function.
Factory methods for generating index functions
Provides IndexFunction and InvertibleIndexFunction, specialized subclasses of Scala functions Int => V that map integers over an interval to some value type, and which may be concatenated with monoidal operator ++, defined as follows: