axpy - Scalar-Vector Product VI

Owning Palette: Basic Linear Algebra Subroutines VIs

Requires: Full Development System

Calculates the product of a scalar and a vector.

The data types you wire to the alpha, X, and Y inputs determine the polymorphic instance to use.

Details  

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

daxpy - Scalar-Vector Product (DBL)

yInc determines whether the VI skips elements in y for the calculation. The default is 1, meaning the VI does not skip any elements in y. yInc is an optional input.
Note  If you wire a value other than the default to yInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in y, the VI uses only the first element in y for the calculation. If you wire a value that is less than 0, the VI reverses the order of the elements before it calculates the result.
xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input.
Note  If you wire a value other than the default to xInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in x, the VI uses only the first element in x for the calculation. If you wire a value that is less than 0, the VI reverses the order of the elements before it calculates the result.
x is a real vector.
y is a real vector. The default is a vector with all elements equal to 0.
alpha is a real scalar that scales x. The default is 1.
daxpy is a real vector of the same size as y that returns the result of alpha*x + y.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

zaxpy - Scalar-Vector Product (CDB)

yInc determines whether the VI skips elements in y for the calculation. The default is 1, meaning the VI does not skip any elements in y. yInc is an optional input.
Note  If you wire a value other than the default to yInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in y, the VI uses only the first element in y for the calculation. If you wire a value that is less than 0, the VI reverses the order of the elements before it calculates the result.
xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input.
Note  If you wire a value other than the default to xInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in x, the VI uses only the first element in x for the calculation. If you wire a value that is less than 0, the VI reverses the order of the elements before it calculates the result.
x is a complex vector.
y is a complex vector. The default is a vector with all elements equal to 0.
alpha is a complex scalar that scales X. The default is 0.
zaxpy is a real vector of the same size as y that returns the result of alpha*x + y.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

axpy - Scalar-Vector Product Details

Refer to the BLAS (Basic Linear Algebra Subprograms) website at netlib.org for more information on BLAS functions.