mfi_nrm2 Interface

public interface mfi_nrm2

Generic modern interface for NRM2. Supports s, d, sc, dz. See also: snrm2, dnrm2, scnrm2, dznrm2.


Module Procedures

public pure function mfi_snrm2(x, incx)

Modern interface for snrm2. See also: mfi_nrm2, f77_nrm2.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL32), intent(in) :: x(:)
integer, intent(in), optional :: incx

Return Value real(kind=REAL32)

public pure function mfi_dnrm2(x, incx)

Modern interface for dnrm2. See also: mfi_nrm2, f77_nrm2.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL64), intent(in) :: x(:)
integer, intent(in), optional :: incx

Return Value real(kind=REAL64)

public pure function mfi_scnrm2(x, incx)

Modern interface for scnrm2. See also: mfi_nrm2, f77_nrm2.

Arguments

Type IntentOptional Attributes Name
complex(kind=REAL32), intent(in) :: x(:)
integer, intent(in), optional :: incx

Return Value real(kind=REAL32)

public pure function mfi_dznrm2(x, incx)

Modern interface for dznrm2. See also: mfi_nrm2, f77_nrm2.

Arguments

Type IntentOptional Attributes Name
complex(kind=REAL64), intent(in) :: x(:)
integer, intent(in), optional :: incx

Return Value real(kind=REAL64)