@thi.ng/vectors
Version:
Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
24 lines • 752 B
TypeScript
import type { DistanceFn, MultiVecOpRoVV } from "./api.js";
/**
* Computes the Chebyshev distance between given 2D vectors.
*
* @remarks
* Reference: https://en.wikipedia.org/wiki/Chebyshev_distance
*/
export declare const distChebyshev2: DistanceFn;
/**
* Computes the Chebyshev distance between given 3D vectors.
*
* @remarks
* Reference: https://en.wikipedia.org/wiki/Chebyshev_distance
*/
export declare const distChebyshev3: DistanceFn;
/**
* Computes the Chebyshev distance between given 4D vectors.
*
* @remarks
* Reference: https://en.wikipedia.org/wiki/Chebyshev_distance
*/
export declare const distChebyshev4: DistanceFn;
export declare const distChebyshev: MultiVecOpRoVV<number>;
//# sourceMappingURL=dist-chebyshev.d.ts.map