pub trait TensorDiagonal<D: Dir> {
    type Txn: Transaction<D>;
    type Diagonal: TensorAccess;

    fn diagonal<'async_trait>(
        self,
        txn: Self::Txn
    ) -> Pin<Box<dyn Future<Output = TCResult<Self::Diagonal>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }
Expand description

Tensor linear algebra operations

Required Associated Types

The type of Transaction to expect

The type of Tensor returned by diagonal

Required Methods

Implementors