MathGroup Archive 2004

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

Search the Archive

Re: Generating my own martix template


Hi,

With[{nr = 2},
  lst = Table[RowBox[{"\[Placeholder]", "\[Placeholder]"}], {nr}];
  CellPrint[Cell[GridBox[lst], "Input", "TraditionalForm"]]
  ]

Regards
  Jens

"Flurchick, Kenneth M" wrote:
> 
> GentleBeings
> Not sure where to look I want to create a simple matrix input based on some
> variable nr, the number of rows
> I tried the following
> 
> CellPrint[
>   Cell[
>     GridBox[
>       {Table[{"\[Placeholder]", "\[Placeholder]"}, {nr}]}
>       ],
>     "Input", "TraditionalForm"
>     ]
>   ]
> 
> No way, I have RowBox and BoxData elements as well the core of the problem
> is
> the return from Table I think,
> Suggestions?
> kenf


  • Prev by Date: Re: DSolve change in v5 -- undocumented error message
  • Next by Date: RE: RE: simple bug about Sum/Product function?
  • Previous by thread: Generating my own martix template
  • Next by thread: NDSolve and time-delayed equations?