code: def _compose_two(
      dprv_left: DiscretePRV, dprv_right: DiscretePRV
  ) -> DiscretePRV:
      pmf = convolve(dprv_left.pmf, dprv_right.pmf, mode="same")
      domain = dprv_left.domain.shift_right(dprv_right.domain.shifts)
      return DiscretePRV(pmf=pmf, domain=domain)
  
file_path: opacus/opacus/accountants/analysis/prv/compose.py
imports: from typing import List
  import numpy
  from scipy.fft import irfft, rfft
  from scipy.signal import convolve
  from .prvs import DiscretePRV
label_desc: Use image node_id 2 for calling a global function with example usage: _compose_two(dprv_left, dprv_right) and returns: DiscretePRV