naginterfaces.library.blas.zgeru

naginterfaces.library.blas.zgeru(alpha, x, y, a)[source]

zgeru computes the rank-1 update of a complex general matrix using an unconjugated vector.

For full information please refer to the NAG Library document for f06sm

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06smf.html

Parameters
alphacomplex

The scalar .

xcomplex, array-like, shape

The element vector .

Intermediate elements of X are not referenced.

ycomplex, array-like, shape

The -element vector .

acomplex, array-like, shape

The matrix .

Returns
acomplex, ndarray, shape

The updated matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

In the NAG Library the traditional C interface for this routine uses a different algorithmic base. Please contact NAG if you have any questions about compatibility.

zgeru performs the rank-1 update operation

where is an complex matrix, is an element complex vector, is an -element complex vector, and is a complex scalar.