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

Function crot_

numpy/linalg/lapack_lite/f2c_c_lapack.c:23894–24024  ·  view source on GitHub ↗

Subroutine */

Source from the content-addressed store, hash-verified

23892} /* cpotrs_ */
23893
23894/* Subroutine */ int crot_(integer *n, complex *cx, integer *incx, complex *
23895 cy, integer *incy, real *c__, complex *s)
23896{
23897 /* System generated locals */
23898 integer i__1, i__2, i__3, i__4;
23899 complex q__1, q__2, q__3, q__4;
23900
23901 /* Local variables */
23902 static integer i__, ix, iy;
23903 static complex stemp;
23904
23905
23906/*
23907 -- LAPACK auxiliary routine (version 3.2) --
23908 -- LAPACK is a software package provided by Univ. of Tennessee, --
23909 -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
23910 November 2006
23911
23912
23913 Purpose
23914 =======
23915
23916 CROT applies a plane rotation, where the cos (C) is real and the
23917 sin (S) is complex, and the vectors CX and CY are complex.
23918
23919 Arguments
23920 =========
23921
23922 N (input) INTEGER
23923 The number of elements in the vectors CX and CY.
23924
23925 CX (input/output) COMPLEX array, dimension (N)
23926 On input, the vector X.
23927 On output, CX is overwritten with C*X + S*Y.
23928
23929 INCX (input) INTEGER
23930 The increment between successive values of CY. INCX <> 0.
23931
23932 CY (input/output) COMPLEX array, dimension (N)
23933 On input, the vector Y.
23934 On output, CY is overwritten with -CONJG(S)*X + C*Y.
23935
23936 INCY (input) INTEGER
23937 The increment between successive values of CY. INCX <> 0.
23938
23939 C (input) REAL
23940 S (input) COMPLEX
23941 C and S define a rotation
23942 [ C S ]
23943 [ -conjg(S) C ]
23944 where C*C + S*CONJG(S) = 1.0.
23945
23946 =====================================================================
23947*/
23948
23949
23950 /* Parameter adjustments */
23951 --cy;

Callers 1

ctrexc_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected