Represents the options for the inverseFunctionApprox function.

interface InverseFunctionOptions {
    iterations: number;
    lowerBound: DecimalSource;
    mode: MeanMode;
    round: boolean;
    tolerance: DecimalSource;
    upperBound: DecimalSource;
}

Properties

iterations: number

The amount of iterations to perform. Defaults to DEFAULT_ITERATIONS.

lowerBound: DecimalSource

The lower bound to start the search from. Defaults to 1.

mode: MeanMode

The mode/mean method to use. See MeanMode

round: boolean

Whether to round the bound and search only through integers. Defaults to false.

tolerance: DecimalSource

The tolerance to approximate the inverse with. Defaults to DEFAULT_TOLERANCE.

upperBound: DecimalSource

The upper bound to start the search from. Defaults to n.