MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Extracting free parameters from a Solve result

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93975] Re: Extracting free parameters from a Solve result
  • From: carlos at colorado.edu
  • Date: Sun, 30 Nov 2008 06:59:50 -0500 (EST)
  • References: <ggr247$e4l$1@smc.vnet.net>

On Nov 29, 2:30 am, Bob Hanlon <hanl... at cox.net> wrote:
> rules = {{W11 -> W44, W12 -> -W34, W13 -> W34,
>     W14 -> -W23 - W33 + W44, W22 -> W33, W24 -> -W34}};
>
> pars = Variables[Last /@ rules[[1]]]
>
> {W23,W33,W34,W44}
>
Thanks. Another simple solution, sent by danl at wolfram.com
is pars=Sort[Variables[v/.sol]]   where sol is the Solve output.
(I was unaware of Variables)





  • Prev by Date: Re: DeleteCases and multiple patterns
  • Next by Date: Re: DeleteCases and multiple patterns
  • Previous by thread: Re: Extracting free parameters from a Solve result
  • Next by thread: How to hold a form and convert it to a string