Commit Graph

2743 Commits

Author SHA1 Message Date
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
metric-space 5d67b07ebe Fix doc 2022-05-03 14:41:59 -06:00
metric-space 8590d82ad4 Correct typos, move doc portion to comment and fix borrow to clone 2022-05-03 14:41:59 -06:00
metric-space 6a22e74c00 Minimal post-processing and fix to documentation 2022-05-03 14:41:59 -06:00
metric-space 73543b2121 Add another case for when eigenvalues should be mapped to zero. Make method private 2022-05-03 14:41:59 -06:00
metric-space c287a169af Change name of copied macro base 2022-05-03 14:41:59 -06:00
metric-space c47e31f6ea Doc string corrections 2022-05-03 14:41:59 -06:00
metric-space 10f6c48677 Change name of test generator 2022-05-03 14:41:59 -06:00
metric-space 5f3e2f5b45 Name change 2022-05-03 14:41:59 -06:00
metric-space fd0398f493 Remove condition number, tests pass without. Add proper test generator for dynamic f64 type square matrices 2022-05-03 14:41:59 -06:00
metric-space f6c35b34ec Correction in eigenvector matrices build up algorithm 2022-05-03 14:41:59 -06:00
metric-space 2e35cd6aa7 Corrected deserialization term in serialization impls 2022-05-03 14:41:59 -06:00
metric-space 8ef7c42328 Removed extra memory allocation for buffer (now redundant) 2022-05-03 14:41:59 -06:00
metric-space ed09700280 Correction to keep naming of left and right eigenvector matrices consistent 2022-05-03 14:41:59 -06:00
metric-space 0c89aceed3 Added comment on logic 2022-05-03 14:41:59 -06:00
metric-space 3c717927cc Formatting 2022-05-03 14:41:59 -06:00
metric-space 4c50d882a3 Formatting 2022-05-03 14:41:59 -06:00
metric-space 5828a0a6ad New code and modified tests for qz 2022-05-03 14:41:59 -06:00
metric-space 714f2ac987 New code and modified tests for generalized_eigenvalues 2022-05-03 14:41:59 -06:00
metric-space a439121641 Cleanup of QZ module and added GE's calculation of eigenvalues as a test for QZ's calculation of eigenvalues 2022-05-03 14:41:59 -06:00
metric-space 23950400e4 New wrapper for generalized eigenvalues and associated eigenvectors via LAPACK routines sggev/dggev 2022-05-03 14:41:59 -06:00
metric-space 2947d63a0c Correction for not calculating absolurte value 2022-05-03 14:41:59 -06:00
metric-space abd463f427 Commented out failing tests, refactored checks for almost zeroes 2022-05-03 14:41:59 -06:00
metric-space d7a0e415bd Add non-naive way of calculate generalized eigenvalue, write spotty test for generalized eigenvalues 2022-05-03 14:41:59 -06:00
metric-space ebe6d10a47 Comments more tailored to QZ 2022-05-03 14:41:59 -06:00
metric-space ccbd0f02e5 Format file 2022-05-03 14:41:59 -06:00
metric-space 372152dc31 First attempt at xgges (qz decomposition), passing tests. Serialization failing across many modules 2022-05-03 14:41:59 -06:00