<DIV>Hi all,</DIV>
<DIV>Do you know the newmat C++ library? It is a free matrix library <A href="http://www.robertnz.net/ol_doc.htm">http://www.robertnz.net/ol_doc.htm</A>&nbsp; and it allows you to do the matrix operations as if you are doing in matlab (such as C=A+B ). </DIV>
<DIV>&nbsp;</DIV>
<DIV>Anyways, I wanted to include this into my project, but I figured that in newmat.h, there is a class called MartixType such as:</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>-----------------------------------------------------------------------</DIV></DIV>
<DIV>class MatrixType<BR>{<BR>public:<BR>&nbsp;&nbsp; enum Attribute {&nbsp; .....</DIV>
<DIV>-----------------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>Well, also the itkRigid2DTransform.txx has such stuff&nbsp; :-( </DIV>
<DIV>&nbsp;</DIV>
<DIV>such as:</DIV>
<DIV>-------------------------------------------------------------------------</DIV>
<DIV>template&lt;class TScalarType&gt;<BR>void<BR>Rigid2DTransform&lt;TScalarType&gt;::<BR>SetRotationMatrix(const MatrixType &amp; matrix )<BR>{<BR>&nbsp; itkDebugMacro("setting&nbsp; m_RotationMatrix&nbsp; to " &lt;&lt; matrix ); <BR>&nbsp; // The matrix must be orthogonal otherwise it is not<BR>&nbsp; // representing a valid rotaion in 2D space<BR>&nbsp; typename MatrixType::InternalMatrixType test = <BR>&nbsp;&nbsp;&nbsp; matrix.GetVnlMatrix() * matrix.GetTranspose();</DIV>
<DIV>------------------------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any easy way to get around this problem?&nbsp;Help will be very much appreciated,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot,</DIV>
<DIV>Seniha</DIV><p>
                <hr size=1>Yahoo! for Good<br> 
<a href="http://store.yahoo.com/redcross-donate3/">Click here to donate</a> to the Hurricane Katrina relief effort.