Icard/angular-clarity-master(work.../node_modules/highcharts/modules/venn.src.d.ts

48 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
/*!*
*
* Copyright (c) Highsoft AS. All rights reserved.
*
*!*/
import * as globals from "../globals.src";
import * as _Highcharts from "../highcharts.src";
/**
* Adds the module to the imported Highcharts namespace.
*
* @param highcharts
* The imported Highcharts namespace to extend.
*/
export function factory(highcharts: typeof Highcharts): void;
declare module "../highcharts.src" {
/**
* Finds the root of a given function. The root is the input value needed
* for a function to return 0.
*
* See https://en.wikipedia.org/wiki/Bisection_method#Algorithm
*
* TODO: Add unit tests.
*
* @param f
* The function to find the root of.
*
* @param a
* The lowest number in the search range.
*
* @param b
* The highest number in the search range.
*
* @param tolerance
* The allowed difference between the returned value and root.
*
* @param maxIterations
* The maximum iterations allowed.
*
* @return Root number.
*/
function bisect(f: Function, a: number, b: number, tolerance?: number, maxIterations?: number): number;
function isSet(): void;
function isValidRelation(): void;
function isValidSet(): void;
}
export default factory;
export let Highcharts: typeof _Highcharts;