Bug introduced in 10.0 and fixed in 10.2.0
On version 10.0 for arm:
Residue[LogisticSigmoid[z],{z,I Pi}]
gives 0
not 1.
Can anyone reproduce this?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityNow fixed in version 10.2.
In[1]:= Residue[LogisticSigmoid[z], {z, I Pi}]
Out[1]= 1
In[2]:= Residue[1/(1 + Exp[-z]), {z, I Pi}]
Out[2]= 1
In[3]:= Coefficient[Series[1/(1 + Exp[-z]), {z, I Pi, 0}], 1/(z - I Pi)]
Out[3]= 1
Residue[]
the result ofFunctionExpand[LogisticSigmoid[z]]
? $\endgroup$Residue[LogisticSigmoid[z],{z,I Pi}]
gives 0 whileResidue[FunctionExpand[LogisticSigmoid[z]], {z, I Pi}]
gives 1. What's going on? $\endgroup$