Exemple #1
0
        public new SecondMoment Copy()
        {
            SecondMoment result = new SecondMoment();

            Copy(this, result);
            return(result);
        }
Exemple #2
0
 public static void Copy(SecondMoment source, SecondMoment dest)
 {
     MathUtils.checkNotNull(source);
     MathUtils.checkNotNull(dest);
     FirstMoment.Copy(source, dest);
     dest.m2 = source.m2;
 }
Exemple #3
0
 public SecondMoment(SecondMoment original) : base(original)
 {
     this.m2 = original.m2;
 }
Exemple #4
0
 public Variance(bool isBiasCorrected, SecondMoment m2)
 {
     this.incMoment       = false;
     this.moment          = m2;
     this.isBiasCorrected = isBiasCorrected;
 }
Exemple #5
0
 public Variance(bool isBiasCorrected)
 {
     this.moment          = new SecondMoment();
     this.isBiasCorrected = isBiasCorrected;
 }
Exemple #6
0
 public Variance(SecondMoment m2)
 {
     this.incMoment = false;
     this.moment    = m2;
 }
Exemple #7
0
 public Variance()
 {
     this.moment = new SecondMoment();
 }