MathGroup Archive 1999

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

Search the Archive

Re: Dealing with submatrices


Chris Hall wrote:
> 
> I want to construct a 9x9 matrix using 9 existing 3x3 matrices:
> M = { {m11, m12, m13}, {m21, m22, m23}, {m31, m32, m33}}
> 
> The problem is that this creates a too-deep nested list and I can't
> figure out how
> to make it a 9x9.  Flatten doesn't appear to be the right tool.

	Try the BlockMatrix[...] command in the
LinearAlgebra`MatrixManipulation` package.  Its one of the standard add
ons.
	Basically:

	<<LinearAlgebra`MatrixManipulation`

	M=BlockMatrix[{{m11,m12,m13},{m21,m22,m23},{m31,m32,m33}}] //MatrixForm

	where mij are 3X3 matrices.



 
*************************************************
Guilherme Roschke			 	*
Programmer					*
Dept. of Anesthesia				*
University of Pennsylvania Medical School	*
gr at network3.entropy.upenn.edu			*
*************************************************


  • Prev by Date: Re: docs on bracket shapes
  • Next by Date: Re: Version 4.0 - Importing TIF files
  • Previous by thread: Re: Dealing with submatrices
  • Next by thread: Re: Dealing with submatrices