[Insight-users] Element-wise Vector Multiplication?

Kon Z mnkz at comp.leeds.ac.uk
Tue Apr 28 13:49:23 EDT 2009


Hello All,

I'm wondering if there's a straightforward way of doing element-wise 
vector multiplication like in Matlab? As in:

[1 2 3] .* [2 4 6] = [2 8 18]

I did try looking at VXL code, but nothing jumped out at me...

Regards,
Kon


More information about the Insight-users mailing list