int_scalar_power Module Function

module function int_scalar_power(scalar, a) result(c)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: scalar
class(array_type), intent(in), target :: a

Return Value type(array_type), pointer


Source Code

  module function int_scalar_power(scalar, a) result(c)
    implicit none
    integer, intent(in) :: scalar
    class(array_type), intent(in), target :: a
    type(array_type), pointer :: c

    c => scalar_power(real(scalar, real32), a)
  end function int_scalar_power