Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7681

Re: Can't use subscripted variables in function definition?

From Armand Tamzarian <mike.honeychurch@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Can't use subscripted variables in function definition?
Date 2012-01-09 08:20 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jee805$cui$1@smc.vnet.net> (permalink)
References <jebngu$1bb$1@smc.vnet.net>

Show all headers | View raw


On Jan 8, 8:26 pm, Bill Rowe <readn...@sbcglobal.net> wrote:
> On 1/7/12 at 5:25 AM, c...@comcast.net (Chris Young) wrote:
>
> >What is the status of subscripted variables in Mathematica now?
>
> It has not changed in version 8.
>
> >Can't they finally be used as regular variables?
>
> Yes, but not by default. You can use subscripted variables like
> ordinary variables using the Notation package. However, from my
> perspective this is more effort than it is worth.
>
> >Or is there some workaround so that they can be? This is time-honored,
> >very intuitive mathematical notation that should be available, IMO.
>
> Yes, it would be useful to have subscripted variables fully
> integrated into Mathematica. And, that may well happen in some
> future version. But for now, it seems to me this is simply one
> of the limitations Mathematica has.


I recently ported 90 pages of code from a competitor product -- mainly
used by engineers -- to Mathematica for someone. The code was heavily
subscripted because subscripted variables in the competitor product
were pretty easy and essentially worked out of the box the way you
would expect without a learning curve or any other issues. The were
other reasons to justify the port to Mathematica but it was quite enlightening
to see code in which subscripted symbolic variables were so natural
and frankly made me wonder why Mathematica is behind the curve on this. Lets
hope V9 offers this.

Mike

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Can't use subscripted variables in function definition? Bill Rowe <readnews@sbcglobal.net> - 2012-01-08 09:26 +0000
  Re: Can't use subscripted variables in function definition? Armand Tamzarian <mike.honeychurch@gmail.com> - 2012-01-09 08:20 +0000
  Re: Can't use subscripted variables in function definition? Ralph Dratman <ralph.dratman@gmail.com> - 2012-01-10 10:56 +0000
    Re: Can't use subscripted variables in function definition? Chris Young <cy56@comcast.net> - 2012-01-13 09:54 +0000
    Re: Can't use subscripted variables in function definition? Armand Tamzarian <mike.honeychurch@gmail.com> - 2012-01-14 07:58 +0000
      Re: Can't use subscripted variables in function definition? Armand Tamzarian <mike.honeychurch@gmail.com> - 2012-01-15 09:50 +0000
  Re: Can't use subscripted variables in function DrMajorBob <btreat1@austin.rr.com> - 2012-01-14 07:55 +0000

csiph-web