unitaria.Index

class unitaria.Index(A: Node, index_in: slice | int, index_out: slice | int)[source]

Bases: ProxyNode

Used in the implementation of indexing of nodes.

Specifically, A[x] is equivalent to Index(A.dimension_out, x) @ A.