Esempio n. 1
0
 protected void InitPiecewisePDF()
 {
     PiecewisePDF = SumConvolutionCalculator.Calculate(Distr1.PiecewisePDF, Distr2.PiecewisePDF);
 }
Esempio n. 2
0
 protected void InitPiecewisePDF()
 {
     PiecewisePDF = SumConvolutionCalculator.Calculate(Distr1.PiecewisePDF,
                                                       Distr2.PiecewisePDF.GetShiftedAndScaledCopy(scale: -1));
 }