C Library Functions  - cscal (3)

NAME

cscal(3f) - [BLAS:COMPLEX_BLAS_LEVEL1] scales a vector by a constant. CX:=CA*CX (complex multiplier)

CONTENTS

Synopsis
Definition
Options
Authors
     Further Details
See Also

SYNOPSIS

subroutine cscal(n,ca,cx,incx)

      .. Scalar Arguments ..
      complex,intent(in)    :: ca
      integer,intent(in)    :: incx,n
      ..
      .. Array Arguments ..
      complex,intent(inout) :: cx(*)
      ..

DEFINITION

CSCAL scales a vector by a constant.

OPTIONS

    N

number of elements in input vector(s)

    CA

On entry, CA specifies the scalar alpha.

    CX

CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

storage spacing between elements of CX

AUTHORS

o Univ. of Tennessee
o Univ. of California Berkeley
o Univ. of Colorado Denver
o NAG Ltd.

 date:November 2017

    FURTHER DETAILS

jack dongarra, linpack, 3/11/78. modified 3/93 to return if incx .le. 0. modified 12/3/93, array(1) declarations changed to array(*)

SEE ALSO

Online html documentation available at http://www.netlib.org/lapack/explore-html/


Nemo Release 3.1 cscal (3) July 22, 2023
Generated by manServer 1.08 from 456072c8-ef3a-4186-af33-940e316d3c3b using man macros.