TensorConjAPI

Trait TensorConjAPI 

Source
pub trait TensorConjAPI {
    type Output;

    // Required method
    fn conj_f(self) -> Result<Self::Output, Error>;

    // Provided method
    fn conj(self) -> Self::Output
       where Self: Sized { ... }
}

Required Associated Types§

Required Methods§

Source

fn conj_f(self) -> Result<Self::Output, Error>

Provided Methods§

Source

fn conj(self) -> Self::Output
where Self: Sized,

Implementors§

Source§

impl<R, T, B, D> TensorConjAPI for &TensorBase<Storage<R, T, B>, D>
where D: DimAPI, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, B: DeviceAPI<T> + DeviceAPI<<B as DeviceConjAPI<T, D>>::TOut> + DeviceConjAPI<T, D> + DeviceCreationAnyAPI<<B as DeviceConjAPI<T, D>>::TOut>,

Source§

type Output = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<<B as DeviceConjAPI<T, D>>::TOut>>::Raw>, <B as DeviceConjAPI<T, D>>::TOut, B>, D>

Source§

impl<T, B, D> TensorConjAPI for TensorBase<Storage<DataRef<'_, <B as DeviceRawAPI<T>>::Raw>, T, B>, D>
where D: DimAPI, B: DeviceAPI<T> + DeviceAPI<<B as DeviceConjAPI<T, D>>::TOut> + DeviceConjAPI<T, D> + DeviceCreationAnyAPI<<B as DeviceConjAPI<T, D>>::TOut>,

Source§

type Output = TensorBase<Storage<DataOwned<<B as DeviceRawAPI<<B as DeviceConjAPI<T, D>>::TOut>>::Raw>, <B as DeviceConjAPI<T, D>>::TOut, B>, D>

Source§

impl<T, B, D> TensorConjAPI for TensorBase<Storage<DataOwned<<B as DeviceRawAPI<T>>::Raw>, T, B>, D>
where D: DimAPI, B: DeviceAPI<T> + DeviceConjAPI<T, D, TOut = T> + DeviceCreationAnyAPI<T>,