UNPKG

@thi.ng/vectors

Version:

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

19 lines (18 loc) 320 B
import { step as _step } from "@thi.ng/math/step"; import { defHofOp } from "./compile/emit.js"; import { DEFAULT_OUT, FN2 } from "./compile/templates.js"; const [step, step2, step3, step4] = defHofOp( _step, FN2("op"), "o,e,a", void 0, "o", 2, DEFAULT_OUT ); export { step, step2, step3, step4 };