### set -- Set contents of the vector

     call  v%set(alpha[,first,last])
     call  v%set(vect[,first,last])
     call  v%zero()

Type:
  Asynchronous.
On Entry
v
  the dense vector
  Scope: local
alpha
  A scalar value.
  Scope: local
  Type: required
  Intent: in.
  Specified as: a number of the data type indicated in Table 1.

first,last
  Boundaries for setting in the vector.
  Scope: local
  Type: optional
  Intent: in.
  Specified as: integers.
vect
  An array
  Scope: local
  Type: required
  Intent: in.
  Specified as: a number of the data type indicated in Table 1.

Note that a call to `v%zero()` is provided as a shorthand, but is equivalent to a call to `v%set(zero)` with the `zero` constant having the appropriate type and kind.

On Return
v
  the dense vector, with updated entries
  Scope: local