XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Zaxpy()

Sub Zaxpy ( N As  Long,
ZA As  Complex,
ZX_I As  Complex,
ZY_I As  Complex,
Optional IncX As  Long = 1,
Optional IncY As  Long = 1 
)

y <- ax + y (complex vector) (BLAS 1)

Purpose
This routine computes the complex constant times a complex vector plus a complex vector.
Parameters
[in]NNumber of elements in vectors x and y. (If N <= 0, returns without computation)
[in]ZAScalar a.
[in]ZX_IAn element X(I) of the array X(). Starting from this location, vector x is stored with element spacing IncX.
[in,out]ZY_IAn element Y(I) of the array Y().
[in] Starting from this location, vector y is stored with element spacing IncY.
[out] Starting from this location, ax + y is stored with element spacing IncY.
[in]IncX(Optional)
Element spacing of vector x in the array X(). (default = 1)
[in]IncY(Optional)
Element spacing of vector y in the array Y(). (default = 1)
Reference
BLAS