Interface CrossFilterStatic

Index

Call signatures

Properties

Methods

Call signatures

(data: Array<T>): CrossFilter

Parameters

  • data: Array<T>

Returns

CrossFilter

Properties

public bisect: { by<T>(value: CrossFilter.Selector<T>): CrossFilter.Bisector<T>; <T>(array: T[], value: T, lo: number, hi: number): number; }

(): number

Returns

number

public by(): Bisector

Returns

Bisector

.value.value: Selector

public heap: { by<T>(value: CrossFilter.Selector<T>): CrossFilter.Heap<T>; <T>(array: T[], lo: number, hi: number): T[]; }

(): Array<T>

Returns

Array<T>

public by(): Heap

Returns

Heap

.value.value: Selector

public heapselect: { by<T>(value: CrossFilter.Selector<T>): CrossFilter.HeapSelect<T>; <T>(array: T[], lo: number, hi: number, k: number): T[]; }

(): Array<T>

Returns

Array<T>

public by(): HeapSelect

Returns

HeapSelect

.value.value: Selector

public insertionsort: { by<T>(value: CrossFilter.Selector<T>): CrossFilter.Sort<T>; <T>(array: T[], lo: number, hi: number): T[]; }

(): Array<T>

Returns

Array<T>

public by(): Sort

Returns

Sort

.value.value: Selector

public quicksort: { by<T>(value: CrossFilter.Selector<T>): CrossFilter.Sort<T>; <T>(array: T[], lo: number, hi: number): T[]; }

(): Array<T>

Returns

Array<T>

public by(): Sort

Returns

Sort

.value.value: Selector

public version: string

Methods

public permute(array: Array<T>, index: Array<number>): Array<T>

Parameters

  • array: Array<T>
  • index: Array<number>

Returns

Array<T>