dnrm2 Function

public pure function dnrm2(n, x, incx) result(norm)

Function that returns the Euclidean norm of a vector .

Further details

  • this version written on 25-october-1982.
  • modified on 14-october-1993 to inline the call to dlassq. sven hammarling, nag ltd.
  • Converted to modern Fortran, Jacob Williams, Jan. 2016.

Note

Replaced original SLSQP routine with this one from [BLAS](http:

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=wp), intent(in), dimension(*) :: x
integer, intent(in) :: incx

Return Value real(kind=wp)


Called by

proc~~dnrm2~~CalledByGraph proc~dnrm2 slsqp_support::dnrm2 proc~check_convergence slsqp_core::check_convergence proc~check_convergence->proc~dnrm2 proc~ldp slsqp_core::ldp proc~ldp->proc~dnrm2 proc~lsei slsqp_core::lsei proc~lsei->proc~dnrm2 proc~lsi slsqp_core::lsi proc~lsei->proc~lsi proc~lsi->proc~dnrm2 proc~lsi->proc~ldp proc~lsq slsqp_core::lsq proc~lsq->proc~lsei proc~slsqpb slsqp_core::slsqpb proc~slsqpb->proc~check_convergence proc~slsqpb->proc~lsq proc~slsqp slsqp_core::slsqp proc~slsqp->proc~slsqpb proc~slsqp_wrapper slsqp_module::slsqp_solver%slsqp_wrapper proc~slsqp_wrapper->proc~slsqp

Source Code

        pure function dnrm2(n,x,incx) result(norm)
            import :: wp
            implicit none
            integer,intent(in)               :: incx
            integer,intent(in)               :: n
            real(wp),dimension(*),intent(in) :: x
            real(wp)                         :: norm
        end function dnrm2