@tubular/math
Version:
Miscellaneous math functions
18 lines • 573 B
TypeScript
export declare class MinMaxFinder {
private minMaxSeekingFunction;
private tolerance;
private maxIterations;
private ax;
private bx;
private cx;
private _iterationCount;
private fx;
private isMin;
constructor(minMaxSeekingFunction: (x: number) => number, tolerance: number, maxIterations: number, ax: number, bx: number, cx: number);
getXAtMinMax(): number;
get foundMaximum(): boolean;
get foundMinimum(): boolean;
get lastY(): number;
get iterationCount(): number;
}
//# sourceMappingURL=min-max-finder.d.ts.map