nalgebra/src/traits/inv.rs

11 lines
232 B
Rust
Raw Normal View History

/**
* Trait of inversible objects. Typically used to implement matrix inverse.
*/
2013-05-15 08:18:13 +08:00
pub trait Inv
2013-05-14 19:35:01 +08:00
{
2013-05-17 05:59:41 +08:00
/// Returns the inverse of an element.
fn inverse(&self) -> Self;
2013-05-17 05:59:41 +08:00
/// Inplace version of `inverse`.
fn invert(&mut self);
2013-05-14 19:35:01 +08:00
}