MathGroup Archive 2008

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

Search the Archive

Re: substitution within a substitution list


Hi,

subs /. (b -> _) :> (b -> 2^6)

??

Regards
   Jens

Bipin wrote:
> HI,
> 
> I'm trying to find a way of changing the substitution values within a
> substitution list.
> 
> For example, if I have the following substitution list:-
> 
> subs = {a->1, b->2, c->2}
> 
> I want to programmatically replace the value associated with 'b' from
> 2 to 20, ie ending up with
> 
> subs = {a->1, b->20, c->2}
> 
> Does anyone know of a mathematica function for doing this?
> 
> Bipin.
> 


  • Prev by Date: Re: substitution within a substitution list
  • Next by Date: RE: Formatting Problem with Summation Symbol
  • Previous by thread: Re: substitution within a substitution list
  • Next by thread: Re: substitution within a substitution list