nalgebra/src/traits/inv.rs
2013-05-21 22:46:33 +00:00

11 lines
232 B
Rust

/**
* Trait of inversible objects. Typically used to implement matrix inverse.
*/
pub trait Inv
{
/// Returns the inverse of an element.
fn inverse(&self) -> Self;
/// Inplace version of `inverse`.
fn invert(&mut self);
}