Class EinsteinSummation
java.lang.Object
org.episteme.core.mathematics.linearalgebra.tensors.EinsteinSummation
Utility for Einstein summation convention (einsum).
Evaluates tensor contractions based on a subscript string. Example: "ij,jk->ik" corresponds to matrix multiplication.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
-
Method Details
-
einsum
Performs Einstein summation.- Type Parameters:
T- the field element type- Parameters:
equation- the equation string (e.g. "ij,jk->ik")operands- the tensor operands- Returns:
- the resulting tensor
-