Tensorial.jl

Tensorial.jl provides statically sized tensor types for Julia. They behave like AbstractArrays, but carry tensor-specific structure such as symmetry.

This manual is organized by what you want to do. If you are new to Tensorial, start with Getting Started; it gives a short executable tour of the main pieces: tensor construction, operations, @einsum, symmetry, automatic differentiation, and direct sums.

Installation

Install Tensorial with Julia's package manager:

pkg> add Tensorial

Choose by task

Reference pages

  • Look up public signatures and docstrings: API Reference.
  • Check small-tensor performance against Array and SArray: Benchmarks.