In [24]:
%pylab inline
from scipy import special as sp
from scipy import stats as st
In [21]:
t = linspace(-5,5,1000)
y = sp.gamma(t)
plot(t,y)
Out[21]:
In [17]:
sp.gamma(-1)
Out[17]:
In [37]:
t = linspace(0,1)
y = 2*st.norm.cdf(t*5) - 1
plot(t,y)
Out[37]:
In [44]:
y = 2/(1+exp(-(t*10)))-1
plot(t,y)
Out[44]: