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>

Object Safety§

This trait is not object safe.

Implementors§

source§

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

§

type Op = MatDiag<A, T>

source§

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

§

type Op = MatDiag<A, T>