# naginterfaces.library.blas.axpzy¶

naginterfaces.library.blas.axpzy(alpha, x)[source]

axpzy multiplies a real vector by a scalar, preserving the input vector.

For full information please refer to the NAG Library document for f06fd

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06fdf.html

Parameters
alphafloat

The scalar .

xfloat, array-like, shape

The -element vector .

Returns
yfloat, ndarray, shape

The elements of the vector .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

axpzy performs the operation

where and are -element real vectors, and is a real scalar.