UNPKG

@thi.ng/vectors

Version:

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

14 lines (13 loc) 257 B
import { defOp } from "./compile/emit.js"; import { ARGS_VNV, ARGS_VV, MATH2A_N } from "./compile/templates.js"; const [maddN, maddN2, maddN3, maddN4] = defOp( MATH2A_N("*", "+"), ARGS_VNV, ARGS_VV ); export { maddN, maddN2, maddN3, maddN4 };