Function einsum
Source pub fn einsum<T: EinsumScalar>(
notation: &str,
operands: Vec<NdOperand<'_>>,
) -> Result<ArrayD<T>>
Expand description
Parse and evaluate an einsum expression on ndarray operands.
Returns the result as an owned ArrayD<T>.
§Example
ⓘlet c: ArrayD<f64> = einsum("ij,jk->ik", vec![(&a).into(), (&b).into()])?;