dscal Subroutine

public pure subroutine dscal(n, da, dx, incx)

scales a vector by a constant. uses unrolled loops for increment equal to one.

Author

jack dongarra, linpack, 3/11/78.

Arguments

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

Called by

proc~~dscal~~CalledByGraph proc~dscal slsqp_support::dscal proc~lsq slsqp_core::lsq proc~lsq->proc~dscal proc~slsqpb slsqp_core::slsqpb proc~slsqpb->proc~dscal 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 subroutine dscal(n,da,dx,incx)
            import :: wp
            implicit none
            integer,intent(in)                  :: n
            real(wp),intent(in)                 :: da
            real(wp),dimension(*),intent(inout) :: dx
            integer,intent(in)                  :: incx
        end subroutine dscal