Compare commits

..

36 Commits

Author SHA1 Message Date
e690e88bed update: cargo 2026-04-29 20:02:49 -06:00
074b1edbb6 refactor: changed Display implementation 2026-04-29 19:54:26 -06:00
384544c5ae fix: reexport Fractions
problems so thsi fixex
2026-04-29 18:41:59 -06:00
725ca99712 addition: error implementation 2026-04-29 17:57:30 -06:00
2494c237d7 cargo: took out num-traits dependency 2026-04-29 17:54:33 -06:00
9b61d89fc4 test: tests for mult 2026-04-29 17:34:26 -06:00
91820b4a73 test: tests for sub 2026-04-29 17:31:43 -06:00
0a23721263 test: tests for add 2026-04-29 17:28:51 -06:00
5ff1370d31 test: solve with inverse 2026-04-29 17:23:31 -06:00
dc4d0c8e73 test: solve with gauss jordan 2026-04-29 17:18:35 -06:00
62220c762f test: inverse 2026-04-29 17:12:45 -06:00
18f2952879 test: determinant 2026-04-29 16:57:35 -06:00
f859b26edb test: gaussian and gauus jordan elimination 2026-04-29 16:53:28 -06:00
95f4fe76d0 test: test for submatrix 2026-04-29 16:29:32 -06:00
e23d23d69e test: test for insert_column 2026-04-29 16:13:00 -06:00
c1f29d7302 test: tests for exchange_columns 2026-04-29 16:09:30 -06:00
03b17391c4 test: tests for set_column 2026-04-29 16:07:30 -06:00
6d8ec6cfca test: tests for set_row 2026-04-29 15:58:48 -06:00
03ef7526f1 test: test set 2026-04-29 15:55:38 -06:00
622e23be42 test: test for get_diagonal 2026-04-29 15:53:10 -06:00
03254dcad7 test: test for get_column 2026-04-29 15:51:46 -06:00
2ef0e479ef test: tests for get_row 2026-04-29 15:50:22 -06:00
cb130f5d86 test: tests for get 2026-04-29 15:42:33 -06:00
b376e3018a test: test for new 2026-04-29 15:38:47 -06:00
410d963f39 addition: solve by inverse 2026-04-29 15:28:49 -06:00
8db0ebb977 addtion: matrix solution by gauss jordan 2026-04-29 12:25:03 -06:00
23b78eedd9 addition: inverse no ttested, nothing at all 2026-04-29 11:55:39 -06:00
36cb3fb491 addtion/fix: added insert column and row 2026-04-29 11:02:05 -06:00
31256af24c addition: funtion for addign columns and rows 2026-04-28 17:37:00 -06:00
6757e85eaf addition: add row and column 2026-04-28 07:23:28 -06:00
41ec49857f fix: gaussian elimination 2026-04-27 23:46:01 -06:00
1a40c19be3 addition: gauss-jordan-elimination 2026-04-27 23:41:18 -06:00
c739a792f1 refactor: gaussian elimination own funtion 2026-04-27 22:18:34 -06:00
b76689cfc9 refactor: get_row, column adn diagunal uses iterators 2026-04-27 22:07:37 -06:00
2f03d65267 refactor: added result and Matrix Error 2026-04-27 21:39:26 -06:00
5125e5c3c0 refactor: Moved from T to Fractions 2026-04-27 21:00:51 -06:00
5 changed files with 3378 additions and 553 deletions

18
Cargo.lock generated
View File

@@ -2,30 +2,14 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 4 version = 4
[[package]]
name = "autocfg"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
[[package]] [[package]]
name = "fractions" name = "fractions"
version = "0.1.0" version = "0.1.0"
source = "git+https://laentropia-homelab.tail7368da.ts.net/laentropia/Rusty-Fractions.git?branch=main#e79d93aa9d20a90358789f872994bc8cefa2779e" source = "git+https://laentropia-homelab.tail7368da.ts.net/laentropia/Rusty-Fractions.git?branch=main#2fea33ca7080b4e05b6e4df0cad90d7e7c97f24f"
[[package]] [[package]]
name = "matrix" name = "matrix"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"fractions", "fractions",
"num-traits",
]
[[package]]
name = "num-traits"
version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
] ]

View File

@@ -4,5 +4,4 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
num-traits = "0.2.19"
fractions = {git = "https://laentropia-homelab.tail7368da.ts.net/laentropia/Rusty-Fractions.git", branch= "main" } fractions = {git = "https://laentropia-homelab.tail7368da.ts.net/laentropia/Rusty-Fractions.git", branch= "main" }

23
f
View File

@@ -1,23 +0,0 @@
commit 918815f5b1a997018bc83b9ec7d65dd3a7ca7bce (HEAD -> main)
Author: LaEntropiaa <aadrian887mh@gmail.com>
Date: Tue Aug 26 11:38:47 2025 -0600
Added sum and substract function
commit a0523d9ccb77f77184429638f33cc4adc1376a48
Author: LaEntropiaa <aadrian887mh@gmail.com>
Date: Thu Aug 21 11:45:42 2025 -0600
added display trait for matrix struct
commit 6b426fa1b0f9ebdbbf5e8c3b2eb2e435a053eca4
Author: LaEntropiaa <aadrian887mh@gmail.com>
Date: Wed Aug 20 10:32:43 2025 -0600
added get function
commit ef914ed0169305a120c16ad1e0c4927049af4c94
Author: LaEntropiaa <aadrian887mh@gmail.com>
Date: Sat Aug 9 16:19:53 2025 -0600
Initial comit, bases for matrix struct and creation

3884
src/lib.rs

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,3 @@
use matrix::Matrix;
fn main() { fn main() {
println!("Hola mundo que rollo wey"); println!("Hola mundo que rollo wey");
let mut matriz1 = Matrix::new(10, 15, 0.0);
matriz1.set(5, 5, 40.0);
println!("{}", matriz1);
} }