oqp_zhpr2_i64 Subroutine

public subroutine oqp_zhpr2_i64(uplo, n, alpha, x, incx, y, incy, ap)

Arguments

Type IntentOptional Attributes Name
character(len=1) :: uplo
integer :: n
complex(kind=8) :: alpha
complex(kind=8) :: x(*)
integer :: incx
complex(kind=8) :: y(*)
integer :: incy
complex(kind=8) :: ap(*)

Calls

proc~~oqp_zhpr2_i64~~CallsGraph proc~oqp_zhpr2_i64 oqp_zhpr2_i64 interface~show_message show_message proc~oqp_zhpr2_i64->interface~show_message zhpr2 zhpr2 proc~oqp_zhpr2_i64->zhpr2

Source Code

  subroutine oqp_zhpr2_i64(uplo, n, alpha, x, incx, y, incy, ap)
    complex(kind=8) :: alpha
    integer :: incx
    integer :: incy
    integer :: n
    character :: uplo
    complex(kind=8) :: ap(*)
    complex(kind=8) :: x(*)
    complex(kind=8) :: y(*)

    integer(blas_int) :: n_, incx_, incy_
    logical :: ok

    if (ARG_CHECK) then
      ok = .true.
      ok = ok .and. abs(n    ) <= HUGE_BLAS_INT-1
      ok = ok .and. abs(incx ) <= HUGE_BLAS_INT-1
      ok = ok .and. abs(incy ) <= HUGE_BLAS_INT-1
      if (.not.ok) call show_message(ERRMSG, WITH_ABORT)
    end if

    n_    = int(n    , blas_int)
    incx_ = int(incx , blas_int)
    incy_ = int(incy , blas_int)

    call zhpr2(uplo, n_, alpha, x, incx_, y, incy_, ap)

  end subroutine oqp_zhpr2_i64