UNPKG

pandora-metrics

Version:
38 lines (37 loc) 973 B
import { AbstractSnapshot } from './AbstractSnapshot'; export declare class UniformSnapshot extends AbstractSnapshot { values: any; constructor(values: any); getValue(quantile: number): number; size(): number; /** * Returns the entire set of values in the snapshot. * * @return the entire set of values */ getValues(): number[]; /** * Returns the highest value in the snapshot. * * @return the highest value */ getMax(): number; /** * Returns the lowest value in the snapshot. * * @return the lowest value */ getMin(): number; /** * Returns the weighted arithmetic mean of the values in the snapshot. * * @return the weighted arithmetic mean */ getMean(): number; /** * Returns the weighted standard deviation of the values in the snapshot. * * @return the weighted standard deviation value */ getStdDev(): number; }