Skip to main content

ContractThirdWithFirst

Trait ContractThirdWithFirst 

Source
pub trait ContractThirdWithFirst<TKL> {
    type Output;

    // Required method
    fn contract_third_with_first(&self, tensor: TKL) -> Self::Output;
}
Expand description

Transforms the third index of a rank-4 tensor.

Contracts it with the first index of a rank-2 tensor.

Required Associated Types§

Required Methods§

Source

fn contract_third_with_first(&self, tensor: TKL) -> Self::Output

Implementors§

Source§

impl<const D: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize> ContractThirdWithFirst<&TensorRank2<D, M, K>> for TensorRank4<D, I, J, M, L>

Source§

type Output = TensorRank4<D, I, J, K, L>