UNPKG

@thi.ng/vectors

Version:

Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts

18 lines 498 B
import type { MultiVecOpRoV, VecOpRoV } from "./api.js"; /** * Computes magnitude of given 2D vector. */ export declare const magSq2: VecOpRoV<number>; /** * Computes magnitude of given 3D vector. */ export declare const magSq3: VecOpRoV<number>; /** * Computes magnitude of given 4D vector. */ export declare const magSq4: VecOpRoV<number>; /** * Computes magnitude of given nD vector. Multi-method. */ export declare const magSq: MultiVecOpRoV<number>; //# sourceMappingURL=magsq.d.ts.map