MCPcopy Create free account
hub / github.com/microsoft/SandDance / transformSymexp

Function transformSymexp

docs/app/js/sanddance-app.js:128961–128965  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

128959 };
128960}
128961function transformSymexp(c) {
128962 return function(x) {
128963 return Math.sign(x) * Math.expm1(Math.abs(x)) * c;
128964 };
128965}
128966function symlogish(transform) {
128967 var c = 1, scale = transform(transformSymlog(c), transformSymexp(c));
128968 scale.constant = function(_) {

Callers 1

symlogishFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected