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.