UNPKG

@thi.ng/vectors

Version:

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

15 lines (14 loc) 268 B
import { mod as _mod } from "@thi.ng/math/prec"; import { defHofOp } from "./compile/emit.js"; import { ARGS_VV, FN2 } from "./compile/templates.js"; const [mod, mod2, mod3, mod4] = defHofOp( _mod, FN2("op"), ARGS_VV ); export { mod, mod2, mod3, mod4 };