<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi,<br><br>I'm using itk::Matrix in my code and I'm not happy the way it's done.<br>Let me explain, I have the following code :<br><br>itk::Matrix&lt;double, 4, 4&gt;&nbsp; A;<br>...<br>itk::Matrix&lt;double, 4, 4&gt;&nbsp; B = A&gt;GetInverse();<br><br>This doesn't work because GetInverse return a vnl_matrix.<br>Why returning a vnl_matrix and not an itk::Matrix?<br><br>So, I can write my code using a vnl_matrix, and then copy everything into and itk::Matrix.<br>I don't like it, it's not clean.<br>My question is : what is the best way to use itk::Matrix (e.g. invert a matrix) and be sure that all the memory is free afterwards?<br><br>Thanks!<br><br>Vincent Garcia<br></div></body></html>