Hello
The output to my mathematica cell is just a long algebraic equation produced from $Solve[\%, u_{i,1+j}]$.
$\left{\left{u_{i,1+j}\to
{{$u_{i,1+j}\to \frac{1}{2 h^2}\left(-2 h^2} (-2 h^2 k f_{i,j}+2 h^2 u_{i,j}+2 b h^2 k u_{i,j}-h k u_{-1+i,j} \mu {i,j}+h k u{1+i,j} \mu {i,j}+2 k u{-1+i,j} \sigma {i,j}-4 k u{i,j} \sigma {i,j}+2 k u{1+i,j} \sigma _{i,j}\right)\right}\right}${i,j}+h k ) $}}
I want to collect the terms $u_{i,j}$ on the right side of this expression, but I dont know how to get a handle on the output of Solve[]. i.e I want to do something like
$\text{Collect}\left[\%,\left{u_{i,j-1},u_{i,j},u_{i,j+1}\right}\right]$\text{Collect}\left[\%,u_{i,j}\right]$
But here % doesn't quite do the trick. Any ideas on how I might achieve this?

