Interface IMappingFunction

interface IMappingFunction {
    domain: number[];
    apply(v: number): number;
    clone(): IMappingFunction;
    eq(other: IMappingFunction): boolean;
    getRange(formatter: (v: number) => string): [string, string];
    toJSON(): ITypedDump;
}

Implemented by

Properties

Methods

Properties

domain: number[]

Methods

  • Parameters

    • formatter: (v: number) => string

    Returns [string, string]