code: def random_vector(ndim, length=1):
      v = np.random.normal(size=ndim)
      return v * length / (v**2).sum() ** 0.5
  
imports: import numpy
  from math import gamma, pi, exp
label_desc: Use image node_id 1 for calling a global function with example usage: random_vector(ndim, length) and returns: unknown