MCPcopy Create free account
hub / github.com/numpy/numpy / zrot_

Function zrot_

numpy/linalg/lapack_lite/f2c_z_lapack.c:24007–24137  ·  view source on GitHub ↗

Subroutine */

Source from the content-addressed store, hash-verified

24005} /* zpotrs_ */
24006
24007/* Subroutine */ int zrot_(integer *n, doublecomplex *cx, integer *incx,
24008 doublecomplex *cy, integer *incy, doublereal *c__, doublecomplex *s)
24009{
24010 /* System generated locals */
24011 integer i__1, i__2, i__3, i__4;
24012 doublecomplex z__1, z__2, z__3, z__4;
24013
24014 /* Local variables */
24015 static integer i__, ix, iy;
24016 static doublecomplex stemp;
24017
24018
24019/*
24020 -- LAPACK auxiliary routine (version 3.2) --
24021 -- LAPACK is a software package provided by Univ. of Tennessee, --
24022 -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
24023 November 2006
24024
24025
24026 Purpose
24027 =======
24028
24029 ZROT applies a plane rotation, where the cos (C) is real and the
24030 sin (S) is complex, and the vectors CX and CY are complex.
24031
24032 Arguments
24033 =========
24034
24035 N (input) INTEGER
24036 The number of elements in the vectors CX and CY.
24037
24038 CX (input/output) COMPLEX*16 array, dimension (N)
24039 On input, the vector X.
24040 On output, CX is overwritten with C*X + S*Y.
24041
24042 INCX (input) INTEGER
24043 The increment between successive values of CY. INCX <> 0.
24044
24045 CY (input/output) COMPLEX*16 array, dimension (N)
24046 On input, the vector Y.
24047 On output, CY is overwritten with -CONJG(S)*X + C*Y.
24048
24049 INCY (input) INTEGER
24050 The increment between successive values of CY. INCX <> 0.
24051
24052 C (input) DOUBLE PRECISION
24053 S (input) COMPLEX*16
24054 C and S define a rotation
24055 [ C S ]
24056 [ -conjg(S) C ]
24057 where C*C + S*CONJG(S) = 1.0.
24058
24059 =====================================================================
24060*/
24061
24062
24063 /* Parameter adjustments */
24064 --cy;

Callers 1

ztrexc_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected