Sébastien Crozet
b22eb91a16
Add documentation.
2017-08-15 19:07:18 +02:00
Sébastien Crozet
c258d13f98
Fix stepping for slices.
...
The previous implementation was wrong compared to what the documentatino claimed.
2017-08-15 19:07:18 +02:00
Sébastien Crozet
41f5231446
Add `assign` and generalize `map` to other return types.
...
The method assign replaces each components with the result of a closure (that takes the
corresponding component as parameter).
2017-08-15 19:07:18 +02:00
Sébastien Crozet
3f70af97dd
Add the most common matrix decompositions.
2017-08-15 19:07:18 +02:00
Eduard Bopp
7a62b68c38
Merge pull request #251 from Ralith/unnested-serialization
...
Remove gratuitous indirection in serialization impls
2017-07-26 19:40:57 +02:00
Sébastien Crozet
f86752e44a
De-ambiguat AsRef/AsMut/Into implementations.
...
Addresses comments of #225 .
2017-07-22 09:57:21 +02:00
Eduard Bopp
cfa3c6533f
Merge pull request #242 from sebcrozet/into_iterator
...
Implement IntoIterator for &Matrix and &mut Matrix
2017-07-13 03:12:38 +02:00
Brendan Zabarauskas
ba41a8ce5a
Implement the sum and product traits for matrices
...
Closes #264
2017-07-02 01:27:16 +10:00
Sébastien Crozet
b78dcb3155
Add methods to set a row or a column of the matrix.
2017-05-17 22:47:45 +02:00
Benjamin Saunders
0979896dbd
Remove gratuitous indirection in serialization impls
2017-05-03 19:51:26 -07:00
Sébastien Crozet
35d2b6dc88
Add kronecker product.
...
Closes #248
2017-05-03 22:47:18 +02:00
Andreas Longva
a52b079578
Relax invertibility test in try_inverse()
...
The previous implementation of try_inverse() used an approximate
check of the determinant against 0 for small matrices to
determine if the matrix was invertible. This is not a reliable test,
and may fail for perfectly invertible matrices. This change
simply makes the test criterion an exact comparison instead.
2017-04-28 19:11:33 +02:00
Sébastien Crozet
485abf1462
Update to serde 1.0.
2017-04-24 20:13:30 +02:00
Sébastien Crozet
68b7d21828
Implement IntoIterator for &Matrix and &mut Matrix
...
IntoIterator for Matrix will beharder to implement.
Partially addresses #241 .
2017-04-11 00:16:43 +02:00
Jonas Olson
9c79937485
Allow for documentation strings in macro component_binop_impl.
2017-04-07 18:42:22 +02:00
Jonas Olson
acfa8586ea
Fix typo in scalar.rs.
2017-04-06 19:49:00 +02:00
Sébastien Crozet
e6ee11617a
Add a method to compute the trace of a matrix.
...
Fix #231 .
2017-03-19 22:44:08 +01:00
Sébastien Crozet
d6285e1165
Implement AsRef, AsMut, Into, From.
2017-02-18 13:44:03 +01:00
Sébastien Crozet
42b48563be
Make serde optional behind the "serde-serialize" feature.
2017-02-15 22:04:34 +01:00
Sébastien Crozet
086e6e719f
Doc + slerp + conversions.
2017-02-12 18:17:09 +01:00
Sébastien Crozet
99b6181b1e
Complete library rewrite.
...
See comments on #207 for details.
2016-12-04 22:47:36 +01:00