You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
729 B

4 months ago
import { Threshold } from './threshold';
import { QuantizeOptions, Range } from '../types';
/**
* Threshold thresholds domain range
*/
export declare class Quantize extends Threshold<QuantizeOptions> {
protected getDefaultOptions(): QuantizeOptions;
constructor(options?: QuantizeOptions);
protected nice(): void;
getTicks(): number[];
protected getTickMethodOptions(): number[];
protected rescale(): void;
/**
*
*/
invert(y: Range<QuantizeOptions>): number[];
getThresholds(): number[];
clone(): Quantize;
}