MathGroup Archive 2004

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

Search the Archive

Re: extracting function from the list

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

Hi,

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.

Regards
  Jens

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