@tubular/math
Version:
Miscellaneous math functions
21 lines • 641 B
TypeScript
export declare class MinMaxFinder {
private minMaxSeekingFunction;
private tolerance;
private maxIterations;
private xa;
private xb;
private xc;
private _iterationCount;
private fx;
private isMin;
private _resolved;
private _x;
constructor(minMaxSeekingFunction: (x: number) => number, tolerance: number, maxIterations: number, xa: number, xb: number, xc: number);
getXAtMinMax(): number;
get foundMaximum(): boolean;
get foundMinimum(): boolean;
get lastY(): number;
get iterationCount(): number;
get resolved(): boolean;
}
//# sourceMappingURL=min-max-finder.d.ts.map