This is an alpha implementation of the tensor algebra compiler theory and contains known bugs, which are documented here. If you find additional issues, please consider submitting a bug report.

###### Input a tensor algebra expression in index notation to generate code that computes it:
 (Optional) Prefix
Tensor
Format
Level Formats
(reorder dimensions by dragging the drop-down menus)

Dense levels store the size of the dimension $(N)$ and encode the coordinates in the interval $[0, N)$.

Sparse levels store coordinates in a segment of the $\texttt{crd}$ array, with segment bounds stored in the $\texttt{pos}$ array.

Singleton levels store individual coordinates (with no siblings) in the $\texttt{crd}$ array.

A level is unique (U) if no collection of coordinates that share the same ancestors contains duplicates, and it is not unique (¬U) otherwise.

                    /* The generated compute loops will appear here */

                    /* The generated assembly loops will appear here */

                    /* The complete generated code will appear here */