Commit Graph

2725 Commits

Author SHA1 Message Date
Sébastien Crozet 0bcbd4df4b Removed unused import. 2015-09-13 23:53:28 +02:00
Sébastien Crozet cdd0443cf8 Release version 0.2.23. 2015-09-13 23:51:08 +02:00
Sébastien Crozet 0e8fbf070f Merge pull request #152 from Antsiscool/master
Removed Display trait requirement from Debug method for DMat.
2015-09-13 23:50:38 +02:00
Antsiscool f9d79fcf5a Removed Display trait from Debug method for DMat.
DMat was unable to show using debug if the object stored in it did not implement Display.
2015-09-10 14:34:41 +10:00
Sébastien Crozet eb7600adf6 Release v0.2.22. 2015-08-28 08:39:11 +02:00
Sébastien Crozet 6db0fce59b Merge pull request #151 from AndersKaloer/row_slice-fix
Fix wrong allocated vector length in RowSlice for DMat
2015-08-27 20:29:42 +02:00
Anders Kalør 043d7ab108 Fix wrong allocated vector length in RowSlice
The length of the returned DVec should correspond to the
the number of elements in the slice and not the number of rows in the
matrix.
2015-08-27 16:55:20 +02:00
Anders Kalør 5e41fbfe2a Add RowSlice and ColSlice test cases for DMat 2015-08-27 16:53:20 +02:00
Sébastien Crozet 0a8920f11c Merge pull request #150 from sebcrozet/rustup
Fix warnings generated by the last rust-nightly.
2015-08-20 21:46:46 +02:00
Sébastien Crozet ca3c4e73c5 Fix warnings generated by the last rust-nightly. 2015-08-20 21:41:40 +02:00
Sébastien Crozet fdfd1bde78 Merge pull request #149 from tikue/master
Fix transpose_mut for square matrices.
2015-08-19 21:38:54 +02:00
Tim Kuehn e2c21c4ae2 Fix transpose_mut for square matrices.
And add a test for it.
2015-08-12 16:52:55 -07:00
Sébastien Crozet a862444c07 Release v0.2.21. 2015-08-09 14:40:31 +02:00
Sébastien Crozet 2091cd8da6 Minor codding style fixes. 2015-08-09 14:39:45 +02:00
Sébastien Crozet a14393be43 Merge pull request #147 from dshizzle/master
Implemented Cholesky decomposition
2015-08-09 14:38:11 +02:00
Daniel 89bbe0f4b4 Removed unused code 2015-08-08 17:52:16 +02:00
Daniel 1716dd86db Made tests more readable - missed a function 2015-08-08 17:22:47 +02:00
Daniel 9bb6325846 Made tests more readable 2015-08-08 14:52:57 +02:00
Daniel dc571838bb Added check for symmetricity of input matrix 2015-08-07 15:03:38 +02:00
Daniel b197959e2b Implemented Cholesky decomposition with tests 2015-08-07 14:44:25 +02:00
Sébastien Crozet 7e88b54a8e Merge pull request #144 from sebcrozet/travis_badge
Add Travis badge to the README.
2015-07-12 09:36:34 +02:00
Sébastien Crozet ca129512ae Add Travis badge to the README.
Fix #140.
2015-07-12 09:35:10 +02:00
Sébastien Crozet ce884e2c34 Release v0.2.20. 2015-07-12 09:32:45 +02:00
Sébastien Crozet 53b8737aca Merge pull request #143 from aryla/master
Fix multiplication of rectangular DMats.
2015-07-12 09:32:00 +02:00
Arttu Ylä-Outinen 75208896a3 Fix multiplication of non-square DMats.
Matrices were in wrong order.
2015-07-12 10:25:43 +03:00
Arttu Ylä-Outinen 8b14cef4e7 Add a test for multiplication of non-square DMats.
Demonstrates a bug in Mul implementation.
2015-07-12 09:42:31 +03:00
Sébastien Crozet 8711a8602e Merge pull request #141 from sebcrozet/no_identity_fail
Remove implementations of `Rotation`, `Translation` and `Transformation` for the `Identity` type.
2015-07-07 23:02:36 +02:00
Sébastien Crozet 4533117433 Release v0.2.19. 2015-07-07 22:55:41 +02:00
Sébastien Crozet c13b0388ef Remove implementations of `Rotation`, `Translation` and `Transformation` for the `Identity` type.
Because most of their methods did not make sence for the (constant) identity matrix, they were set
to `panic!` at runtime whenever the user tried to use them. Instead, it is much safer to completely
forbid their use by removing the related trait implementation.

