MathGroup Archive 2007

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

Search the Archive

Re: Notation related question


Could you maybe show us exactly how you intend to use these vectors?
That should make it easier to answer your questions, because your
current question does not make a lot of sense within the context of
how the front end and the kernel work.

On 1/22/07, T.Sariyski <tsariysk at verizon.net> wrote:
> 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
>
>
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Profile (Wolfram Workbench)
  • Next by Date: taking partial derivatives with respect to vector elements: need help with syntax
  • Previous by thread: Notation related question
  • Next by thread: Re: Notation related question