.TH "scal" 3 "Wed Feb 7 2024 11:30:40" "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME scal \- scal: x = alpha x .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "subroutine \fBcscal\fP (n, ca, cx, incx)" .br .RI "\fBCSCAL\fP " .ti -1c .RI "subroutine \fBcsscal\fP (n, sa, cx, incx)" .br .RI "\fBCSSCAL\fP " .ti -1c .RI "subroutine \fBdscal\fP (n, da, dx, incx)" .br .RI "\fBDSCAL\fP " .ti -1c .RI "subroutine \fBsscal\fP (n, sa, sx, incx)" .br .RI "\fBSSCAL\fP " .ti -1c .RI "subroutine \fBzdscal\fP (n, da, zx, incx)" .br .RI "\fBZDSCAL\fP " .ti -1c .RI "subroutine \fBzscal\fP (n, za, zx, incx)" .br .RI "\fBZSCAL\fP " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "subroutine cscal (integer n, complex ca, complex, dimension(*) cx, integer incx)" .PP \fBCSCAL\fP .PP \fBPurpose:\fP .RS 4 .PP .nf CSCAL scales a vector by a constant\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fICA\fP .PP .nf CA is COMPLEX On entry, CA specifies the scalar alpha\&. .fi .PP .br \fICX\fP .PP .nf CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of CX .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf 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(*) .fi .PP .RE .PP .SS "subroutine csscal (integer n, real sa, complex, dimension(*) cx, integer incx)" .PP \fBCSSCAL\fP .PP \fBPurpose:\fP .RS 4 .PP .nf CSSCAL scales a complex vector by a real constant\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fISA\fP .PP .nf SA is REAL On entry, SA specifies the scalar alpha\&. .fi .PP .br \fICX\fP .PP .nf CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of CX .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf 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(*) .fi .PP .RE .PP .SS "subroutine dscal (integer n, double precision da, double precision, dimension(*) dx, integer incx)" .PP \fBDSCAL\fP .PP \fBPurpose:\fP .RS 4 .PP .nf DSCAL scales a vector by a constant\&. uses unrolled loops for increment equal to 1\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fIDA\fP .PP .nf DA is DOUBLE PRECISION On entry, DA specifies the scalar alpha\&. .fi .PP .br \fIDX\fP .PP .nf DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of DX .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf 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(*) .fi .PP .RE .PP .SS "subroutine sscal (integer n, real sa, real, dimension(*) sx, integer incx)" .PP \fBSSCAL\fP .PP \fBPurpose:\fP .RS 4 .PP .nf SSCAL scales a vector by a constant\&. uses unrolled loops for increment equal to 1\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fISA\fP .PP .nf SA is REAL On entry, SA specifies the scalar alpha\&. .fi .PP .br \fISX\fP .PP .nf SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of SX .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf 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(*) .fi .PP .RE .PP .SS "subroutine zdscal (integer n, double precision da, complex*16, dimension(*) zx, integer incx)" .PP \fBZDSCAL\fP .PP \fBPurpose:\fP .RS 4 .PP .nf ZDSCAL scales a vector by a constant\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fIDA\fP .PP .nf DA is DOUBLE PRECISION On entry, DA specifies the scalar alpha\&. .fi .PP .br \fIZX\fP .PP .nf ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of ZX .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf jack dongarra, 3/11/78\&. modified 3/93 to return if incx \&.le\&. 0\&. modified 12/3/93, array(1) declarations changed to array(*) .fi .PP .RE .PP .SS "subroutine zscal (integer n, complex*16 za, complex*16, dimension(*) zx, integer incx)" .PP \fBZSCAL\fP .PP \fBPurpose:\fP .RS 4 .PP .nf ZSCAL scales a vector by a constant\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fIZA\fP .PP .nf ZA is COMPLEX*16 On entry, ZA specifies the scalar alpha\&. .fi .PP .br \fIZX\fP .PP .nf ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of ZX .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBFurther Details:\fP .RS 4 .PP .nf jack dongarra, 3/11/78\&. modified 3/93 to return if incx \&.le\&. 0\&. modified 12/3/93, array(1) declarations changed to array(*) .fi .PP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.