MathGroup Archive 2004

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

Search the Archive

Creating my own cell


GentleBeings
Trying to create a cell with a variable assigned to the matrix
I have tried this but no assignemnt (Also lookscumbersome)

makeIR[numberOfRows_] :=
  Module[{qar}, 
    StylePrint[Set[ qar,
        MatrixForm[
          Partition[
            Flatten[
              Insert[
                Table[{   \[Placeholder]  ,   \[Placeholder]  }, {
            numberOfRows - 1}], 
                 {\[SelectionPlaceholder], \[Placeholder]}, 1
                ]
              ], 2
            ]
          ]], "Input"
      ]
    ]

I want to pass in the number of rows and make the 2D matrix for 
a user to fill in
I want to position the current selection to the first placeholder.
Any suggestions are desperately needed, this is just over my ability.
kenf


  • Prev by Date: Re: Euler rotation angles
  • Next by Date: Re: Euler rotation angles
  • Previous by thread: Re: NDSolve and time-delayed equations?
  • Next by thread: Re: Creating my own cell