UNPKG

@thi.ng/vectors

Version:

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

10 lines (9 loc) 261 B
import { defOpS } from "./compile/emit.js"; import { ARGS_VNV, MATH2A_N, SARGS_VV } from "./compile/templates.js"; const [maddNS, maddNS2, maddNS3, maddNS4] = defOpS(MATH2A_N("*", "+"), ARGS_VNV, SARGS_VV); export { maddNS, maddNS2, maddNS3, maddNS4 };