Sha256: cb9ce4b5bb07bfeaa9b3ee663c88733960f04ce11cb28d42b38994d1c15f1fc1
Contents?: true
Size: 262 Bytes
Versions: 1
Compression:
Stored size: 262 Bytes
Contents
function d3_uninterpolateNumber(a, b) { b = (b -= a = +a) || 1 / b; return function(x) { return (x - a) / b; }; } function d3_uninterpolateClamp(a, b) { b = (b -= a = +a) || 1 / b; return function(x) { return Math.max(0, Math.min(1, (x - a) / b)); }; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mdarray-sol-0.1.0-java | node_modules/dc/node_modules/d3/src/interpolate/uninterpolate.js |