Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: extracting function from the list

  • To: mathgroup at
  • Subject: [mg47979] Re: extracting function from the list
  • From: Jens-Peer Kuska <kuska at>
  • Date: Tue, 4 May 2004 07:03:12 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <c778kv$her$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


RelaceAll[] my help you, in the case where you can have more
than a single solution you have to decide which solution you
whant to use and

q= v /. {{v->x^2}}[[1]]

will help you.


edgar wrote:
> Hi, all:
> I can not seem to figure out how to extract a function from the list.
> for example:  mathematica gives me output:
> {{v->x^2}}
> How do I extract just x^2 out of that list and assign it to a
> different variable?
> thank you,
> edgar Lobachevskiy

  • Prev by Date: Re: Re: bug in IntegerPart ?
  • Next by Date: Re: Do Modules Produce Side Effects?
  • Previous by thread: RE: extracting function from the list
  • Next by thread: Re: extracting function from the list