class Airbrake::TDigest::Centroid

@since v3.2.0
@api private
Centroid represents a number of data points.

def as_json(_ = nil)

def as_json(_ = nil)
  { m: mean, n: n }
end

def initialize(mean, n, cumn, mean_cumn = nil)

def initialize(mean, n, cumn, mean_cumn = nil)
  @mean      = mean
  @n         = n
  @cumn      = cumn
  @mean_cumn = mean_cumn
end