Along the same line, once you have the <br><br>vnl_symmetric_eigensystem&lt;double&gt;&nbsp;&nbsp;G(data);<br><br>you have got the eigenvalues. You may then compute the square root of the eigenvalues and reconstruct the matrix which gives the desired result. The same applies for calculating logarithm of a matrix.
<br><br>===<br><br><br><div><span class="gmail_quote">On 4/15/07, <b class="gmail_sendername">Luis Ibanez</b> &lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi&nbsp;&nbsp;Achille,<br><br>Thanks for letting us know that you found the solution<br>for computing the square root of the diagnolizable matrix.<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;Regards,<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Luis<br><br><br>--------------------<br>
achille mangna wrote:<br>&gt;<br>&gt;<br>&gt; sorry I wanted to say diagonalisable.<br>&gt; i finally resolve my probleme, as my matrix is symetric and positive<br>&gt; semi-definite , i used vnl_symetric_eigensystem (I had not seen it before)
<br>&gt; there is function for &quot;square_root&quot; and &quot;inverse_square_root&quot;<br>&gt;<br>&gt; vnl_matrix&lt;double&gt; data;<br>&gt; vnl_symmetric_eigensystem&lt;double&gt;&nbsp;&nbsp;G(data);<br>&gt; vnl_matrix&lt;double&gt; m_SphereMatrix= 
G.inverse_square_root();<br>&gt;<br>&gt; thanks for your help!<br>&gt;<br>&gt;<br>&gt;<br>_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org
</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote></div><br><br>