DeviceCreationTriAPI

Trait DeviceCreationTriAPI 

Source
pub trait DeviceCreationTriAPI<T>: DeviceRawAPI<T>
where T: Num,
{ // Required methods fn tril_impl<D>( &self, raw: &mut Self::Raw, layout: &Layout<D>, k: isize, ) -> Result<(), Error> where D: DimAPI; fn triu_impl<D>( &self, raw: &mut Self::Raw, layout: &Layout<D>, k: isize, ) -> Result<(), Error> where D: DimAPI; }

Required Methods§

Source

fn tril_impl<D>( &self, raw: &mut Self::Raw, layout: &Layout<D>, k: isize, ) -> Result<(), Error>
where D: DimAPI,

Source

fn triu_impl<D>( &self, raw: &mut Self::Raw, layout: &Layout<D>, k: isize, ) -> Result<(), Error>
where D: DimAPI,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> DeviceCreationTriAPI<T> for DeviceOpenBLAS
where T: Num + Clone, Self: DeviceRawAPI<T, Raw = Vec<T>>,

Source§

impl<T> DeviceCreationTriAPI<T> for DeviceCpuSerial
where T: Num + Clone, DeviceCpuSerial: DeviceRawAPI<T, Raw = Vec<T>>,