Skip to content

Static Vector and Matrices #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/matrix.rs → src/dynamic_matrix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ use std::ops::{Add, Deref, DerefMut, Div, Index, IndexMut, Mul, Sub};
use crate::axes::Axes;
use crate::coord;
use crate::coordinate::Coordinate;
use crate::dynamic_vector::DynamicVector;
use crate::error::ShapeError;
use crate::shape;
use crate::shape::Shape;
use crate::tensor::DynamicTensor;
use crate::vector::DynamicVector;
use num::{Float, Num};

pub struct DynamicMatrix<T: Num> {
Expand Down
2 changes: 1 addition & 1 deletion src/vector.rs → src/dynamic_vector.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::ops::{Add, Deref, DerefMut, Div, Index, IndexMut, Mul, Sub};

use crate::coord;
use crate::dynamic_matrix::DynamicMatrix;
use crate::error::ShapeError;
use crate::matrix::DynamicMatrix;
use crate::shape;
use crate::shape::Shape;
use crate::tensor::DynamicTensor;
Expand Down
6 changes: 4 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
pub mod axes;
pub mod coordinate;
pub mod dynamic_matrix;
pub mod dynamic_vector;
pub mod error;
pub mod iter;
pub mod matrix;
pub mod shape;
pub mod static_matrix;
pub mod static_vector;
pub mod storage;
pub mod tensor;
pub mod vector;
Loading