ndarray_linalg::trace

Trait Trace

source
pub trait Trace {
    type Output;

    // Required method
    fn trace(&self) -> Result<Self::Output>;
}

Required Associated Types§

Required Methods§

source

fn trace(&self) -> Result<Self::Output>

Implementations on Foreign Types§

source§

impl<A, S> Trace for ArrayBase<S, Ix2>
where A: Scalar + Sum, S: Data<Elem = A>,

source§

type Output = A

source§

fn trace(&self) -> Result<Self::Output>

Implementors§