Trait Inverse

Source
pub trait Inverse {
    type Output;

    // Required method
    fn inverse(&self) -> Self::Output;
}
Expand description

The Inverse trait generically establishes an interface for computing the inverse of a type, regardless of if its a tensor, scalar, or some other compatible type.

Required Associated Types§

Source

type Output

the output, or result, of the inverse operation

Required Methods§

Source

fn inverse(&self) -> Self::Output

compute the inverse of the current object, producing some Output

Implementations on Foreign Types§

Source§

impl<T> Inverse for ArrayBase<OwnedRepr<T>, Dim<[usize; 2]>>

Implementors§