MB_DSCAL – Scales a vector by a constant

Block SymbolLicensing group: STANDARD
PIC

Function Description
The output references yX is always set to the corresponding input reference uX. If HLD = on then nothing is computed otherwise the BLAS function DSCAL is called internally:

DSCAL(N, a, uX, INCX);

where parameters of DSCAL are set in the following way:

The error flag E is set to on if:

See BLAS documentation [7] for more details.

Inputs

uX

Input reference to vector x

reference

a

Scalar coefficient a

double

n

Number of processed vector elements

long

incx

Index increment of vector x

long

HLD

Hold

bool

Outputs

yX

Output reference to vector x

reference

E

Error indicator

bool