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

Function transformSymexp

external/.d3.js:15351–15355  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

15349}
15350
15351function transformSymexp(c) {
15352 return function(x) {
15353 return Math.sign(x) * Math.expm1(Math.abs(x)) * c;
15354 };
15355}
15356
15357function symlogish(transform) {
15358 var c = 1, scale = transform(transformSymlog(c), transformSymexp(c));

Callers 1

symlogishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected