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 [msubN, msubN2, msubN3, msubN4] = defOp( MATH2A_N("*", "-"), ARGS_VNV, ARGS_VV ); export { msubN, msubN2, msubN3, msubN4 };