_
c9fa7a35e7
Added try_cast() to Matrix
2022-10-27 19:56:38 +00: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
lukas
e227dd693e
Refactor unit tests
2022-10-10 19:05:47 -07:00
Sébastien Crozet
983e6db859
Merge pull request #1161 from dimforge/v0.31.2
...
Release v0.31.2
2022-10-09 22:15:51 +02:00
Sébastien Crozet
a752a4bbf5
Release v0.31.2
2022-10-09 22:03:03 +02: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
Sébastien Crozet
202a548a37
Merge pull request #1156 from dimforge/fix-ci
...
Add a non-const version of Point::new when the cuda feature is enabled
2022-09-24 10:35:15 +02:00
Sébastien Crozet
1870080f94
Remove const for Point1::new when targetting cuda
2022-09-24 10:13:15 +02:00
Sébastien Crozet
1079f0c1c3
Add a non-const version of Point::new when the cuda feature is enabled
2022-09-24 09:50:58 +02:00
Andreas Borgen Longva
7adecdef6c
Merge pull request #1144 from Patiga/lib-doc-link-items
...
Link listed types in lib.rs to their docs
2022-09-12 09:08:20 +02:00
Patiga
3aca9af616
Link listed types in lib.rs to their docs
...
Helpful because lib.rs is the 'main page' for docs.rs
This allows for easy/direct access to the mentioned types
Currently you need to look up mentioned types via the search bar
2022-09-04 00:39:57 +02:00
Sébastien Crozet
5cf6afb254
Merge pull request #1141 from lsh/sparse-clear-triplet
...
[Sparse] Add `clear_triplets()`
2022-08-22 09:09:39 +02: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
d09d06858f
Merge pull request #1120 from Ralith/unit-vector-cast
...
Implement `cast` for `Unit<Vector<T, D, S>>`
2022-08-14 15:04:50 +02:00
Sébastien Crozet
0fcf2f61d2
Merge pull request #1112 from SolraBizna/point-construction-const-fn
...
Make "Point::new" a const fn
2022-08-14 15:03:09 +02:00
Sébastien Crozet
daa2ea33b2
Merge pull request #1140 from patowen/improve-dim-performance-with-inline
...
Use #[inline] to improve opt-level 1 performance
2022-08-12 09:22:36 +02:00
Patrick Owen
84c44984b1
Use #[inline] to improve opt-level 1 performance
2022-08-12 01:33:11 -04:00
Sébastien Crozet
2aff922ac8
Merge pull request #1138 from ritobanrc/doc-fix
...
Update DefaultAllocator docs to say ArrayStorage instead of GenericArray
2022-08-09 09:35:04 +02:00
Ritoban Roy-Chowdhury
d3b7acce4d
update DefaultAllocator docs to say ArrayStorage instead of GenericArray
2022-08-08 17:48:10 -07:00
Sébastien Crozet
11ff2ed69b
Release v0.31.1
2022-07-31 09:47:58 +02:00
Sébastien Crozet
74c4aa9c9f
Merge pull request #1133 from dimforge/from_row_iterator
...
Sound implementation of from row iterator
2022-07-31 09:31:49 +02:00
Sébastien Crozet
54ab62d971
Remove another unused extern crate.
2022-07-30 18:19:17 +02:00
Sébastien Crozet
d5284a2a86
Remove unused extern crate.
2022-07-30 18:16:18 +02:00
Sébastien Crozet
89767ee9f3
Reduce code duplication for allocating a storage from a raw iterator.
2022-07-30 18:06:47 +02:00
Gianluca Oldani
59b01e955f
Fixed formatting
2022-07-30 17:52:04 +02:00
Gianluca Oldani
8588ef8fb2
Sound implementation for from_row_iterator
2022-07-30 17:52:04 +02:00
Chammika Mannakkara
008511d96e
from_row_iterator added
2022-07-30 17:52:04 +02:00
Sébastien Crozet
d0d88f1e82
Merge pull request #1113 from trueb2/user/trueb2/fix-unitcomplex-assertion
...
Fix UnitComplex cast doctest failure on macOS
2022-07-30 17:33:13 +02:00
Sébastien Crozet
1e9e1ba46d
Merge pull request #1101 from timethy/dev
...
Fix from_matrix when argument is already a valid rotation matrix
2022-07-27 22:22:27 +02:00
Tim Taubner
0c2d9deac7
cargo fmt
2022-07-27 11:44:42 +02:00
Tim Taubner
7aadbcf21d
From_rotation_matrix: Use the larger of eps.sqrt() or eps*eps as disturbance. Add tests for eps > 1.0
2022-07-27 11:31:43 +02:00
Sébastien Crozet
18a8a30671
cargo fmt
2022-07-27 09:49:16 +02:00
Sébastien Crozet
26e69863e1
Rotation from matrix: small code cleanups
2022-07-27 09:49:16 +02:00
Tim Taubner
d515e4f1be
Perturbations to check for convergence into maximum.
2022-07-27 09:49:16 +02:00
Tim Taubner
ac203fe4fd
Add test case for issue 628
2022-07-27 09:49:16 +02:00
Tim Taubner
257d95b3d3
Add test case for issue 1078
2022-07-27 09:49:16 +02:00
Tim Taubner
f9aa2d76aa
Start from random rotation in from_matrix to prevent issues when calling from_matrix on rotation matrices
2022-07-27 09:49:16 +02:00