MCPcopy Create free account
hub / github.com/corbanbrook/dsp.js / createSimplePVectorMethod

Function createSimplePVectorMethod

examples/js/processing.js:45–49  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

43 };
44 },
45 createSimplePVectorMethod = function(method) {
46 return function(v1, v2) {
47 return v1[method](v2);
48 };
49 },
50 simplePVMethods = "dist dot cross".split(" "),
51 method = simplePVMethods.length;
52

Callers 1

processing.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected