[Quantproject-developers] QuantProject/b1_ADT/Statistics NormalDistribution.cs,1.1,1.2
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-02-06 20:09:06
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT/Statistics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1115/b1_ADT/Statistics Modified Files: NormalDistribution.cs Log Message: Fixed bug: infinity is approximated by: "average + 15 * StandardDeviation" and not by "15 * StandardDeviation" - as it was previously Index: NormalDistribution.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/Statistics/NormalDistribution.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NormalDistribution.cs 14 Dec 2004 21:18:05 -0000 1.1 --- NormalDistribution.cs 6 Feb 2005 20:08:55 -0000 1.2 *************** *** 47,51 **** this.average = average; this.stdDeviation = stdDeviation; ! this.infinity = 15 * stdDeviation; this.numOfIntervalsForPDFIntegralApproximation = Convert.ToInt32(25*this.infinity); --- 47,51 ---- this.average = average; this.stdDeviation = stdDeviation; ! this.infinity = this.average + 15 * stdDeviation ; this.numOfIntervalsForPDFIntegralApproximation = Convert.ToInt32(25*this.infinity); |