MathGroup Archive 2006

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

Search the Archive

Re: Subscripted variables and function definitions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65219] Re: Subscripted variables and function definitions
  • From: Geico Caveman <spam at spam.invalid>
  • Date: Sat, 18 Mar 2006 06:40:42 -0500 (EST)
  • References: <dvdida$a26$1@smc.vnet.net> <dve4na$ffg$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Jens-Peer Kuska wrote:

> Hi,
> 
> you should use Symbolize[] from the Notation package, if
> you need Subscript[_,_] in a function pattern.

Thanks for the hint. I will look this up.

> 
> and X[1] is a *function* call to the function X[]
> with the arguments 1 while
> X[[1]] is the Part[], i.e., the first element of
> the value of X, and the value of X should be a list.
> You mix up both and that cause your problems.

Actually, that was a typo in my post. I am using X[[1]]/(X[[3]]+X[[4]]) and
I get what I described.

Any ideas ?


  • Prev by Date: Re: Is this a BUG of D[f, var1, ..., NonConstants -> {u1, ...}] ?
  • Next by Date: Combined Graphics3D with Separate PlotRange?
  • Previous by thread: Re: Subscripted variables and function definitions
  • Next by thread: Re: Subscripted variables and function definitions