Skip to main content

ContractThirdFourthWithFirstSecond

Trait ContractThirdFourthWithFirstSecond 

Source
pub trait ContractThirdFourthWithFirstSecond<TKL> {
    type Output;

    // Required method
    fn contract_third_fourth_with_first_second(
        self,
        tensor: TKL,
    ) -> Self::Output;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<const D: usize, I, J, K, L, M, N, U, V> ContractThirdFourthWithFirstSecond<&TensorRank4<D, K, L, M, N, V>> for TensorRank4<D, I, J, K, L, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank4<D, I, J, M, N, <U as UnitMul<V>>::Output>

Source§

impl<const D: usize, I, J, K, L, U, V> ContractThirdFourthWithFirstSecond<&TensorRank2<D, K, L, V>> for TensorRank4<D, I, J, K, L, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank2<D, I, J, <U as UnitMul<V>>::Output>