MathGroup Archive 2001

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

Search the Archive

Re: Preserve subscripts like integers using N

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32009] Re: Preserve subscripts like integers using N
  • From: peter weijnitz <pewei at algonet.se>
  • Date: Tue, 18 Dec 2001 02:34:17 -0500 (EST)
  • References: <9vcck8$34n$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thread[Table[Subscript[x, i], {i, 1, 3}]->{N[Pi],2 N[Pi], 3 N[Pi]}]
seems to work

guillerm at usal.es wrote:

> I would like to preserve in the Outs the subscripts like integers using N in
> expression like this. How can I do?
>
> In[1]:=Thread[Table[Subscript[x, i], {i, 1, 3}]->{Pi,2 Pi, 3 Pi}]//N
>
> Out[1]:={Subscript[x, 1.] -> 3.141592653589793, Subscript[x, 2.] ->
>    6.283185307179586, Subscript[x, 3.] ->
> 9.42477796076938}
>
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.endymion.com/products/mailman/



  • Prev by Date: Simplify
  • Next by Date: Re: equations
  • Previous by thread: Re: Preserve subscripts like integers using N
  • Next by thread: Working with strings