LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ cregr1()

subroutine cregr1 ( character*1  trans,
integer  m,
integer  n,
integer  ly,
integer  kl,
integer  ku,
complex  alpha,
complex, dimension(lda,*)  a,
integer  lda,
complex, dimension(*)  x,
integer  incx,
complex  beta,
complex, dimension(*)  y,
integer  incy,
complex, dimension(*)  ys 
)

Definition at line 3251 of file cblat2.f.

3253*
3254* Input initialization for regression test.
3255*
3256* .. Scalar Arguments ..
3257 CHARACTER*1 TRANS
3258 INTEGER LY, M, N, KL, KU, LDA, INCX, INCY
3259 COMPLEX ALPHA, BETA
3260* .. Array Arguments ..
3261 COMPLEX A(LDA,*), X(*), Y(*), YS(*)
3262* .. Local Scalars ..
3263 INTEGER I
3264* .. Intrinsic Functions ..
3265 INTRINSIC cmplx, real
3266* .. Executable Statements ..
3267 trans = 'T'
3268 m = 0
3269 n = 5
3270 kl = 0
3271 ku = 0
3272 alpha = cmplx( 1.0 )
3273 lda = max( 1, m )
3274 incx = 1
3275 beta = cmplx( -0.7, -0.8 )
3276 incy = 1
3277 ly = abs( incy )*n
3278 DO 10 i = 1, ly
3279 y( i ) = cmplx( 42.0, real( i ) )
3280 ys( i ) = y( i )
3281 10 CONTINUE
3282 RETURN
Here is the caller graph for this function: