View source on GitHub |
Generate index sets into a lower triangle, lower triangle matrix
fqe.util.ltlt_index_generator(
dim: int
) -> Generator[Tuple[int, int, int, int], None, None]
Args | |
---|---|
dim (int) - the dimension of the array |
Returns | |
---|---|
(int, int, int, int) - unique pointers into the compressed matrix |