code: def __init__(self, diagonal):
      self.diagonal = diagonal
  
file_path: pycuda/pycuda/sparse/operator.py
label_desc: Use image node_id 1 to create a new DiagonalPreconditioner object from inherited base classes: OperatorBase with example: obj = DiagonalPreconditioner(diagonal)