Trait geomath::prelude::Split [−][src]
pub trait Split<T> {
fn split(&self) -> [T; 2];
fn concat(lhs: &T, rhs: &T) -> Self;
fn upper(&self) -> T;
fn lower(&self) -> T;
fn set_upper(&mut self, val: &T) -> &mut Self;
fn set_lower(&mut self, val: &T) -> &mut Self;
}
Expand description
Split an object onto two part that can be concatenated or accessed separately
It aims to be the upper and lower parts of a vector or the upper diagonal and lower diagonal parts of a matrix.