UNPKG

@thi.ng/vectors

Version:

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

15 lines (14 loc) 266 B
import { defOpS } from "./compile/emit.js"; import { ARGS_V, ARGS_VN, MATH_N, SARGS_V } from "./compile/templates.js"; const [mulNS, mulNS2, mulNS3, mulNS4] = defOpS( MATH_N("*"), ARGS_VN, SARGS_V, ARGS_V ); export { mulNS, mulNS2, mulNS3, mulNS4 };