Commit Graph

12 Commits

Author SHA1 Message Date
Sébastien Crozet
e6156727f2 Use full names for everything.
Note that `sqdist` becomes `distance_squared` and `sqnorm` becomes `norm_squared`.

Fix #176.
2016-04-17 17:26:58 +02:00
Sébastien Crozet
5cbbc25bb2 Make vectors indexable the same way as slices.
This includes range indexing.
In addition, for unification, the methods `.as_slice` and `.as_mut_slice` of DVec have been renamed
to `.as_ref` and `.as_mut`.
2016-01-10 14:49:37 +01:00
Sébastien Crozet
313ca1b8ae Use the Zero and One traits from the num crate.
Remove our own definitions of those traits.
Also fixes test-related attributes to make them compile again.
2015-04-18 14:38:34 +02:00
Eduard Bopp
cbe90b1e4e Fix benchmarks
The extern crate declarations had to be adjusted.
2015-03-29 13:32:14 +02:00
Eduard Bopp
97079bb2b3 Fix benchmarks 2015-02-17 14:10:08 +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
Ben Foppa
bd7b4f287f rustup 2015-01-07 15:14:40 -05:00
Sébastien Crozet
73c49884c3 Fix benches. 2014-12-27 11:15:13 +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
15d1fa0b8b Fix warnings. 2014-11-07 19:23:46 +01:00
Sébastien Crozet
83f25e0552 Add more benchmarks. 2014-11-07 16:15:56 +01:00