UNPKG

@thi.ng/vectors

Version:

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

14 lines (13 loc) 234 B
import { mod as op } from "@thi.ng/math/prec"; import { defOpVN } from "./defopvn.js"; const [a, b, c, d] = defOpVN(op); const modN = a; const modN2 = b; const modN3 = c; const modN4 = d; export { modN, modN2, modN3, modN4 };