einsum(subscripts, *operands, dtype=False)¶
Evaluates the Einstein summation convention on the operands. Using the Einstein summation convention, many common multi-dimensional array operations can be represented in a simple fashion. This function provides a way to compute such summations.
Memory contiguity of calculation result is not always compatible with numpy.einsum.
castingoptions are not supported.
- subscripts (str) – Specifies the subscripts for summation.
- operands (sequence of arrays) – These are the arrays for the operation.
The calculation based on the Einstein summation convention.