forked from M-Labs/nalgebra
11 lines
232 B
Rust
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);
|
|
}
|