UNPKG

@thi.ng/distance

Version:

N-dimensional distance metrics & K-nearest neighborhoods for point queries

11 lines 427 B
import type { ReadonlyVec } from "@thi.ng/vectors"; import { Untransformed } from "./untransformed.js"; /** * Distance metric for geo locations given as `[lat,lon]` vectors. */ export declare const HAVERSINE_LATLON: Untransformed<ReadonlyVec>; /** * Distance metric for geo locations given as `[lon,lat]` vectors. */ export declare const HAVERSINE_LONLAT: Untransformed<ReadonlyVec>; //# sourceMappingURL=haversine.d.ts.map