It seems to me that FixedPoint is designed to work with a particular value, but what if we want it to operate on a vector instead?
I start with an nxn matrix mat and the function:
f[vec_]:=Exp[-vec]/Total[Exp[-vec]]
I want to find a vector of probabilities vec={p[1], p[2], ..., p[n]} such that:
vec==f[mat.vec],
where each p[i]>0 and the sum of the p[i]'s is 1.
Is there a way to do this in general? Or let's take a specific matrix:
test={{0.5, 0.44, 0.58}, {0.56, 0.5, 0.41}, {0.42, 0.59, 0.5}}
Can I find a vector of probabilities {p1,p2,p3} that works here?
This seems like a FixedPoint type of problem, but I'd settle for any solution, like NSolve or some Module/Block. I've been puzzling over this for a while, so any help would be appreciated.
test
matrix and then numerically find the convergenceergodic distribution
oftest
byMatrixPower
operation. You might want to look atStochastic Matrix
properties. $\endgroup$