UNPKG

@thi.ng/vectors

Version:

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

14 lines (13 loc) 226 B
import { mod as op } from "@thi.ng/math/prec"; import { defOpVV } from "./defopvv.js"; const [a, b, c, d] = defOpVV(op); const mod = a; const mod2 = b; const mod3 = c; const mod4 = d; export { mod, mod2, mod3, mod4 };