void vsip_vmmul_f(const vsip_vview_f *a, const vsip_mview_f *b, vsip_major major, const vsip_mview_f *r); void vsip_cvmmul_f(const vsip_cvview_f *a, const vsip_cmview_f *b, vsip_major major, const vsip_cmview_f *r);
This function performs a vector-matrix multiplication. The operation performs either:
Row-wise multiplication if major = VSIP_ROW:

Column-wise multiplication if major = VSIP_COL:

for all
from 0 to
and
from 0 to
, where
is the number of rows and
is the number of columns in the
matrix.
const vsip_dvview_p* a: Input vector containing the multiplier elements.
const vsip_dmview_p* b: Input matrix to be multiplied.
vsip_major major: Storage order specifying the multiplication direction:
VSIP_ROW: Multiply each row of the matrix by the corresponding vector element
VSIP_COL: Multiply each column of the matrix by the corresponding vector element
const vsip_dmview_p* r: Output matrix that will store the results.
The length of the vector must match either the number of columns (for VSIP_COL) or the number of rows (for VSIP_ROW) in the matrix.