Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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: subscripted function variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50304] Re: [mg50287] subscripted function variables
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Thu, 26 Aug 2004 06:50:49 -0400 (EDT)
  • References: <200408250735.DAA19767@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Aug 25, 2004, at 3:35 AM, Christopher Grinde wrote:

> Is there a way to use subscriptewd variable names in functions?
>
> I have tried
>
> f[Subscript[u,1]_]:=Subscript[u,1]^2
>
> but I am not able to make this work.
>
> Any tip would be highly appreciated as I have a code that generates a 
> high
> number of functions using Subscript[u,1]->Subscript[u,n] as variables.

Use the Utilities`Notation` package.

Regards,

Ssezi


  • Prev by Date: Q: Solve gives complex solution where there is a noncomplex solution how to get the last one?
  • Next by Date: Re: Publicon problems converting sample document to LaTeX
  • Previous by thread: subscripted function variables
  • Next by thread: Re: subscripted function variables