oqp_scasum_i64 Function

public function oqp_scasum_i64(n, cx, incx)

Arguments

Type IntentOptional Attributes Name
integer :: n
complex :: cx(*)
integer :: incx

Return Value real


Calls

proc~~oqp_scasum_i64~~CallsGraph proc~oqp_scasum_i64 oqp_scasum_i64 interface~show_message show_message proc~oqp_scasum_i64->interface~show_message scasum scasum proc~oqp_scasum_i64->scasum

Source Code

  function oqp_scasum_i64(n, cx, incx)
    real, external :: scasum
    real :: oqp_scasum_i64
    integer :: incx
    integer :: n
    complex :: cx(*)

    integer(blas_int) :: n_, incx_
    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
      if (.not.ok) call show_message(ERRMSG, WITH_ABORT)
    end if

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

    oqp_scasum_i64 = scasum(n_, cx, incx_)

  end function oqp_scasum_i64