org.saddle.locator
package org.saddle.locator
Members list
Type members
Classlikes
The Locator class provides a mapping from a key to the first location of that key within a corresponding org.saddle.Index containing at least one of that key.
The Locator class provides a mapping from a key to the first location of that key within a corresponding org.saddle.Index containing at least one of that key.
As it provides a representative for a subset of keys in the index, in the language of category theory, this mapping is a ''section'':
Given an array x of type T, which represents a mapping
f
{i} => {T}
for i in [0, x.length), Locator provides the associated section
s
{T} => {i}
where s(t) = min(i) for any i such that f(i) = t.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
object Locator
class LocatorAny[T](sz: Int)(implicit evidence$1: ScalarTag[T]) extends Locator[T]
Attributes
- Supertypes
class LocatorBool extends Locator[Boolean]
A bool-to-integer hash map
A bool-to-integer hash map
Attributes
- Supertypes
class LocatorDouble(sz: Int) extends Locator[Double]
Attributes
- Supertypes
class LocatorInt(sz: Int) extends Locator[Int]
Attributes
- Supertypes
class LocatorLong(sz: Int) extends Locator[Long]
Attributes
- Supertypes
In this article