@thi.ng/vectors
Version:
Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
16 lines (15 loc) • 296 B
JavaScript
import { mod as _mod } from "@thi.ng/math/prec";
import { defHofOp } from "./compile/emit.js";
import { ARGS_V, ARGS_VN, FN_N } from "./compile/templates.js";
const [modN, modN2, modN3, modN4] = defHofOp(
_mod,
FN_N("op"),
ARGS_VN,
ARGS_V
);
export {
modN,
modN2,
modN3,
modN4
};