Bruce Mitchener
9042d1424c
Use std::hint::black_box consistently.
...
This also removes the `#![feature(bench_black_box)]`. This was
stabilized in Rust 1.66 and anyone building benchmarks will be
on that or later (as they previously would have been on nightly).
This also allows building `cargo build --all-targets` on stable
Rust as it no longer dies when hitting the feature addition in
the benchmarks.
2023-08-14 11:15:57 +07:00
Andreas Longva
6c8947ccc0
Replace slice->view in tests and benches
2022-11-14 15:16:23 +01:00
Sébastien Crozet
49e9ceea30
Add dedicated implementations of SVD for 2x2 and 3x3 real matrices.
2021-11-26 17:45:42 +01:00
Vinzent Steinberg
4387a7f391
Use correct feature and remove unused import
2021-04-29 20:57:27 -03:00
Vinzent Steinberg
4bc62bcddb
Fix benchmarks
2021-04-29 20:26:17 -03:00
Crozet Sébastien
b8811d3545
Fix compilation of benchmarks
2021-04-12 10:52:17 +02:00
Crozet Sébastien
24d546d3b6
Rename generic parameter N -> T
2021-04-11 13:57:54 +02:00
Remco Bloemen
2bce1c31a6
Bench iter() and iter().rev()
2021-02-25 13:31:16 +01:00
sebcrozet
bbb3be512e
Run cargo fmt.
2020-04-05 18:49:48 +02:00
Avi Weinstock
8404839233
Import IsaacRng from rand_isaac instead of rand.
...
The rand crate removed IsaacRng in the 0.5 -> 0.6 transition, so the benchmarks that use it haven't compiled since 9c37c51203
.
2020-03-02 12:45:36 +01:00
sebcrozet
5b28c39fa7
Rename Complex to ComplexField.
2019-03-25 11:19:36 +01:00
sebcrozet
1e60bc822b
Port all remaining benchmarks to criterion.
2019-03-23 19:59:14 +01:00
sebcrozet
dabff333e7
Port bidiagonalization benchmark to criterion.
2019-03-23 18:15:47 +01:00
sebcrozet
6d76249d74
Start switching benchmarks to criterion.
2019-03-23 18:01:04 +01:00
sebcrozet
3cbe60523a
2018 edition.
2019-03-23 14:33:47 +01:00
sebcrozet
1001e8ee0f
Cleanup warnings and rename Schur -> RealSchur
2019-03-23 11:46:56 +01:00
sebcrozet
f36ff97d6a
Fix deprecation warnings.
2018-12-29 13:19:09 +01:00
sebcrozet
14ad10a7e0
Add rustfmt.toml and run it.
2018-10-27 15:00:18 +02:00
Thomas Forgione
1f3bbce33c
Bench closure should return the result
2018-06-16 14:27:55 +02:00
Thomas Forgione
b1616e236c
Changed loops order in from_fn_generic
2018-06-16 14:27:55 +02:00
Sébastien Crozet
662cc9cd7f
Run rust fmt.
2018-02-03 13:59:05 +01:00
Sébastien Crozet
740d19437c
Fix unused_result lint errors.
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
Sébastien Crozet
99b6181b1e
Complete library rewrite.
...
See comments on #207 for details.
2016-12-04 22:47:36 +01:00
jmagnuson
885223473e
Fix benchmark macro bench_binop
2016-10-23 12:42:38 -05:00
Sébastien Crozet
326b22ac33
Fix benchmarks.
2016-08-16 13:35:17 +02:00
Sébastien Crozet
88a74ca4e5
Macro groupping.
2016-08-11 23:28:08 +02:00
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
35ae97dc29
Fix benchmarks.
2016-03-31 21:24:37 +02:00
Sébastien Crozet
f8f4924e47
Add vector perametrizable by their sizes.
2016-03-24 19:03:29 +01: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
c034708e06
Make the benchmarks compile again
2015-03-26 15:22:27 +01:00
Eduard Bopp
97079bb2b3
Fix benchmarks
2015-02-17 14:10:08 +01:00
Sébastien Crozet
ccce2f2a3f
Fix tests and benches.
2015-01-09 22:58: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
Ben Foppa
bd7b4f287f
rustup
2015-01-07 15:14:40 -05:00
Pierre Krieger
89edd64204
Update for Rustc
2015-01-05 15:12:06 +01:00
Connorcpu
a18a53b82e
Updated to latest rust master
2015-01-03 13:48:10 -08:00
Ben Foppa
b701ca3b58
Update for last rustc of 2014!
2015-01-01 17:23:35 -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
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
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