vec3**scalar for integer scalar
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vector), | intent(in) | :: | a |
Input Vector |
||
integer, | intent(in) | :: | b |
Input scalar |
type(vector) pure elemental function vec_mult_exp_scal_int(a, b) !! vec3**scalar for integer scalar !> Input Vector class(vector), intent(in) :: a !> Input scalar integer, intent(in) :: b vec_mult_exp_scal_int = vector(a%x**b, a%y**b, a%z**b) end function vec_mult_exp_scal_int