Content

BLAS Level 1: rotg, rot

rotg, rot are defined in namespace flens::blas.

rotg

a

(input/output) real or complex scalar
On entry, the \(x\)-coordinate of the point \(p = (a,b)^T\) subject to being rotated.
On exit, the value \(r\), i.e. the euklidian norm of \(p\).

b

(input/output) real or complex scalar
On entry, the \(y\)-coordinate of the point \(p = (a,b)^T\) subject to being rotated.
On exit, the value \(z\) (see above).

c

(output) real or complex scalar
On exit, the parameter \(c\) associated with the Givens rotation.

s

(output) real or complex scalar
On exit, the parameter \(s\) associated with the Givens rotation.

rot

x

(input/output) real or complex DenseVector
On exit, contains the rotated \(x\)-coodrinates.

y

(input/output) real or complex DenseVector
On exit, contains the rotated \(y\)-coodrinates.

c

(input) real or complex scalar
The parameter \(c\) associated with the Givens rotation.

s

(input) real or complex scalar
The parameter \(s\) associated with the Givens rotation.