Esempio n. 1
0
 public static SummarySample Sample(this ISummary summary, double quantile)
 => summary.Value().Samples.First(s => s.Quantile == quantile);
Esempio n. 2
0
 public static double Sum(this ISummary summary)
 => summary.Value().Sum;
Esempio n. 3
0
 public static long Count(this ISummary summary)
 => summary.Value().Count;
Esempio n. 4
0
 public static SummarySample?Sample(this ISummary summary, string label, double quantile)
 => summary.Value(label)?.Samples.First(s => s.Quantile == quantile);
Esempio n. 5
0
 public static double?Sum(this ISummary summary, string label)
 => summary.Value(label)?.Sum;
Esempio n. 6
0
 public static long?Count(this ISummary summary, string label)
 => summary.Value(label)?.Count;