Home
last modified time | relevance | path

Searched defs:f64 (Results 1 – 25 of 234) sorted by relevance

12345678910

/external/rust/crates/criterion/src/
Dkde.rs6 sample: &Sample<f64>, in sweep()
8 range: Option<(f64, f64)>, in sweep() argument
9 ) -> (Box<[f64]>, Box<[f64]>) { in sweep()
15 sample: &Sample<f64>, in sweep_and_estimate()
17 range: Option<(f64, f64)>, in sweep_and_estimate() argument
18 point_to_estimate: f64, in sweep_and_estimate()
19 ) -> (Box<[f64]>, Box<[f64]>, f64) { in sweep_and_estimate()
Dmeasurement.rs43 fn scale_values(&self, typical_value: f64, values: &mut [f64]) -> &'static str; in scale_values()
54 typical_value: f64, in scale_throughputs()
56 values: &mut [f64], in scale_throughputs()
100 fn to_f64(&self, value: &Self::Value) -> f64; in to_f64()
108 fn bytes_per_second(&self, bytes: f64, typical: f64, values: &mut [f64]) -> &'static str { in bytes_per_second()
128 fn elements_per_second(&self, elems: f64, typical: f64, values: &mut [f64]) -> &'static str { in elements_per_second()
151 typical: f64, in scale_throughputs()
153 values: &mut [f64], in scale_throughputs()
161 fn scale_values(&self, ns: f64, values: &mut [f64]) -> &'static str { in scale_values()
206 fn to_f64(&self, val: &Self::Value) -> f64 { in to_f64()
/external/rust/crates/criterion/src/analysis/
Dcompare.rs18 avg_times: &Sample<f64>, in common()
21 ) -> Result<( in common()
23 Distribution<f64>, in common()
26 Vec<f64>, in common()
73 avg_times: &Sample<f64>, in t_test()
74 base_avg_times: &Sample<f64>, in t_test()
76 ) -> (f64, Distribution<f64>) { in t_test()
103 avg_times: &Sample<f64>, in estimates()
104 base_avg_times: &Sample<f64>, in estimates()
108 fn stats(a: &Sample<f64>, b: &Sample<f64>) -> (f64, f64) { in estimates()
Dmod.rs270 data: &Data<'_, f64, f64>, in regression() argument
272 ) -> (Distribution<f64>, Estimate) { in regression()
300 fn estimates(avg_times: &Sample<f64>, config: &BenchmarkConfig) -> (Distributions, Estimates) { in estimates()
301 fn stats(sample: &Sample<f64>) -> (f64, f64, f64, f64) { in estimates()
/external/rust/crates/bencher/
Dstats.rs17 fn local_cmp(x: f64, y: f64) -> Ordering { in local_cmp()
32 fn local_sort(v: &mut [f64]) { in local_sort()
44 fn sum(&self) -> f64; in sum()
47 fn min(&self) -> f64; in min()
50 fn max(&self) -> f64; in max()
55 fn mean(&self) -> f64; in mean()
61 fn median(&self) -> f64; in median()
70 fn var(&self) -> f64; in var()
78 fn std_dev(&self) -> f64; in std_dev()
84 fn std_dev_pct(&self) -> f64; in std_dev_pct()
[all …]
/external/rust/crates/criterion-plot/src/
Ddata.rs94 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64)) { in append_to()
114 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64, f64)) { in append_to()
136 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64, f64, f64)) { in append_to()
161 fn append_to(self, buffer: &mut Vec<u8>, scale: (f64, f64, f64, f64, f64)) { in append_to()
/external/rust/crates/criterion/src/plot/plotters_backend/
Dsummary.rs26 all_curves: &[&(&BenchmarkId, Vec<f64>)], in line_comparison()
63 data: Vec<(Option<&String>, Vec<f64>, Vec<f64>)>, in draw_line_comarision_figure()
65 XR::CoordDescType: PlottersValueFormatter<f64>, in draw_line_comarision_figure()
66 YR::CoordDescType: PlottersValueFormatter<f64>, in draw_line_comarision_figure()
120 all_curves: &[&(&'a BenchmarkId, Vec<f64>)], in line_comparison_series_data()
121 ) -> (&'static str, Vec<(Option<&'a String>, Vec<f64>, Vec<f64>)>) { in line_comparison_series_data()
158 all_curves: &[&(&BenchmarkId, Vec<f64>)], in violin()
225 data: Vec<(&str, Box<[f64]>, Box<[f64]>)>, in draw_violin_figure()
227 XR::CoordDescType: PlottersValueFormatter<f64>, in draw_violin_figure()
228 YR::CoordDescType: PlottersValueFormatter<f64>, in draw_violin_figure()
/external/rust/crates/plotters/examples/
Derrorbar.rs73 fn down_sample(data: &[(f64, f64)]) -> Vec<(f64, f64, f64, f64)> { in down_sample() argument
Danimation.rs3 fn snowflake_iter(points: &[(f64, f64)]) -> Vec<(f64, f64)> { in snowflake_iter() argument
Dsnowflake.rs3 fn snowflake_iter(points: &[(f64, f64)]) -> Vec<(f64, f64)> { in snowflake_iter() argument
Dmandelbrot.rs41 real: Range<f64>, in mandelbrot_set()
42 complex: Range<f64>, in mandelbrot_set()
/external/rust/crates/libm/src/math/
Dhypot.rs7 fn sq(x: f64) -> (f64, f64) { in sq()
21 pub fn hypot(mut x: f64, mut y: f64) -> f64 { in hypot()
Dpow.rs93 pub fn pow(x: f64, y: f64) -> f64 { in pow()
455 fn pow_test(base: f64, exponent: f64, expected: f64) { in pow_test()
471 fn test_sets_as_base(sets: &[&[f64]], exponent: f64, expected: f64) { in test_sets_as_base()
476 fn test_sets_as_exponent(base: f64, sets: &[&[f64]], expected: f64) { in test_sets_as_exponent()
481 fn test_sets(sets: &[&[f64]], computed: &dyn Fn(f64) -> f64, expected: &dyn Fn(f64) -> f64) { in test_sets()
Dk_tan.rs62 pub(crate) fn k_tan(mut x: f64, mut y: f64, odd: i32) -> f64 { in k_tan()
103 fn zero_low_word(x: f64) -> f64 { in zero_low_word()
Dldexp.rs2 pub fn ldexp(x: f64, n: i32) -> f64 { in ldexp()
Dfmin.rs2 pub fn fmin(x: f64, y: f64) -> f64 { in fmin()
Dfmax.rs2 pub fn fmax(x: f64, y: f64) -> f64 { in fmax()
Dfdim.rs12 pub fn fdim(x: f64, y: f64) -> f64 { in fdim()
Dremainder.rs2 pub fn remainder(x: f64, y: f64) -> f64 { in remainder()
Dk_sin.rs47 pub(crate) fn k_sin(x: f64, y: f64, iy: i32) -> f64 { in k_sin()
Dcopysign.rs5 pub fn copysign(x: f64, y: f64) -> f64 { in copysign()
/external/rust/crates/num-traits/src/ops/
Dinv.rs27 impl Inv for f64 { implementation
30 fn inv(self) -> f64 { in inv()
41 impl<'a> Inv for &'a f64 { implementation
44 fn inv(self) -> f64 { in inv()
/external/rust/crates/plotters/src/data/
Dfloat.rs2 fn find_minimal_repr(n: f64, eps: f64) -> (f64, usize) { in find_minimal_repr()
16 fn float_to_string(n: f64, max_precision: usize, min_decimal: usize) -> String { in float_to_string()
111 pub fn pretty_print_float(n: f64, allow_sn: bool) -> String { in pretty_print_float()
/external/rust/crates/plotters-backend/src/rasterizer/
Dcircle.rs5 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_a()
7 height: f64, in draw_part_a()
30 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_b()
32 from: f64, in draw_part_b()
33 size: f64, in draw_part_b()
45 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_c()
92 (s, e): (f64, f64), in draw_sweep_line() argument
Dpath.rs3 fn get_dir_vector(from: BackendCoord, to: BackendCoord, flag: bool) -> ((f64, f64), (f64, f64)) { in get_dir_vector() argument

12345678910