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 [subNS, subNS2, subNS3, subNS4] = defOpS( MATH_N("-"), ARGS_VN, SARGS_V, ARGS_V ); export { subNS, subNS2, subNS3, subNS4 };