code: def random_vector(size):
      """Return array of random doubles in the half-open interval [0.0, 1.0).
  
      >>> v = random_vector(10000)
      >>> numpy.all(v >= 0) and numpy.all(v < 1)
      True
      >>> v0 = random_vector(10)
      >>> v1 = random_vector(10)
      >>> numpy.any(v0 == v1)
      False
  
      """
      return numpy.random.random(size)
  
imports: import math
  import numpy
label_desc: Use image node_id 40 for calling a global function with example usage: random_vector(size) and returns: numpy