Commit Graph

237 Commits

Author SHA1 Message Date
julianknodt 951ec4b190 Implement SparseLU factorization
Add `solve_upper_triangular` to `CsrMatrix`

This allows a sparse matrix to be used for efficient solving with a dense LU decomposition.

Add CscBuilder

For partial construction of Csc matrices

Start working on actual LU factorization

Complete basic version of sparse LU factorization

Reformat to compile in old version

Add LU tests

Add upper triangular solve

Complete tests of Sparse LU factorization
2024-01-13 18:48:26 -08:00
Julian Knodt 1e0cb7bc09
Fix Clippy Warnings (#1300) 2023-12-16 13:54:38 -08:00
Sébastien Crozet 83eccc6b8f
Merge pull request #1312 from arscisca/dev-DefaultTrait
Implement Default trait for sparse matrix types
2023-11-12 23:27:37 +01:00
Sébastien Crozet c5276c90e1 cargo fmt 2023-11-12 23:17:33 +01:00
Alessandro Rocco Scisca 0887b875a5 Implement Default trait for sparse matrix types 2023-10-30 17:50:56 +00:00
Fabio Valentini bad63b6423
Fix and clarify license in crate metadata and add missing license files 2023-10-24 18:33:53 +02:00
Sébastien Crozet c6ff3eeb7e
Merge pull request #1265 from waywardmonkeys/fix-html-links
docs: Use intradoc links rather than HTML.
2023-09-30 18:24:28 +02:00
Sébastien Crozet 1987ca29bb
Merge pull request #1282 from waywardmonkeys/clippy-needless-borrow
clippy: Fix needless_borrow warnings.
2023-09-30 18:15:42 +02:00
Sébastien Crozet b39bd09eaa chore: swap test names 2023-09-30 17:55:04 +02:00
julianknodt 666b0fd2de Add `try_from_triplets_iter`
Calls `try_from_triplets` for now, and is mentioned in the documentation.
2023-08-22 22:19:42 -07:00
Bruce Mitchener 1d9a4bf6ec clippy: Fix needless_borrow warnings. 2023-08-19 00:36:24 +07:00
Bruce Mitchener 136a565579 docs: Use intradoc links rather than HTML.
This fixes almost all HTML links to be intradoc links that Rust
can verify during `cargo doc`. This will help prevent future
broken links.
2023-08-06 22:34:40 +07:00
Chris Ohk fd97a82926 fix: Correct minor typos 2023-02-01 15:48:06 +09:00
Sébastien Crozet 8aa34a952f Release v0.32.0 2023-01-14 17:04:22 +01:00
Sébastien Crozet 711ac67da9 Deplecate Dynamic and Dynamic::new 2023-01-14 16:22:40 +01:00
Andreas Longva 02caca0ece Update slice->view in nalgebra-sparse 2022-11-14 15:32:17 +01:00
Sébastien Crozet fd644d914a Release nalgebra-sparse v0.8 2022-10-30 17:43:24 +01:00
David Stansby c596e4985d Make CSR/CSC matrix examples more self contained 2022-10-14 13:52:56 +01:00
lukas e227dd693e Refactor unit tests 2022-10-10 19:05:47 -07:00
lukas 9a38c554af add test case 2022-10-02 11:57:37 -07:00
lukas b37eeee636 add mutable triplet iter 2022-09-30 19:49:47 -07:00
lukas 498fbf51b1 remove unnecessary trait bounds 2022-08-20 00:09:12 -07:00
lukas 0eb1f5c125 'fix error's 2022-08-16 20:10:17 -07:00
Lukas Hermann b9483ab545 remove bad return type 2022-08-16 22:06:43 +00:00
lukas 41e1cc0db2 extend test case 2022-08-16 00:20:13 -07:00
lukas bdfa643e3c clear_triplets 2022-08-16 00:15:03 -07:00
lukas bcc5527baa Switch return type to just T 2022-08-15 19:28:58 -07:00
lukas b90dc7c042 Add `clear_triplet()` 2022-08-15 19:14:38 -07:00
Sébastien Crozet 11ff2ed69b Release v0.31.1 2022-07-31 09:47:58 +02:00
Sébastien Crozet 54ab62d971 Remove another unused extern crate. 2022-07-30 18:19:17 +02:00
Andreas Longva 80e77d2f9f Fix formatting 2022-06-13 09:55:16 +02:00
Andreas Borgen Longva 030f155dc3
Merge branch 'dev' into matrixmarket-io 2022-06-13 09:51:08 +02:00
Andreas Longva 037226bb1f Use ? instead of unwrap() in examples 2022-05-09 10:02:26 +02:00
Andreas Longva 59421896ce Polish docs for save_* matrix market methods 2022-05-09 09:59:09 +02:00
Andreas Longva 9b32195558 Change write -> save in order to be consistent with load terminology 2022-05-09 09:51:55 +02:00
Andreas Longva ef9a3dd767 Update module-level docs 2022-05-09 09:23:42 +02:00
Hantao Hui 8424232dfb merge updates from dev branch 2022-05-07 13:46:52 +02:00
Hantao Hui 31fc498182 use tempdir to write matrix when running test 2022-05-07 13:40:25 +02:00
Saurabh f77226b472 fix failing test 2022-05-03 14:41:59 -06:00
Sébastien Crozet 284494fe5a Release v0.31.0 2022-05-03 14:41:59 -06:00
Saurabh f77e12ff2f add checks to make sure access won't be out of bounds 2022-04-22 12:15:59 -06:00
Andreas Borgen Longva 3981857f2b
Merge branch 'dev' into matrixmarket-io 2022-04-22 08:57:06 +02:00
Saurabh 19c7f19afa fix tests 2022-04-01 15:26:55 -06:00
Saurabh e3fd0e7393 remove the checked suffix to keep backward compatibility 2022-04-01 15:26:36 -06:00
Saurabh 2606409a02 delete example and remove compiler optimisation flags 2022-04-01 15:26:18 -06:00
Saurabh 04a97bb79e Merge branch 'dev' of https://github.com/dimforge/nalgebra into dev 2022-03-21 16:57:32 -06:00
Saurabh d1674d7577 Mul trait goes to faster kernel, pattern is correct 2022-03-21 16:56:51 -06:00
Saurabh f795f0f872 tests don't need to test the unchecked kernel separately 2022-03-21 16:56:22 -06:00
Saurabh c6f832d1d8 put back checked kernels and refactor upper layer 2022-03-21 16:55:46 -06:00
Hantao Hui 8e48d26767 add more tests; use bufwritter; fix typo; use temp_dir to test with files 2022-03-21 12:19:34 +01:00