rscl#
Functions
-
void srscl(const INT n, const f32 sa, f32 *restrict sx, const INT incx)#
SRSCL multiplies an n-element real vector x by the real scalar 1/a.
This is done without overflow or underflow as long as the final result x/a does not overflow or underflow.
Parameters
innThe number of components of the vector x.
insaThe scalar a which is used to divide each component of x. sa must be >= 0, or the subroutine will divide by zero.
inoutsxThe n-element vector x. Array of dimension (1+(n-1)*abs(incx)).
inincxThe increment between successive values of the vector sx. incx > 0.
void srscl(
const INT n,
const f32 sa,
f32* restrict sx,
const INT incx
);
Functions
-
void drscl(const INT n, const f64 sa, f64 *restrict sx, const INT incx)#
DRSCL multiplies an n-element real vector x by the real scalar 1/a.
This is done without overflow or underflow as long as the final result x/a does not overflow or underflow.
Parameters
innThe number of components of the vector x.
insaThe scalar a which is used to divide each component of x. sa must be >= 0, or the subroutine will divide by zero.
inoutsxThe n-element vector x. Array of dimension (1+(n-1)*abs(incx)).
inincxThe increment between successive values of the vector sx. incx > 0.
void drscl(
const INT n,
const f64 sa,
f64* restrict sx,
const INT incx
);
Functions
-
void crscl(const INT n, const c64 a, c64 *restrict x, const INT incx)#
CRSCL multiplies an n-element complex vector x by the complex scalar 1/a.
This is done without overflow or underflow as long as the final result x/a does not overflow or underflow.
Parameters
innThe number of components of the vector x.
inaThe scalar a which is used to divide each component of x. a must not be 0, or the subroutine will divide by zero.
inoutxComplex*16 array, dimension (1+(n-1)*abs(incx)). The n-element vector x.
inincxThe increment between successive values of the vector x. incx > 0.
void crscl(
const INT n,
const c64 a,
c64* restrict x,
const INT incx
);
Functions
-
void zrscl(const INT n, const c128 a, c128 *restrict x, const INT incx)#
ZRSCL multiplies an n-element complex vector x by the complex scalar 1/a.
This is done without overflow or underflow as long as the final result x/a does not overflow or underflow.
Parameters
innThe number of components of the vector x.
inaThe scalar a which is used to divide each component of x. a must not be 0, or the subroutine will divide by zero.
inoutxComplex*16 array, dimension (1+(n-1)*abs(incx)). The n-element vector x.
inincxThe increment between successive values of the vector x. incx > 0.
void zrscl(
const INT n,
const c128 a,
c128* restrict x,
const INT incx
);