SRC/drscl.f(3)

๐Ÿ“ฆ
version 3.12.1 ยท 4 versions
, in arch rolling

๐Ÿ’… SRC/drscl.f ๐Ÿ’…

okay bestie, welcome to the Library Functions Manual page for SRC/drscl.f โ€” this is the whole vibe, and no cap, it's a little routine icon. ๐Ÿซถ

๐ŸŒธ NAME ๐ŸŒธ

SRC/drscl.f โ€” that's literally the name, bestie.

โœจ SYNOPSIS โœจ

๐Ÿงš Functions/Subroutines ๐Ÿงš

  • subroutine drscl (n, sa, sx, incx) โ€” DRSCL multiplies a vector by the reciprocal of a real scalar.

๐Ÿ“š Function/Subroutine Documentation ๐Ÿ“š

subroutine drscl (integer n, double precision sa, double precision, dimension( * ) sx, integer incx)

DRSCL multiplies a vector by the reciprocal of a real scalar.

๐ŸŽฏ Purpose: ๐ŸŽฏ

okay so the actual purpose, fr fr: 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

  • N โ€” N is INTEGER. It's the number of components of the vector x. slay, simple.
  • SA โ€” SA is DOUBLE PRECISION. This is the scalar a which is used to divide each component of x. ๐Ÿšจ SA must be >= 0, or the subroutine will divide by zero. not me warning you, it's literally in the docs.
  • SX โ€” SX is DOUBLE PRECISION array, dimension (1+(N-1)*abs(INCX)). This is the n-element vector x. the way that dimension formula ate, iykyk.
  • INCX โ€” INCX is INTEGER. This is the increment between successive values of the vector SX. The exact condition is:
> 0:  SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i),     1< i<= n

๐Ÿซถ Author

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

Definition at line 83 of file drscl.f.

๐ŸŒŸ Author ๐ŸŒŸ

Generated automatically by Doxygen for LAPACK from the source code.


โœจ signed off with LAPACK Version 3.12.0 and SRC/drscl.f(3) โ€” the footer doesn't have a separate date, so that's the whole source/version receipt, bestie. periodt ๐Ÿ’…๐Ÿ’–

๐Ÿ“ฆ where this page comes from