GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BLAS/SRC/scnrm2.f90(3) LAPACK BLAS/SRC/scnrm2.f90(3)

BLAS/SRC/scnrm2.f90


real(wp) function scnrm2 (n, x, incx)
SCNRM2

SCNRM2

Purpose:


SCNRM2 returns the euclidean norm of a vector via the function
name, so that
SCNRM2 := sqrt( x**H*x )

Parameters

N


N is INTEGER
number of elements in input vector(s)

X


X is COMPLEX array, dimension (N)
complex vector with N elements

INCX


INCX is INTEGER, storage spacing between elements of X
If INCX > 0, X(1+(i-1)*INCX) = x(i) for 1 <= i <= n
If INCX < 0, X(1-(n-i)*INCX) = x(i) for 1 <= i <= n
If INCX = 0, x isn't a vector so there is no need to call
this subroutine. If you call it anyway, it will count x(1)
in the vector norm N times.

Author

Edward Anderson, Lockheed Martin

Date

August 2016

Contributors:

Weslley Pereira, University of Colorado Denver, USA

Further Details:


Anderson E. (2017)
Algorithm 978: Safe Scaling in the Level 1 BLAS
ACM Trans Math Softw 44:1--28
https://doi.org/10.1145/3061665
Blue, James L. (1978)
A Portable Fortran Program to Find the Euclidean Norm of a Vector
ACM Trans Math Softw 4:15--23
https://doi.org/10.1145/355769.355771

Definition at line 89 of file scnrm2.f90.

Generated automatically by Doxygen for LAPACK from the source code.

Sun Jan 12 2025 15:13:27 Version 3.12.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.