vmul Subroutine

public subroutine vmul(a, b, c)

Multiplication of a vector by a scalar

Note

Jonathan Chico: This seems unnecessary as one can just replace this by a call c(:)=a(:)*b in the code

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), dimension(*) :: a

Input vector

real(kind=dp), intent(in) :: b

Input scalar

real(kind=dp), intent(out), dimension(*) :: c

Output vector