MathGroup Archive 2007

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

Search the Archive

Notation related question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72841] Notation related question
  • From: "T.Sariyski" <tsariysk at verizon.net>
  • Date: Mon, 22 Jan 2007 03:39:04 -0500 (EST)

Hi,
I want to make a function that takes an argument V and returns a list 
build of V with subscripts 1,2.3: V -> {V_1, V_2, V_3}.

I symbolize V and define the function:

Symbolize[NotationBoxTag[\(V\__\)]]
Vec[V_]:={V_1, V_2, V_3}.

It works as I expect for V but Vec[X] returns {V_1,V_2,V_3} instead of 
{X_1,X_2,X_3} as I expect.

Anoter related (I think) question I have is how to define a _Vec type so 
that once I declare X_Vec the internal representation of X to be {X_1, 
X_2, X_3}?

Thanks in advance,
Ted




  • Prev by Date: Profile (Wolfram Workbench)
  • Next by Date: pursuit curve (differential equations)
  • Previous by thread: Re: Profile (Wolfram Workbench)
  • Next by thread: Re: Notation related question