MathGroup Archive 2004

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

Search the Archive

RE: Re: Creating my own cell

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46782] RE: [mg46779] Re: Creating my own cell
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 8 Mar 2004 04:10:17 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

The following might be slightly better because it creates an Input cell that
you can then edit.

mx[m_, n_] :=
  StylePrint[ Table[\[Placeholder], {m}, {n}] // MatrixForm, "Input"]

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

From: Harold Noffke [mailto:Harold.Noffke at wpafb.af.mil]
To: mathgroup at smc.vnet.net


Ken:

This simple library function for creating a m-by-n matrix may be of
help to you.  When you use it in a notebook, all you type, for
example, is "mx[5,8]" to create a 5x8 matrix of placeholders for the
user to instantiate.

(* Display an mxn matrix initialized with placeholders.  The global
values of m,n are not changed. *)
mx[m_,n_] := Table[\[Placeholder], {m}, {n}] // MatrixForm

Regards,
Harold



  • Prev by Date: ReplaceList -- Unexpected Answer
  • Next by Date: RE: simple bug about Sum/Product function?
  • Previous by thread: Re: Creating my own cell
  • Next by thread: DSolve change in v5 -- undocumented error message