MathGroup Archive 2004

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

Search the Archive

Re: extracting function from the list


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