public interface nrm2
NRM2 returns the euclidean norm of a vector via the function
name, so that
NRM2 := sqrt( x'*x )
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
x(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incx |
|
Return Value
real(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
x(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incx |
|
Return Value
real(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
x(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incx |
|
Return Value
real(kind=sp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
x(*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
incx |
|
Return Value
real(kind=sp)
Module Procedures