piecewise-function
A piecewise function factory.
The first argument is the x values and the second the y values. It will project out of bound values on the first/last piece.
var Piecewise = relu = // 0 // 0 // 0.5 // 1.5
A piecewise function factory.
The first argument is the x values and the second the y values. It will project out of bound values on the first/last piece.
var Piecewise = relu = // 0 // 0 // 0.5 // 1.5
npm i piecewise-function
0
1.0.0
ISC
2.18 kB
5