Matpow

Trait Matpow 

Source
pub trait Matpow<Rhs = Self> {
    type Output;

    // Required method
    fn pow(&self, rhs: Rhs) -> Self::Output;
}
Expand description

a trait denoting objects capable of matrix exponentiation

Required Associated Types§

Required Methods§

Source

fn pow(&self, rhs: Rhs) -> Self::Output

Implementations on Foreign Types§

Source§

impl<A, S> Matpow<i32> for ArrayBase<S, Dim<[usize; 2]>>
where A: Copy + Num + 'static, S: Data<Elem = A>, ArrayBase<S, Dim<[usize; 2]>>: Clone + Dot<ArrayBase<S, Dim<[usize; 2]>>, Output = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>>,

Source§

type Output = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

Source§

fn pow( &self, rhs: i32, ) -> <ArrayBase<S, Dim<[usize; 2]>> as Matpow<i32>>::Output

Implementors§