Commit graph

14 commits

Author SHA1 Message Date
e4e17953e2 Added append_row, append_column, append_row_zeroes and append_column_zeroes methods to math::matrix::Matrix + some tests
Minor index.scss styles changes
Added prototype implementation for MatrixComponent in web crate
2024-05-24 02:42:09 +03:00
199805aafc Added favicon and styles index.scss files, updated .gitignore 2024-05-23 21:48:17 +03:00
f62c06a49b Added crate web with sample yew code, added trunk config file 2024-05-23 11:43:49 +03:00
211fc67cf2 Restructured the project to use cargo workspace, math module is now a separate crate 2024-05-23 11:08:52 +03:00
a998ec4339 Implemented matrix multiplication, added tests for matrix mul and iter 2024-05-23 10:43:04 +03:00
7cad1b8dfc Implemented row, column, column_iter and column_iters methods, added more tests 2024-05-23 02:15:53 +03:00
60a7ae725a ColumnIter 2024-05-18 16:16:14 +03:00
0397811247 todo: finish matrix mul 2024-05-18 13:19:34 +03:00
79d94bf357 Restructured matrix module, it is now separated into 1 primary module matrix (struct definition, init methods and getters) and 3 sub-modules: iter - structs and methods for iteration, arithmetic - impl of traits for arithmetic operations, ops - non-arithmetic matrix operations
Implemented Mul, MulAssign, Div and DivAssign traits for Matrix
Added more tests
2024-05-18 12:48:59 +03:00
a2e311f295 Separated Num and Num + Clone implementations
Implemented iterator over every matrix element index pair (i, j) in method Matrix::indices
Removed redundat lifetime specifiers in some iterator methods
Implemented Add, AddAssign, Sub, SubAssign and Neg traits for Matrix
Added some tests for new functionality
2024-05-17 13:33:56 +03:00
25c1f55254 Changed generic type T of matrix to only accept Num + Clone
Derived some traits for Matrix
Added panic when forming minor of a 2x2 matrix
Added row iteration and indexed (i, j) element iteration
Added more tests to Matrix
2024-05-14 14:24:54 +03:00
883df942ea Added into_iter, iter and iter_mut methods to Matrix, restructured math modules 2024-05-13 11:34:59 +03:00
1c4b7dfff3 Added SquareMatrix struct, started implemeting some methods for Matrix 2024-05-11 14:12:26 +03:00
93579e28f0 Initial commit 2024-05-11 01:59:56 +03:00