oqp_chpr2_i64 Subroutine

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

Arguments

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

Calls

proc~~oqp_chpr2_i64~~CallsGraph proc~oqp_chpr2_i64 oqp_chpr2_i64 chpr2 chpr2 proc~oqp_chpr2_i64->chpr2 interface~show_message show_message proc~oqp_chpr2_i64->interface~show_message

Source Code

  subroutine oqp_chpr2_i64(uplo, n, alpha, x, incx, y, incy, ap)
    complex :: alpha
    integer :: incx
    integer :: incy
    integer :: n
    character :: uplo
    complex :: ap(*)
    complex :: x(*)
    complex :: 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 chpr2(uplo, n_, alpha, x, incx_, y, incy_, ap)

  end subroutine oqp_chpr2_i64