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