Mathematica 9 is now available
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

subscripted function variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50287] subscripted function variables
  • From: "Christopher Grinde" <christopher.grinde at hive.no>
  • Date: Wed, 25 Aug 2004 03:35:53 -0400 (EDT)
  • Organization: Vestfold University College
  • Sender: owner-wri-mathgroup at wolfram.com

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.

Christopher Grinde


  • Prev by Date: Re: Technical Publishing Made Easy with New Wolfram Publicon Software
  • Next by Date: Re: Technical Publishing Made Easy with New Wolfram Publicon Software
  • Previous by thread: Re: Random rook's tour of a rectangle
  • Next by thread: Re: subscripted function variables