Commit Graph

2769 Commits

Author SHA1 Message Date
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
Sébastien Crozet 7b0c9d64a0
Merge pull request #1130 from devil-ira/glam-0.21
Support conversion for glam `0.21`.
2022-07-24 17:30:31 +02:00
devil-ira 238750fb30 Use `From` trait to convert glam types to arrays. 2022-07-23 23:55:40 +02:00
devil-ira 1e31e6ba69 Add feature `convert-glam021`. 2022-07-23 17:39:59 +02:00
zyansheep f66b690fe8 num-complex conflicting with simba why 2022-07-14 08:07:30 -04:00
zyansheep 71379c0748 cargo fmt 2022-07-13 23:05:44 -04:00
zyansheep 9a98b0cf24 various implementations 2022-07-13 23:02:17 -04:00
zyansheep a725faaf6a fix matrix impl 2022-07-13 14:32:46 -04:00
zyansheep 67f04e39ac add rkyv tests 2022-07-13 09:22:55 -04:00
zyansheep 7cc885e861 fix some rkyv impls 2022-07-11 22:36:52 -04:00
Andreas Borgen Longva 446b52d08f
Merge pull request #1069 from losanc/matrixmarket-io
add support for matrix market export
2022-06-13 10:13:38 +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
Benjamin Saunders 8aa10b819c Implement `cast` for `Unit<Vector<T, D, S>>`
Currently, `cast` is resolved via `Unit`'s `Deref` impl, which leads
to it confusingly stripping the `Unit` from `UnitVector`s. Add an
inherent impl which takes precedence, similar to the existing
specialization for `UnitQuaternion`.
2022-06-11 11:13:31 -07:00
Andreas Borgen Longva dd801567f2
Merge pull request #1081 from smr97/dev
Make sparse-times-sparse faster
2022-05-30 15:14:42 +02:00
Jacob Trueb 0cdf3ce452 Fix UnitComplex cast doctest failure on macOS 2022-05-25 17:51:19 -05:00
Solra Bizna 4d968da1ad
Make "Point::new" a const fn 2022-05-25 16:42:18 -06:00
Saurabh 1c7f15e5ed remove extra yaml file 2022-05-09 14:19:11 -06: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 981102c189 Merge branch 'dev' of github.com:smr97/nalgebra into dev 2022-05-03 14:42:11 -06: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
Sébastien Crozet 27ce8ee40d Switch to derive macros for rkyv and bytecheck 2022-05-03 14:41:59 -06:00
zyansheep edb1d1b86f fix bytecheck feature in cargo.toml 2022-05-03 14:41:59 -06:00
zyansheep b6c061f6bc add bytecheck impls 2022-05-03 14:41:59 -06:00
zyansheep 7b5fb956d0 add bytecheck for matrix 2022-05-03 14:41:59 -06:00
zyansheep 8c36ab4ceb upgrade rkyv to 0.7 2022-05-03 14:41:59 -06:00
metric-space ee89f1af00 Remove repeated docs 2022-05-03 14:41:59 -06:00
metric-space 1d13a3ffda Add newline 2022-05-03 14:41:59 -06:00
metric-space 3e4be691bf Update check for zero 2022-05-03 14:41:59 -06:00
metric-space ed3a17ded8 Add in explicit type of matrix element to module overview docs 2022-05-03 14:41:59 -06:00
metric-space 71699f35b7 Fix formatting 2022-05-03 14:41:59 -06:00