Eduard Bopp
1103996b83
Implement Arbitrary for (almost) all types
...
Rot4 and Iso4 had to be left out, since Rot4 apparently lacks a working
constructor.
Thereby (almost) all types in nalgebra can now be used for quickcheck-style
testing.
"arbitrary" is now a conditionally compiled feature that contains these impls
adding a dependency on quickcheck.
2015-01-10 01:36:13 +01:00
Sébastien Crozet
ccce2f2a3f
Fix tests and benches.
2015-01-09 22:58:17 +01:00
Sébastien Crozet
53c80bc72b
Allow unstable items.
...
Some of them don't have any stable equivalent yet.
2015-01-09 22:51:17 +01:00
Sébastien Crozet
4b47b1e98a
Use slice and range syntax when possible.
2015-01-09 22:46:26 +01:00
Sébastien Crozet
e6e099b7c4
Replace int, and uint, by isize and usize.
2015-01-09 22:26:05 +01:00
arturo
fc1fd16e20
fixes compiling on alpha 1.0
2015-01-09 21:55:15 +01:00
Ben Foppa
bd7b4f287f
rustup
2015-01-07 15:14:40 -05:00
Mike Dilger
64130dfb2f
tests for ApproxEq ULPs
2015-01-01 10:41:15 +13:00
Eduard Bopp
e3c2d46f03
Add trailing ';' to all item macros
...
This is a fix for the latest nightly, see
https://github.com/rust-lang/rust/pull/19984 .
2014-12-19 15:33:01 +01:00
Sébastien Crozet
a92c681d01
Update to the last rust-nightly.
...
Version of rustc: 0.13.0-nightly (42deaa5e4 2014-12-16 17:51:23 +0000).
Fix #54 .
2014-12-17 23:39:47 +01:00
Sébastien Crozet
3317e057f5
Add float constants to BaseFloat
.
...
Fix #42 .
2014-11-25 11:19:31 +01:00
Eduard Bopp
956c5cdecc
Implement assertion macros for ApproxEq
...
These macros yield readable error messages as test assertions for ApproxEq
types. They can be invoked as:
assert_approx_eq!(a, b);
assert_approx_eq_eps!(a, b, eps);
Fixes #40 .
2014-11-23 14:15:56 +01:00
Sébastien Crozet
7d65e0a143
Update to the last rust-nightly.
...
Version of rustc: 0.13.0-nightly (e09d98603 2014-11-18 23:51:43 +0000).
2014-11-20 09:56:26 +01:00
Sébastien Crozet
39b9d20717
Quick update to the last rust-nightly.
...
This is just a quick-fix so that nalgebra compiles.
This does not fix the deprecation warnings!
Version of rustc: 0.13.0-nightly (d91a015ab 2014-11-14 23:37:27 +0000).
2014-11-15 15:47:59 +01:00
Sébastien Crozet
a2848e6e18
Update to the last rust-nightly.
...
Version of rustc: 0.13.0-nightly (63c4f22f2 2014-11-05 22:31:44 +0000).
2014-11-06 14:52:52 +01:00
Sébastien Crozet
27be1f0651
Add a SquareMat
trait for square matrices.
2014-10-30 09:21:20 +01:00
Robin Gloster
4e4eb62ffc
upgrade to newer rust
2014-10-22 13:35:17 +02:00
Sébastien Crozet
276bf3f999
Update to the last rust-nightly.
...
Version of rustc: 0.13.0-nightly (222ae8b9b 2014-10-18 00:47:22 +0000).
2014-10-18 20:52:35 +02:00
Sébastien Crozet
5ba9f27530
Add quaternions.
...
Fix #24 .
2014-10-14 22:20:49 +02:00
Sébastien Crozet
0cf725f5f2
Add 3D orthogonal and perspective projection structures.
...
Fix #26 .
2014-10-12 20:40:46 +02:00
Sébastien Crozet
ba18f5aa70
Deprecate na::
, move all reexport to the root crate.
...
This also moves the tests and benches to cargo-complient folders.
Fix #21 .
2014-09-28 19:22:57 +02:00