Re: Differrence between version 2.03 and 2.1?
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: Differrence between version 2.03 and 2.1?
- From: Garth Payne <pan at math.psu.edu>
- Date: Thu, 25 Feb 93 10:24:48 -0500
> While I have your attention, I wonder if you know an > easy way to turn the solutions of a Solve from a list of > replacement rules to simply elements of a list. Suppose > Solve[x==f[x],{x}]={{x->a},{x->b},{x->c}}, I want the list > {a,b,c} instead. I have come up with a cumbersome way of > doing this which is > solns=Table[x/.Flatten[solnlist=Solve[x==f[x],{x}]][[i]], > {i,Length[solnlist]}] > but I know there must be a better way. > > > Thanks > Leon > > The command x /. Solve[x==f[x],{x}] is what you want. Garth Payne