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>PSMTXReorder</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/mtx.h> 16 17void PSMTXReorder ( const Mtx src, ROMtx dest ); 18</pre></dd></dl> 19 20<H2>Arguments</H2> 21<TABLE class="arguments" border="1" > 22 <TBODY> 23 <TR> 24<TH>src</TH> 25<TD>Source matrix</TD> 26 </TR> 27 <TR> 28<TH>dest</TH> 29<TD>Destination matrix. Note that this is of type <A href="../structures/ROMtx_ROMtxPtr.html"><CODE>ROMtx</CODE></A>, which prevents the use of reordered matrices in functions that cannot use this type.</TD> 30 </TR> 31 </TBODY> 32</TABLE> 33 34<H2>Return Values</H2> 35<P>None.</P> 36 37<H2>Description</H2> 38<P>Creates a column-major matrix, <SPAN class="argument">dest</SPAN>, from a row-major matrix, <SPAN class="argument">src</SPAN>. Reordered matrices are computationally more friendly to the processor's paired single instruction set.</P> 39<P>This function takes approximately 15 cycles.</P> 40 41<H2>See Also</H2> 42<P class="reference"> 43<A href="../structures/ROMtx_ROMtxPtr.html">ROMtx, ROMtxPtr</A>, 44<A href="../structures/Vec_VecPtr.html">Vec, VecPtr</A>, 45<A href="PSMTXROMultVecArray.html">PSMTXROMultVecArray</A> 46</P> 47 48<H2>Revision History</H2> 49<P> 502006/03/01 Initial version.<br> 51</P> 52 53<hr><p>CONFIDENTIAL</p></body> 54</HTML>