[][src]Enum ndarray_einsum_beta::EinsumPathSteps

pub enum EinsumPathSteps<A> {
    SingletonContraction(SingletonContraction<A>),
    PairContractions(Vec<PairContraction<A>>),
}

Either a singleton contraction, in the case of a single input operand, or a list of pair contractions, given two or more input operands

Variants

SingletonContraction(SingletonContraction<A>)

A SingletonContraction consists of some combination of permutation of the input axes, diagonalization of repeated indices, and summation across axes not present in the output

PairContractions(Vec<PairContraction<A>>)

Each PairContraction consists of a possible simplification of each of the two input tensors followed by a contraction of the two simplified tensors. The two simplified tensors can be combined in a number of fashions.

Trait Implementations

impl<A: Debug> Debug for EinsumPathSteps<A>[src]

Auto Trait Implementations

impl<A> !Send for EinsumPathSteps<A>

impl<A> !Sync for EinsumPathSteps<A>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]