[comp.text.tex] Need help with Matrices/Row Operations with LaTeX

yanniosac@csv.viccol.edu.au (03/12/91)

Gidday 

I need to create some teaching notes describing matrix row transformation
manipulations and therefore require partitioned matrices with text on the right
hand side level with any row, i.e. something like

               [ 1 2 3 | 1 ]
New R2=R2+2R1  [ 2 4 5 | 3 ]
               [ 2 4 2 | 3 ]

This will be repeated down the page and l think it'd be nice if all  
the matrices line up.

I am using LaTeX, and I can do the partitioned matrices easy, viz.

$$ \left [
\begin{array}{rrr|r}
 1 & 2 & 3 & 1 \\
 2 & 4 & 5 & 3 \\
 2 & 4 & 2 & 3 \\
\end{array}
\right ] $$

but can't figure out how to put the line of text level with the corresponding
row of the matrix.

(TeX has \bordermatrix which could do the job, is there a LaTeX version of it?)

Any help is gladly appreciated.

Thanks

N. Yannios
Dept. opf Information & Numerical Science
Victoria College - Rusden
662 Blackburn Rd., Nth. Clayton, 3168
Melbourne, Victoria, AUSTRALIA