powered by
G2
G2_fun(z, type)
Data
Choice of the G2 function:
1: -1/z, z < 0
2: 0.5/sqrt(-z), z < 0
3: 1/z^2, z < 0
4: 1 / (1 + exp(-z))
5: exp(z)