CMD + K

r-einsum

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-einsum

Usage Tracking

0.1.2
0.1.0
2 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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.

Last Updated

Aug 28, 2023 at 23:32

License

MIT

Supported Platforms

macOS-64
win-64
linux-64