einsum (Q121695)

From MaRDI portal
Einstein Summation
Language Label Description Also known as
English
einsum
Einstein Summation

    Statements

    0 references
    0.1.0
    18 May 2021
    0 references
    0.1.2
    28 August 2023
    0 references
    0 references
    0 references
    28 August 2023
    0 references
    The summation notation suggested by Einstein (1916) <doi:10.1002/andp.19163540702> is a concise mathematical notation that implicitly sums over repeated indices of n-dimensional arrays. Many ordinary matrix operations (e.g. transpose, matrix multiplication, scalar product, 'diag()', trace etc.) can be written using Einstein notation. The notation is particularly convenient for expressing operations on arrays with more than two dimensions because the respective operators ('tensor products') might not have a standardized name.
    0 references
    0 references
    0 references
    0 references