XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Dscal()

Sub Dscal ( N As  Long,
A As  Double,
X_I As  Double,
Optional IncX As  Long = 1 
)

x <- ax (BLAS 1)

Purpose
This routine scales a vector by a constant.
Parameters
[in]NNumber of elements in vector x. (If N <= 0, returns without computation)
[in]AScalar a.
[in]X_IAn element X(I) of the array X().
[in] Starting from this location, vector x is stored with element spacing IncX.
[out] Starting from this location, ax is stored with element spacing IncX.
[in]IncX(Optional)
Element spacing of vector x in the array X(). (default = 1)
Reference
BLAS