code: def _applyConstraints(blockVectorV, YBY, blockVectorBY, blockVectorY):
      """Changes blockVectorV in place."""
      YBV = cupy.dot(blockVectorBY.T.conj(), blockVectorV)
      # awaiting the implementation of cho_solve in PR #4172
      # tmp = cho_solve(factYBY, YBV)
      tmp = linalg.solve(YBY, YBV)
      blockVectorV -= cupy.dot(blockVectorY, tmp)
  
file_path: cupy/cupyx/scipy/sparse/linalg/_lobpcg.py
imports: import warnings
  import numpy
  import cupy
  import cupy.linalg
  from cupyx.scipy.sparse import linalg
label_desc: Use image node_id 6 for calling a global function with example usage: _applyConstraints(blockVectorV, YBY, blockVectorBY, blockVectorY) without return types