UNPKG

@thi.ng/vectors

Version:

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

10 lines (9 loc) 259 B
import { defOpS } from "./compile/emit.js"; import { ARGS_VVN, MATH2_N, SARGS_VV } from "./compile/templates.js"; const [submNS, submNS2, submNS3, submNS4] = defOpS(MATH2_N("-", "*"), ARGS_VVN, SARGS_VV); export { submNS, submNS2, submNS3, submNS4 };