Commit Graph

2603 Commits

Author SHA1 Message Date
Andreas Longva 660ee9c6f2 Update slice->view in nalgebra-lapack 2022-11-14 15:21:20 +01:00
Andreas Longva f007772f4b Update slice->view in nalgebra-glm 2022-11-14 15:18:28 +01:00
Andreas Longva 6c8947ccc0 Replace slice->view in tests and benches 2022-11-14 15:16:23 +01:00
Andreas Longva 234d61faa2 Rename SliceRange to DimRange 2022-11-14 14:47:43 +01:00
Andreas Longva 0c402318ec Rename internal assert_slice_index -> assert_view_index 2022-11-14 14:42:23 +01:00
Andreas Longva 8867b365e3 Rename slice -> view in parameter names, comments etc. 2022-11-14 14:40:53 +01:00
Andreas Longva 34f4537376 Use view* instead of slice* methods in src/ 2022-11-14 14:14:42 +01:00
Andreas Longva 0319d236af Deprecate+rename methods for slicing 2022-11-14 14:02:36 +01:00
Andreas Longva eb456f18bb Move slice deprecation macro to lib.rs
This way we can use it across the library, in changes that
will follow this commit.
2022-11-14 10:56:14 +01:00
Andreas Longva a68d9b5ded Rename construction_slice.rs -> construction_view.rs 2022-11-14 09:42:59 +01:00
Andreas Longva 2ca4b3b02d Deprecate MatrixSliceMutN
There is no other type alias with this naming convention. I believe it
is a remnant from the past, when we had e.g. MatrixN type aliases. But
these no longer exist, therefore I believe this alias should also be
removed, instead of updated to "MatrixViewMutN".
2022-11-14 09:41:04 +01:00
Andreas Longva f792b5f568 Deprecate MatrixSliceMutMN
In the past, MatrixSliceMut did not have the same defaults. However,
for a while now MatrixSliceMut has served the exact same purpose
(in fact their definitions are identical), so we should
deprecate MatrixSliceMutMN.
2022-11-14 09:40:48 +01:00
Andreas Longva 7d5097b0b2 Remove use of deprecated *Slice aliases in nalgebra 2022-11-14 09:33:08 +01:00
Andreas Longva e245e1148a Deprecate slice type aliases 2022-11-14 09:26:45 +01:00
Sébastien Crozet 0981f9c660 Release v0.31.4 2022-11-13 18:40:03 +01:00
Andreas Longva 4234883d23 Add View type aliases 2022-11-11 17:36:50 +01:00
Andreas Longva 9a7e92e902 Rename matrix_slice.rs to matrix_view.rs 2022-11-11 17:29:55 +01:00
Andreas Longva 29bff32d2d Rename MatrixSlice(Mut) to MatrixView(Mut)
Additionally introduce deprecated type aliases with the old names to avoid
a breaking change.
2022-11-11 16:10:40 +01:00
Andreas Longva c8dfb5e348 Rename SliceStorage(Mut) to ViewStorage(Mut)
Additionally, we add type aliases with the old names to maintain
backwards compatibility with deprecation warnings.
2022-11-11 15:46:06 +01:00
Sébastien Crozet 6ded8db479
Merge pull request #1175 from devil-ira/glam-0.22
Support conversion for glam 0.22
2022-11-05 11:25:37 +01:00
devil-ira 8601c655de Support conversion for glam 0.22 2022-11-05 00:33:38 +01:00
Sébastien Crozet 30ed929c5c
Merge pull request #1174 from allan2/dev
Use parenthesis for exclusive lower bound
2022-11-04 19:21:25 +01:00
Allan Zhang 20dbfbd6f9 Use parenthesis for exclusive lower bound
Changes `]0, pi]` to `(0, pi]`.

Replaces PR #1173 and resolves Issue #1164.
2022-11-04 09:34:46 -04:00
Sébastien Crozet fd644d914a Release nalgebra-sparse v0.8 2022-10-30 17:43:24 +01:00
Sébastien Crozet 79c85ac4be Release nalgebra-lapack v0.23 2022-10-30 17:42:59 +01:00
Sébastien Crozet 1eb5cc2851 Release v0.31.3 2022-10-30 17:41:21 +01:00
Sébastien Crozet 0d9adec0ab
Merge pull request #1106 from geoeo/dev
enabled complex eigenvectors for lapack
2022-10-30 17:34:50 +01:00
Sébastien Crozet 24e85b9883 Reset nalgebra-lapack cargo.toml to its previous defaults 2022-10-30 17:22:46 +01:00
Sébastien Crozet e32f4ee16f cargo fmt + tests 2022-10-30 17:22:08 +01:00
Sébastien Crozet 5389212c3c
Merge pull request #1171 from md2468/try_cast
Added `try_cast()` to `Matrix`.
2022-10-27 23:03:57 +02:00
_ c9fa7a35e7 Added try_cast() to Matrix 2022-10-27 19:56:38 +00:00
Marc Haubenstock 9c8b5f0f38 added a function to get all the real elements 2022-10-26 16:26:06 +02:00
Marc Haubenstock 14394b7e67
Merge branch 'dimforge:dev' into dev 2022-10-26 12:45:48 +02:00
Marc Haubenstock 84c37b79dd testing eigenvectors 2022-10-23 21:43:33 +02:00
Marc Haubenstock aa89cda0cd testing complex eigenvalues 2022-10-23 20:36:06 +02:00
Marc Haubenstock 4a1fd605e4 fixed iteration 2022-10-23 19:23:13 +02:00
Marc Haubenstock 9acaa35e33 fixed iteration 2022-10-22 21:26:09 +02:00
Marc Haubenstock 81f1a6d87e review conjugate indexing 2022-10-16 12:03:08 +02:00
Marc Haubenstock 01c5b9ea56 switch back to Dim + zero_generic 2022-10-16 11:55:07 +02:00
Marc Haubenstock ee3f84abba first version 2022-10-16 11:52:32 +02:00
Marc Haubenstock 8ee68afaac commented out so that code compiles 2022-10-15 19:17:05 +02:00
Marc Haubenstock b732b75a77 added panic so that the code compiles 2022-10-15 19:10:31 +02:00
Marc Haubenstock d61f9e29ba working on issue 1106 2022-10-15 16:49:13 +02:00
Andreas Borgen Longva 2f1f4414e2
Merge pull request #1162 from dstansby/csr-example
Make CSR matrix example more self contained
2022-10-14 17:01:14 +02:00
David Stansby c596e4985d Make CSR/CSC matrix examples more self contained 2022-10-14 13:52:56 +01:00
Sébastien Crozet 6fd6965bb8
Merge pull request #1153 from peng1999/fix-rkyv
Fix usage of CheckBytes
2022-10-14 10:02:19 +02:00
Peng Guanwen f485806782 rustfmt 2022-10-13 12:22:45 +00:00
Peng Guanwen bc566d91bf Add test for rkyv 2022-10-13 12:22:45 +00:00
Peng Guanwen 2cbb27c6f8 Derive CheckBytes trait on Archive struct 2022-10-13 12:22:45 +00:00
Andreas Borgen Longva eb2b23b103
Merge pull request #1158 from lsh/dev
[Sparse] Add `triplet_iter_mut()`
2022-10-11 09:00:38 +02:00