MathGroup Archive 2004

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

Search the Archive

Re: how to 'edit' MatrixForm output to create a new matrix?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45560] Re: how to 'edit' MatrixForm output to create a new matrix?
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Wed, 14 Jan 2004 01:26:14 -0500 (EST)
  • Organization: The University of Western Australia
  • References: <bsbn43$lsd$1@smc.vnet.net> <bsd51n$r8i$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <bsd51n$r8i$1 at smc.vnet.net>, nma124 at hotmail.com (steve_H) 
wrote:

> I want to add a column or a row by editing the MATRIXFORM output
> directly. Not by using a command such as Join.
> 
> As I said, I cut/paste the output of MatrixForm to a new cell, now
> I need to use the mouse and edit that output to insert a row or
> a column right into the MatrixForm representation of the matrix. 

Don't use MatrixForm. If you set your set your Default Output FormType 
to TraditionalForm then matrices are automatically displayed as such and 
everything works as you require. You can copy a row, column, or block of 
a matrix into a new cell and add a new row or column (using a menu 
command or directly as \[ControlKey]-, or \[ControlKey]-\[ReturnKey]) 

If you don't want to do have TraditionalForm as your default FormatType, 
you can just set things up so just matrices are displayed in 
TraditionalForm as follows.

  $PrePrint := If[MatrixQ[#] == True, TraditionalForm[#], #] &

-- 
Paul Abbott                                   Phone: +61 8 9380 2734
School of Physics, M013                         Fax: +61 8 9380 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at physics.uwa.edu.au 
AUSTRALIA                            http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: composing functions
  • Next by Date: Struggling with list element assignment in functions
  • Previous by thread: Re: typesetting fractions
  • Next by thread: Struggling with list element assignment in functions