MathGroup Archive 1999

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

Search the Archive

Re: Re: question about entering vectors by the keyboard

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17012] Re: [mg16963] Re: question about entering vectors by the keyboard
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sat, 10 Apr 1999 02:13:41 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

David,

Here is one solution for entering vector in column form from the
keyboard. Use MakeExpression to interpret you input.

MakeExpression[GridBox[{
        {a_},
        {b_},
        {c_}
        }],StandardForm]:=
 MakeExpression[RowBox[{"{",
      RowBox[{a, ",", b, ",", c}], "}"}],StandardForm]

Then (this is suppose to be in column form)
     1
     2
     3
gives
    {1,2,3}

I am sending you a notebook which illustrates this and other aspects
of your question in more detail.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



  • Prev by Date: RE: Transformation rules for Floor/Ceiling
  • Next by Date: Re: Together, Apart, ?
  • Previous by thread: Re: question about entering vectors by the keyboard
  • Next by thread: Re: Mathlink : Problem in debugging from VC++.