code: def add_columns(m, i, j, a, b, c, d):
      # replace m[:, i] by a*m[:, i] + b*m[:, j]
      # and m[:, j] by c*m[:, i] + d*m[:, j]
      for k in range(len(m)):
          e = m[k][i]
          m[k][i] = a * e + b * m[k][j]
          m[k][j] = c * e + d * m[k][j]
  
file_path: sympy/sympy/polys/matrices/normalforms.py
imports: from collections import defaultdict
  from .domainmatrix import DomainMatrix
  from .exceptions import DMDomainError, DMShapeError
  from sympy.ntheory.modular import symmetric_residue
  from sympy.polys.domains import QQ, ZZ
label_desc: Use image node_id 2 for calling a global function with example usage: add_columns(m, i, j, a, b, c, d) without return types