extended_matrix 0.9.9

A matrix calculation module.
Documentation
1
2
3
4
5
6
7
8
#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
pub struct Position(pub usize, pub usize);

impl Position {
    pub(crate) fn swap_row_and_column(&mut self) {
        (self.0, self.1) = (self.1, self.0);
    }
}