|
|
◆ drotm()
| void drotm |
( |
int |
n, |
|
|
double |
x[], |
|
|
int |
incx, |
|
|
double |
y[], |
|
|
int |
incy, |
|
|
double |
p[] |
|
) |
| |
Apply modified Givens plane rotation (BLAS 1)
- Purpose
- This routine applies the modified Givens plane rotation constructed by drotmg.
- Parameters
-
| [in] | n | Number of elements in input vectors. (If n <= 0, returns without computation) |
| [in,out] | x[] | Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
[in] Input vector x.
[out] Vector x after rotation. (x[i] = H*x[i] + H*y[i] (i = 0 to n-1)) |
| [in] | incx | Storage spacing between elements of x. |
| [in,out] | y[] | Array y[ly] (ly >= 1 + (n - 1)*abs(incy))
[in] Input vector y.
[out] Vector y after rotation. (y[i] = H*y[i] - H*x[i] (i = 0 to n-1)) |
| [in] | incy | Storage spacing between elements of y. |
| [in] | p[] | Array p[lp] (lp >= 5)
Rotation matrix H.
p[0]: -1, 0, 1 or -2.
p[1], p[2], p[3], p[4]: H11, H21, H12, H22 values.
See drotmg for a description of data storage in p[]. |
- Reference
- BLAS
|