Tensors.jl
  • Home
  • The Tensor type
  • Einstein Summation
    • Primitive operations
    • Composite operations
Version
  • Einstein Summation
  • Einstein Summation
Edit on GitHub

Einstein Summation

Tensors only supports single and pairwise tensors summations.

Primitive operations

Index summation

\[U = \sum_i V_i\]

Index transposition

\[U_{ji} = V_{ij}\]

Diagonal

\[U_i = V_{ii}\]

Hadamard or element-wise product

\[C_i = A \boxtimes B = A_i B_i\]

Outer or tensor product

\[C_{ij} = A \otimes B = A_i B_j\]

Composite operations

Trace

\[U = \sum_i V_{ii}\]

Inner or scalar product

\[C = A \cdot B = \sum_i A_i B_i\]

Matrix multiplication

\[C_{ij} = \sum_k A_{ik} B_{kj}\]

« The Tensor type

Powered by Documenter.jl and the Julia Programming Language.

Settings


This document was generated with Documenter.jl version 0.27.24 on Wednesday 17 May 2023. Using Julia version 1.8.5.