code: def _applyConstraints(
      blockVectorV, factYBY, blockVectorBY, blockVectorY
  ):
      """Changes blockVectorV in place."""
      YBV = np.dot(blockVectorBY.T.conj(), blockVectorV)
      tmp = cho_solve(factYBY, YBV)
      blockVectorV -= np.dot(blockVectorY, tmp)
  
file_path: catboost/contrib/python/scipy/py3/scipy/sparse/linalg/eigen/lobpcg/lobpcg.py
imports: import numpy
  from scipy.linalg import inv, eigh, cho_factor, cho_solve, cholesky, LinAlgError
  from scipy.sparse.linalg import aslinearoperator
  from numpy import block
label_desc: Use image node_id 4 for calling a global function with example usage: _applyConstraints(blockVectorV, factYBY, blockVectorBY, blockVectorY) without return types