code: def elementary_vector(n, i):
      v = np.zeros(n, dtype=float)
      v[i] = 1
      return v
  
file_path: scipy/scipy/sparse/linalg/_onenormest.py
imports: import numpy
  from scipy.sparse.linalg import aslinearoperator
label_desc: Use image node_id 6 for calling a global function with example usage: elementary_vector(n, i) and returns: v