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

◆ Zsyr()

Sub Zsyr ( Uplo As  String,
N As  Long,
Alpha As  Complex,
X_I As  Complex,
A_IJ As  Complex,
LdA As  Long,
Optional IncX As  Long = 1 
)

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

Purpose
This routine performs the symmetric rank 1 operation
A <- αxx^T + A
where α is a complex scalar, x is an n element vector and A is an n x n symmetric matrix.
Parameters
[in]UploSpecifies whether the upper or lower triangular part of the array A() is to be referenced as follows:
= "U": Only the upper triangular part of A() is to be referenced.
= "L": Only the lower triangular part of A() is to be referenced.
[in]NOrder 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, vector x is stored with element spacing IncX.
[in,out]A_IJAn element A(I, J) of the array A().
[in] Starting from this location, N x N symmetric matrix A is stored. According to Uplo, only upper or lower triangular part is to be referenced.
[out] Starting from this location, N x N Hermitian matrix αxx^H + A is stored. According to Uplo, only upper or lower triangular part is overwritten.
[in]LdALeading dimension of the two dimensional array A(). (LdA >= max(1, N))
[in]IncX(Optional)
Element spacing of vector x in the array X(). (IncX <> 0) (default = 1)
Reference
BLAS