Stacker

trait Stacker[I, J, O]

A Stacker operates on two input Index instances and produces a new output Index whose entries are drawn from the Cartesian product of the elements of the original indexes, and whose ordering is likewise specified by the original orderings. For instance,

 Index[Int](1,2) stack Index[Char]('a','b')

results in

 Index[(Int, Char)]((1,'a'), (1,'b'), (2,'a'), (2,'b'))

whereas

 Index[(Char, Int)](('x',1), ('y',2)) stack Index[Char]('a','b')

results in

 Index[(Char, Int, Char)](('x',1,'a'), ('x',1,'b'), ('y',2,'a'), ('y',2,'b'))
Type parameters:
I

Type of the elements of the left index

J

Type of the elements of the right index

O

Type of the elements of the output index

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(ix1: Index[I], ix2: Index[J]): Index[O]

Take two indexes and stack them, producing a third index

Take two indexes and stack them, producing a third index

Value parameters:
ix1

Left index

ix2

Right index

def ord: Order[O]

Implementation of an Ordering for O

Implementation of an Ordering for O

def tag: ScalarTag[O]

Implementation of a ST for O

Implementation of a ST for O