naginterfaces.library.blas.zhous

naginterfaces.library.blas.zhous(delta, y, theta, z)[source]

zhous applies a complex elementary reflection to a complex vector.

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

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

Parameters
deltacomplex

The original scalar .

ycomplex, array-like, shape

The original vector .

thetacomplex

The value , as returned by zhousg().

If , is assumed to be the unit matrix and the transformation is skipped.

zcomplex, array-like, shape

The vector , as returned by zhousg().

Returns
deltacomplex

The transformed scalar .

ycomplex, ndarray, shape

The transformed vector.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

zhous applies a complex elementary reflection (Householder matrix) , as generated by zhousg(), to a given complex vector:

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

To apply the conjugate transpose matrix , call zhous with in place of .