Distribution class

Distribution represents a frequency distribution of double-valued sample points.

It contains the size of the population of sample points plus additional optional information: * the arithmetic mean of the samples * the minimum and maximum of the samples * the sum-squared-deviation of the samples, used to compute variance * a histogram of the values of the sample points

Constructors

Distribution({List<String>? bucketCounts, String? count, List<Exemplar>? exemplars, ExplicitBuckets? explicitBuckets, ExponentialBuckets? exponentialBuckets, LinearBuckets? linearBuckets, double? maximum, double? mean, double? minimum, double? sumOfSquaredDeviation})
Distribution.fromJson(Map json_)

Properties

bucketCounts List<String>?
The number of samples in each histogram bucket.
getter/setter pair
count String?
The total number of samples in the distribution.
getter/setter pair
exemplars List<Exemplar>?
Example points.
getter/setter pair
explicitBuckets ExplicitBuckets?
Buckets with arbitrary user-provided width.
getter/setter pair
exponentialBuckets ExponentialBuckets?
Buckets with exponentially growing width.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
linearBuckets LinearBuckets?
Buckets with constant width.
getter/setter pair
maximum double?
The maximum of the population of values.
getter/setter pair
mean double?
The arithmetic mean of the samples in the distribution.
getter/setter pair
minimum double?
The minimum of the population of values.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sumOfSquaredDeviation double?
The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample values.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited