How to multiply each column vector with a scalar from an array?
Example
a b c x1a x2b x3c
a b c x1 x2 x3 -> x1a x2b x3c
a b c x1a x2b x3c
a b c x1a x2b x3c
How to multiply each row vector with a scalar from an array?
Example
a a a a x1a x1a x1a x1a
b b b b x1 x2 x3 -> x2b x2b x2b x2b
c c c c x3c x3c x3c x3c
Recommendations for a better topic will be appreciated