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