MCPcopy Create free account
hub / github.com/breck7/scroll / reflect

Function reflect

external/.d3.js:15243–15245  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

15241}
15242
15243function reflect(f) {
15244 return (x, k) => -f(-x, k);
15245}
15246
15247function loggish(transform) {
15248 const scale = transform(transformLog, transformExp);

Callers 1

rescaleFunction · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected