Interface IMappingFunction

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

Implemented by

Properties

Methods

Properties

domain: number[]

Methods

  • Parameters

    • formatter: ((v) => string)
        • (v): string
        • Parameters

          • v: number

          Returns string

    Returns [string, string]