org.saddle.index.Stacker
See theStacker companion object
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'))
Attributes
- 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
- Graph
- Supertypes
- class Objecttrait Matchableclass Any