C Library Functions  - dscal (3)

NAME

dscal(3f) - [BLAS:DOUBLE_BLAS_LEVEL1] scales a vector by a constant.

CONTENTS

Synopsis
Definition
Options
Authors
     Further Details
See Also

SYNOPSIS

subroutine dscal(n,da,dx,incx)

      .. Scalar Arguments ..
      double precision,intent(in)    :: da
      integer,intent(in)             :: incx,n
      ..
      .. Array Arguments ..
      double precision,intent(inout) :: dx(*)
      ..

DEFINITION

DSCAL scales a vector by a constant. uses unrolled loops for increment equal to 1.

OPTIONS

    N

number of elements in input vector(s)

    DA

On entry, DA specifies the scalar alpha.

    DX

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

    INCX

storage spacing between elements of DX

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 dscal (3) July 22, 2023
Generated by manServer 1.08 from bb683484-7387-479f-9ebd-6e29b22cf446 using man macros.