Trait LinAlgUnary

Source
pub trait LinAlgUnary<A, T>: PlatformInstance
where A: Access<T>, T: CType,
{ type Op: ReadOp<Self, T>; // Required method fn diag( self, access: A, batch_size: usize, dim: usize, ) -> Result<AccessOp<Self::Op, Self>, Error>; }

Required Associated Types§

Source

type Op: ReadOp<Self, T>

Required Methods§

Source

fn diag( self, access: A, batch_size: usize, dim: usize, ) -> Result<AccessOp<Self::Op, Self>, Error>

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<A: Access<T>, T: CType> LinAlgUnary<A, T> for Platform

Source§

type Op = MatDiag<A, T>

Source§

impl<A: Access<T>, T: CType> LinAlgUnary<A, T> for Host

Source§

type Op = MatDiag<A, T>