1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>PSMTXReorder</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">PSMTXReorder</H1>
12<H2 align="left">C Specification</H2>
13<BLOCKQUOTE><CODE><CODE>#include &lt;revolution/mtx.h&gt;</CODE></CODE></BLOCKQUOTE>
14<BLOCKQUOTE><CODE><CODE>void PSMTXReorder ( const Mtx <EM>src</EM>, ROMtx <EM>dest</EM> );</CODE></CODE></BLOCKQUOTE>
15<H2 align="left">Arguments</H2>
16<DIV align="left">
17<TABLE border="1" cellpadding="3" cellspacing="0.1">
18  <TBODY>
19    <TR>
20<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>src</EM></STRONG></CODE></TD>
21<TD width="520">Source matrix</TD>
22    </TR>
23    <TR>
24<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>dest</EM></STRONG></CODE></TD>
25<TD width="520">Destination matrix.&nbsp;<B>Note:</B> The type is <A href="../structures/ROMtx_ROMtxPtr.html"><CODE>ROMtx</CODE></A>, which prevents the use of reordered matrices in functions that cannot use them.</TD>
26    </TR>
27  </TBODY>
28</TABLE>
29</DIV>
30<H2 align="left">Return Values</H2>
31<P align="left">None.</P>
32<H2 align="left">Description</H2>
33<P>Creates a column-major matrix <code><strong><em>dest</em></strong></code> from row-major matrix <code><strong><em>src</em></strong></code>.&nbsp;Reordered matrices are computationally more friendly to the processor's paired single instruction set.</P>
34<P>This function takes approximately 15 cycles.</P>
35
36<H2 align="left">See Also</H2>
37<P align="left"><A href="../structures/ROMtx_ROMtxPtr.html">ROMtx, ROMtxPtr</A>, <A href="../structures/Vec_VecPtr.html">Vec, VecPtr</A>, <CODE><A href="PSMTXROMultVecArray.html">PSMTXROMultVecArray</A></CODE></P>
38<H2>Revision History</H2>
39<P>2006/03/01 Initial version.</P>
40<hr>
41<P>CONFIDENTIAL</p>
42</BODY>
43</HTML>