<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I am no expert but The overloaded + operator in the vnl_matrix.h class adds two matrices.</div><div>Just google vnl_matrix class template reference.<br><br>Thank you,<div>John</div><div><div><br></div><div><br></div><div><br></div></div></div><div><br>On 2013-07-24, at 7:17 PM, Mike Gagnon &lt;<a href="mailto:mike@gagnon.com">mike@gagnon.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>Uh yeah.  I know you know I meant, is there a library call that does it.  :-)  Just trying to get acquainted with the classes.<br><br><div class="gmail_quote">Alex Malyushytskyy &lt;<a href="mailto:alexmalvtk@gmail.com">alexmalvtk@gmail.com</a>&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><a href="http://en.wikipedia.org/wiki/Matrix_%28mathematics%29#Addition.2C_scalar_multiplication_and_transposition">http://en.wikipedia.org/wiki/Matrix_%28mathematics%29#Addition.2C_scalar_multiplication_and_transposition</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 1:11 PM, Mike Gagnon <span dir="ltr">&lt;<a href="mailto:mike@gagnon.com" target="_blank">mike@gagnon.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi vtkusers,<br>
<br>
This is a very very simple question, because I just can't seem to find the answer with google. &nbsp;How do you add 2 matrices (vtkMatrix4x4) together? &nbsp;The + operator is not overloaded....<br>
<br>
Thank you,<br>
Mike<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtkusers</a><br>
</blockquote></div><br></div>
</blockquote></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Powered by <a href="http://www.kitware.com">www.kitware.com</a></span><br><span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></span><br></div></blockquote></body></html>