XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Dasum_sub()

Sub Dasum_sub ( Ret As  Double,
N As  Long,
X_I As  Double,
Optional IncX As  Long = 1 
)

|x| (1-norm) (BLAS 1) (Subroutine version)

Purpose
Computes the sum of the absolute values of a vector (1-norm).
Parameters
[out]RetSum of the absolute values of elements of the vector x (1-norm).
[in]NNumber of elements in vector x. (If N <= 0, returns 0)
[in]X_IAn element X(I) of the array X(). Starting from this location, vector x is stored with element spacing IncX.
[in]IncX(Optional)
Element spacing of vector x in array X(). (If IncX <= 0, returns 0) (default = 1)
Reference
BLAS