[ITK] [ITK-users] Multiply VariableSizeMatrix by VariableLengthVector

Cyril Mory cyril.mory at creatis.insa-lyon.fr
Mon Sep 19 11:05:28 EDT 2016


Hi ITK users,

I have some working ITK code with itk::Matrix by itk::Vector 
multiplications, and I need to change to itk::VariableSizeMatrix and 
itk::VariableLengthVector.

Simply writing

"myResultVector = myMatrix * myInputVector"

works with itk::Matrix and itk::Vector objects, but not with their 
VariableSize/Length counterparts. Is there a way to do it, other than 
writing the matrix by vector multiplication for-loops myself ?

Regards,

Cyril

_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list