[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



More information about the Insight-users mailing list