12 lines
407 B
TypeScript
12 lines
407 B
TypeScript
![]() |
import { RowData } from '../helper';
|
||
|
export interface KdeOptions {
|
||
|
fields: string[];
|
||
|
minSize?: number;
|
||
|
as?: [string, string, string];
|
||
|
extent?: [number, number];
|
||
|
method?: string | ((value: any) => number);
|
||
|
bandwidth?: 'silverman' | 'nrd' | ((rows: RowData[]) => number) | number;
|
||
|
groupBy?: string[];
|
||
|
}
|
||
|
export declare function kde(rows: RowData[], options: KdeOptions): RowData[];
|