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

◆ Zgeru()

Sub Zgeru ( M As  Long,
N As  Long,
Alpha As  Complex,
X_I As  Complex,
Y_I As  Complex,
A_IJ As  Complex,
LdA As  Long,
Optional IncX As  Long = 1,
Optional IncY As  Long = 1 
)

Rank 1 operation: A <- αxyT + A (complex matrices) (BLAS 2)

Purpose
This routine performs the rank 1 operation
A <- αxy^T + A
where α is a scalar, x is an m element vector, y is an n element vector and A is an m x n matrix.
Parameters
[in]MNumber of rows of the matrix A. (M >= 0) (If M = 0, returns without computation)
[in]NNumber of columns of the matrix A. (N >= 0) (If N = 0, returns without computation)
[in]AlphaScalar α.
[in]X_IAn element X(I) of the array X(). Starting from this location, M vector x is stored with element spacing IncX.
[in]Y_IAn element Y(I) of the array Y(). Starting from this location, N vector y is stored with element spacing IncY.
[in,out]A_IJAn element A(I, J) of the array A().
[in] Starting from this location, M x N matrix A is stored.
[out] Starting from this location, M x N matrix αxy^T + A is stored.
[in]LdALeading dimension of the two dimensional array A(). (LdA >= max(1, M))
[in]IncX(Optional)
Element spacing of vector x in the array X(). (IncX <> 0) (default = 1)
[in]IncY(Optional)
Element spacing of vector y in the array Y(). (IncY <> 0) (default = 1)
Reference
BLAS