einsum¶
- einsum(subscripts: str, *operands: PolyArray | ndarray) Poly | PolyArray[Dim]¶
Einstein summation for polynomial arrays and NumPy arrays.
Compute the expression defined by
subscriptsusingPolyArrayand/or NumPy operands, similar tonumpy.einsum.- Parameters:
- Returns:
Computed result for
subscripts.- Return type:
- Raises:
TypeError – If no operand is provided or an operand type is invalid.