Move `Index2D` trait to the matrix module

master
Andrew Cassidy 1 year ago
parent 11e6b8c87f
commit bc1b3f199d

@ -1,7 +1,6 @@
extern crate core;
pub mod decompose;
pub mod index;
mod matrix;
mod util;

@ -1,4 +1,4 @@
use crate::index::Index2D;
use index::Index2D;
use num_traits::{NumOps, One, Zero};
use std::fmt::Debug;
@ -7,6 +7,7 @@ use std::iter::{zip, Flatten, Product, Sum};
use std::ops::{Add, AddAssign, Deref, DerefMut, Index, IndexMut, Mul, MulAssign, Neg};
pub mod ops;
mod index;
/// A 2D array of values which can be operated upon.
///

Loading…
Cancel
Save