See sebcrozet/ncollide#87.
2015-07-07 22:40:14 +02:00
Sébastien Crozet 705a969e6d Release v0.2.18. 2015-06-23 21:04:31 +02:00
Sébastien Crozet 8dfb8ee7b9 Merge pull request #139 from mitchmindtree/master
Allow for non-consuming std operations on DMat. Added DMat multiplication test.
2015-06-23 21:03:38 +02:00
mitchmindtree 2efb30876e Added missing ops implementations for DMat 2015-06-21 01:08:23 +10:00
mitchmindtree 51381ff84d Allow for non-consuming std operations on DMat. Added DMat multiplication test. 2015-06-21 00:20:39 +10:00
Sébastien Crozet 792d7fda7a Merge pull request #138 from sebcrozet/fix_travis
Don't run benchmarks on travis.
2015-06-20 00:01:15 +02:00
Sébastien Crozet cbd9ebad9f Don't run benchmarks on travis.
Benchmarks require `#[feature(test)]` which is not supported by the stable branch.
2015-06-19 23:48:27 +02:00
Sébastien Crozet 44df67bde2 Fix the README examples. 2015-06-06 14:28:34 +02:00
Sébastien Crozet ee7efb5efc Release v0.2.17. 2015-06-06 13:01:31 +02:00
Sébastien Crozet b3684bc912 Merge pull request #133 from sebcrozet/dmat_add_sub
Add pointwise addition and subtraction for `DMat`.
2015-06-06 13:01:02 +02:00
Sébastien Crozet 410c3c9566 Add pointwise addition and subtraction for `DMat`.
Fix #132.
2015-06-06 12:59:47 +02:00
Sébastien Crozet 981bc85e2a Release v0.2.16. 2015-06-01 23:10:46 +02:00
Sébastien Crozet d13c42253d Merge pull request #131 from sebcrozet/rotation_to
Add the `RotationTo` trait to compute the delta rotation between two elements.
2015-06-01 23:09:44 +02:00
Sébastien Crozet b859b32804 Add tests for `::angle_between` and `::rotation_between`. 2015-06-01 22:39:33 +02:00
Sébastien Crozet ea86890647 Add the `RotationTo` trait to compute the delta rotation between two elements.
Use `::angle_between` or `.angle_to`  to compute the rotation angle between two vectors/rotation
matrices/unit quaternions.
Use `::rotation_between` or `.rotation_to` to compute the rotation matrix/unit quaternion to
transform a vector/rotation matrix/uniq quaternion to another.

Fix #130.
2015-06-01 22:39:27 +02:00
Sébastien Crozet 11bbf0ff11 Merge pull request #129 from sebcrozet/ncollide_fixes
Minor breaking changes needed by `ncollide`.
2015-05-25 14:58:18 +02:00
Sébastien Crozet 0d4673ac79 Release 0.2.15 2015-05-25 14:51:22 +02:00
Sébastien Crozet ca87f9eb95 Rollup of minor beaking changes.
Use associated types for the `Outer` trait.
Add a `Repeat` trait for constructing a multidimensional value by repeating an element.
Split the `Diag` trait into `Diag` and `DiagMut`.
Implement `RustEncodable` for `Identity`.
2015-05-25 14:47:14 +02:00
Sébastien Crozet bf4c27ae10 Releave v0.2.14 2015-05-14 09:03:46 +02:00
Sébastien Crozet a0f2587ebe Merge pull request #127 from tinco/index_transmute_bug
This reference should not be mut
2015-05-11 19:09:49 +02:00
Tinco Andringa b26a994659 This reference should not be mut 2015-05-09 16:23:53 +02:00
Sébastien Crozet 0b1969d4d5 Release v0.2.13 2015-05-09 00:03:05 +02:00