Commit Graph

2187 Commits

Author SHA1 Message Date
Hantao Hui 92b324c007 code fmt; fix failing unit test and doc test 2021-12-12 12:10:20 +01:00
huihantao 6cd009988c
Merge pull request #1 from Andlon/matrixmarket-io-fixes
Matrixmarket IO changes
2021-12-01 15:00:44 +01:00
Andreas Longva 9ddd09017d Update add IO feature to CI config for nalgebra-sparse 2021-12-01 12:18:50 +01:00
Andreas Longva e2820316a8 Fix typos 2021-12-01 12:17:47 +01:00
Andreas Longva 4569484aa0 Line breaks 2021-12-01 12:08:42 +01:00
Andreas Longva e3d1119bff Hide MatrixMarketScalar implementation details for now
The existing MatrixMarketScalar is relatively closely tied to the way
oru parser is implemented. I've moved these internals into an internal
trait and sealed the public trait.

This makes it less flexible for users for now, but gives us more freedom
to change internals in the future.
2021-12-01 11:45:11 +01:00
Andreas Longva 93f3d60005 Remove From<pest::Error> for MatrixMarketError
We want pest to remain an internal implementation detail, so it should
not leak into the public API.
2021-12-01 11:33:08 +01:00
Andreas Longva 4d0f401882 Add (failing) test for empty matrix market matrix 2021-12-01 11:27:03 +01:00
Andreas Longva 4c039573f2 Make nalgebra-sparse unit tests require io feature 2021-12-01 11:26:51 +01:00
Andreas Longva 1b73b2f991 Link to matrix market IO in lib.rs 2021-12-01 11:07:47 +01:00
Andreas Longva 3b67afcd9b Matrix market: Extend and reword documentation, rename some types 2021-12-01 11:07:13 +01:00
Hantao Hui 920bd75b82 fix typo 2021-11-18 11:42:47 +01:00
Hantao Hui 332fe8c0e4 update loading matrix market, including:
1. Several renamings
2. removed unnecessary traits
3. added support for dense matrix
4. removed unnecessary comparison when reading data line by line. (e.g.
   only read header line once)
2021-11-17 16:41:10 +01:00
Hantao Hui 7f9128c92d added reading matrix market data to sparse coomatrix 2021-11-02 10:59:59 +01:00
Sébastien Crozet 8ea8ac70d5
Merge pull request #961 from atouchet/badge
Fix crates.io badge
2021-10-31 14:25:49 +01:00
Sébastien Crozet 20d8e953c5
Merge pull request #1004 from MaxVerevkin/fix-750
fix linear indexing of matrix slices
2021-10-31 14:24:10 +01:00
Sébastien Crozet e05bfe48b3
Merge pull request #1012 from Yuri6037/scale
Scale
2021-10-25 10:20:07 +02:00
Sébastien Crozet 4be7db36fd
Remove useless `into_owned`. 2021-10-25 09:57:58 +02:00
Yuri Edward 209f77ccaf Fixed from_superset_unchecked 2021-10-24 22:26:01 +02:00
Yuri Edward 25dba52197 Removed additional into_owned call 2021-10-24 21:58:05 +02:00
Yuri Edward 54b8a5b900 Rollbacked buggy update 2021-10-24 21:55:11 +02:00
Yuri Edward 50f65123b5 Merge branch 'scale' of github.com:Yuri6037/nalgebra into scale 2021-10-24 21:52:45 +02:00
Yuri6037 b8800ccd15
Update src/geometry/scale_conversion.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 21:52:35 +02:00
Yuri Edward 9d2639b742 Removed clippy suspicious_arithmetic_impl allow 2021-10-24 21:51:36 +02:00
Yuri Edward 866cabaa28 Merge remote-tracking branch 'origin/scale' into scale 2021-10-24 20:55:35 +02:00
Yuri Edward 6d3978b212 Added Scale *= scalar + reordered ops 2021-10-24 20:55:10 +02:00
Yuri Edward 0aba533556 Added Scale * Vector 2021-10-24 20:45:40 +02:00
Yuri6037 8efa9f76b7
Update src/geometry/scale_coordinates.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:41:27 +02:00
Yuri6037 510ffcbb18
Update src/geometry/scale_coordinates.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:41:21 +02:00
Yuri Edward c11e1ffb4d Fixed missing curly bracket 2021-10-24 20:40:02 +02:00
Yuri6037 ded853757c
Update src/geometry/scale.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:31:35 +02:00
Yuri6037 f7eec7317c
Update src/geometry/scale_conversion.rs
Removed return.

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:27:54 +02:00
Yuri6037 5b44502632
Update src/geometry/scale.rs
Simplified code.

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:27:38 +02:00
Yuri6037 26e36c15ba
Update src/geometry/scale.rs
Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:25:48 +02:00
Yuri6037 6123c86f9e
Update src/geometry/scale.rs
Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:24:16 +02:00
Yuri6037 91b8424a86
Update src/geometry/scale.rs
Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:21:07 +02:00
Yuri6037 de41c42af7
Update src/geometry/scale.rs
Simplified code

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2021-10-24 20:20:13 +02:00
Sébastien Crozet 496969bf62
Merge pull request #1000 from aarsenij/csr_csc_constructor_for_unsorte_valid_data
CSR: Provide constructor for unsorted but otherwise valid data
2021-10-22 10:36:11 +02:00
Yuri Edward b91ead7971 Fixed Subset for Matrix 2021-10-21 15:56:07 +02:00
Yuri Edward 4466fb2514 Added point * vector 2021-10-21 15:47:00 +02:00
Yuri Edward 99704a0ea1 Updated all examples related to inversion API 2021-10-21 15:22:18 +02:00
Yuri Edward 82b8ac84a0 Fixed code formatting 2021-10-21 15:10:26 +02:00
Yuri Edward a64417870b Changed inverse API to pseudo_inverse, try_inverse, try_inverse_mut, try_inverse_transform_point, inverse_unchecked. 2021-10-21 15:06:25 +02:00
Anton 89416baace Bring apply permutation function back to serial.rs 2021-10-20 20:28:38 +02:00
Anton 752d1f300d Permute values without unnecessary allocation 2021-10-20 01:50:42 +02:00
Yuri Edward 1341801c56 Added scale * scalar + Cleanup scale_ops 2021-10-19 16:33:12 +02:00
Yuri Edward 865ac001d3 Re-armed scale_simba 2021-10-19 16:20:25 +02:00
Yuri Edward 94ef916f49 Fixed cargo fmt 2021-10-19 16:18:25 +02:00
Yuri Edward 0e2865085e Updated doc tests 2021-10-19 16:09:06 +02:00
Yuri Edward d82b39ca9a Added to_homogeneous 2021-10-19 16:01:02 +02:00