Purpose
=======
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.
Namespace: DotNumerics.LinearAlgebra.CSLapackAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
int N,
double SA,
ref double[] SX,
int offset_sx,
int INCX
)
Public Sub Run (
N As Integer,
SA As Double,
ByRef SX As Double(),
offset_sx As Integer,
INCX As Integer
)
Request Example
View SourceParameters
- N Int32
-
(input) INTEGER
The number of components of the vector x.
- SA Double
-
(input) DOUBLE PRECISION
The scalar a which is used to divide each component of x.
SA must be .GE. 0, or the subroutine will divide by zero.
- SX Double
-
(input/output) DOUBLE PRECISION array, dimension
(1+(N-1)*abs(INCX))
The n-element vector x.
- offset_sx Int32
-
- INCX Int32
-
(input) INTEGER
The increment between successive values of the vector SX.
.GT. 0: SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1.LT. i.LE. n
See Also