|
|
◆ Dnrm2_sub()
| Sub Dnrm2_sub |
( |
Ret As |
Double, |
|
|
N As |
Long, |
|
|
X_I As |
Double, |
|
|
Optional IncX As |
Long = 1 |
|
) |
| |
||x||2 (2-norm) (BLAS 1) (Subroutine version)
- Purpose
- Computes the Euclidean norm of a vector (2-norm).
- Parameters
-
| [out] | Ret | Euclidean norm of a vector x (= sqrt(x^T*x)) (2-norm). |
| [in] | N | Number of elements in vector x. (If N <= 0, returns 0) |
| [in] | X_I | An 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
|