Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

4.4.4 vsip_dvmsa_p - Vector Multiply-Scalar-Add

void vsip_vmsa_f(vsip_vview_f const *a, vsip_vview_f const *b, 
               vsip_scalar_f alpha, vsip_vview_f const *r); 
void vsip_cvmsa_f(vsip_cvview_f const *a, vsip_cvview_f const *b, 
                vsip_cscalar_f alpha, vsip_cvview_f const *r);
Description

This function performs an element-wise multiply-scalar-add operation on two input vectors and a scalar constant. The operation performs element-wise computation:

ri= (ai·bi)+α

for all i from 0 to n-1, where n is the length of the vectors.

Parameters