naginterfaces.library.blas.ddscl(d, x)[source]

ddscl multiplies a real vector by a real diagonal matrix.

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

dfloat, array-like, shape

The vector .

xfloat, array-like, shape

The array must contain the -element vector .

xfloat, ndarray, shape

The updated vector .


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

ddscl performs the operation

where is an -element real vector and is a real diagonal matrix.

Equivalently, the function performs the element-by-element product of the vectors and