File: transpose.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (48 lines) | stat: -rw-r--r-- 1,337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<HTML>
<HEAD>
<TITLE>TRANSPOSE</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF" fgcolor="#000000">

<P><A NAME="transpose"></A>
<font size="+3" color="green"><B>TRANSPOSE</B></font></P>
<P>
<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%"><CODE>
vout = &lt;&minus;v</CODE>
</TD></TR>
</table></p>
<p>
 The transpose operator, <code>&lt;&minus;</code>, is a unary operator
 that produces the transpose of a matrix, that is, the rows and columns are
 interchanged.</p>
<p>
 Suppose the matrix <code>M</code> has M rows and N columns. Then 
 <code>&lt;-M</code> has N rows and M columns, where <code>(&lt;-M)[i,j] = M[j,i]</code> for
 <code>i = 1,2,...,N</code> and <code>j = 1,2,...,M</code>.</p>
<P>
 <font size="+1" color="green">Example</font></p>
<P>
 Let
 <pre>
     |  1  2  3 |
 M = |  4  5  6 |
     |  7  8  9 |
     | 10 11 12 |
 </pre>
 then
 <pre>
       |  1  4  7 10 |
 &lt;-M = |  2  5  8 11 |
       |  3  6  9 12 |
 </pre></p>
<P>
 <a href="../boolean/boolean.htm"><img border="0" src="../../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Boolean operators</font></a><br />
 <a href="../reflect/reflect.htm"><img border="0" src="../../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">matrix reflect</font></a>
</P>
</BODY>
</HTML>