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, Ix2>
where A: Copy + Num + 'static, S: Data<Elem = A>, ArrayBase<S, Ix2>: Clone + Dot<ArrayBase<S, Ix2>, Output = Array<A, Ix2>>,

Source§

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

Source§

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

Implementors§