org.saddle.locator

Members list

Type members

Classlikes

trait Locator[T]

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 Object
trait Matchable
class Any
Known subtypes
class LocatorAny[T]
class LocatorBool
class LocatorInt
class LocatorLong
object Locator

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Locator.type
class LocatorAny[T](sz: Int)(implicit evidence$1: ScalarTag[T]) extends Locator[T]

Attributes

Supertypes
trait Locator[T]
class Object
trait Matchable
class Any
class LocatorBool extends Locator[Boolean]

A bool-to-integer hash map

A bool-to-integer hash map

Attributes

Supertypes
trait Locator[Boolean]
class Object
trait Matchable
class Any
class LocatorDouble(sz: Int) extends Locator[Double]

Attributes

Supertypes
trait Locator[Double]
class Object
trait Matchable
class Any
class LocatorInt(sz: Int) extends Locator[Int]

Attributes

Supertypes
trait Locator[Int]
class Object
trait Matchable
class Any
class LocatorLong(sz: Int) extends Locator[Long]

Attributes

Supertypes
trait Locator[Long]
class Object
trait Matchable
class Any