MathGroup Archive 2001

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

Search the Archive

Re: creating a palette for hilberts matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30793] Re: creating a palette for hilberts matrix
  • From: "Steve Luttrell" <luttrell at signal.qinetiq.com>
  • Date: Wed, 19 Sep 2001 00:16:32 -0400 (EDT)
  • References: <9mngnq$58e$1@smc.vnet.net> <9n17rk$24e$1@smc.vnet.net> <9ncfik$prp$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Au Han Bin" <sci70351 at leonis.nus.edu.sg> wrote in message
news:9ncfik$prp$1 at smc.vnet.net...
>
> how do i create a palette for a general hilberts matrix?

Here are the steps you need:

1. Input | Create Button | Evaluate.

This creates a button "skeleton".

2. Paste the following into the button (at the point which is highlighted
after you created it)

Table[1/(i+j-1),{i,#},{j,#}]&[\[SelectionPlaceholder]]

This tells the button to generate a Hilbert matrix whose size is determined
by whatever (positive integer) is selected when the button is clicked.

3. File | Generate Palette from Selection

This generates a one-button palette from the button you just created.

To use this palette button you simply type an integer (the required Hilbert
matrix size) into an input cell, highlight it by click-dragging the mouse
cursor over it, press the palette button, and you get the Hilbert matrix of
the requested size.

--
Steve Luttrell
QinetiQ, Malvern, U.K.




  • Prev by Date: Re: comma delimited files for input?
  • Next by Date: Numbered equations
  • Previous by thread: creating a palette for hilberts matrix
  • Next by thread: cubic complex