naginterfaces.library.blas.dger

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

dger computes the rank-1 update of a real general matrix.

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

https://www.nag.com/numeric/nl/nagdoc_29.3/flhtml/f06/f06pmf.html

Parameters
alphafloat

The scalar .

xfloat, array-like, shape

The element vector .

yfloat, array-like, shape

The -element vector .

afloat, array-like, shape

The matrix .

Returns
afloat, 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.

dger performs the rank-1 update operation

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