TensorLog10API

Trait TensorLog10API 

Source
pub trait TensorLog10API {
    type Output;

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

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

Required Associated Types§

Required Methods§

Source

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

Provided Methods§

Source

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

Implementors§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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