MCPcopy Create free account
hub / github.com/alignoth/alignoth / nd

Function nd

resources/vega.min.js:10355–10359  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

10353 );
10354 }
10355 function nd(t) {
10356 return function (e) {
10357 return Math.sign(e) * Math.log1p(Math.abs(e / t));
10358 };
10359 }
10360 function rd(t) {
10361 return function (e) {
10362 return Math.sign(e) * Math.expm1(Math.abs(e)) * t;

Callers 1

idFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected