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