MCPcopy
hub / github.com/microsoft/SandDance / getQuantizeScale

Function getQuantizeScale

docs/tests/v2/es6/js/sanddance.js:60117–60121  ·  view source on GitHub ↗
(domain, range)

Source from the content-addressed store, hash-verified

60115
60116
60117function getQuantizeScale(domain, range) {
60118 return function (value) {
60119 return quantizeScale(domain, range, value);
60120 };
60121} // return a linear scale funciton
60122
60123
60124function getLinearScale(domain, range) {

Callers 1

sanddance.jsFile · 0.85

Calls 1

quantizeScaleFunction · 0.85

Tested by

no test coverage detected