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

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