[vtkusers] simple newbie question

john.drozd at gmail.com john.drozd at gmail.com
Wed Jul 24 20:07:48 EDT 2013


I am no expert but The overloaded + operator in the vnl_matrix.h class adds two matrices.
Just google vnl_matrix class template reference.

Thank you,
John




On 2013-07-24, at 7:17 PM, Mike Gagnon <mike at gagnon.com> wrote:

> Uh yeah. I know you know I meant, is there a library call that does it. :-) Just trying to get acquainted with the classes.
> 
> Alex Malyushytskyy <alexmalvtk at gmail.com> wrote:
>> 
>> http://en.wikipedia.org/wiki/Matrix_%28mathematics%29#Addition.2C_scalar_multiplication_and_transposition
>> 
>> 
>> On Wed, Jul 24, 2013 at 1:11 PM, Mike Gagnon <mike at gagnon.com> wrote:
>>> Hi vtkusers,
>>> 
>>> This is a very very simple question, because I just can't seem to find the answer with google.  How do you add 2 matrices (vtkMatrix4x4) together?  The + operator is not overloaded....
>>> 
>>> Thank you,
>>> Mike
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>> 
>>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130724/fb261725/attachment.htm>


More information about the vtkusers mailing list