Beispiel #1
0
            /// <summary>
            /// See the base.
            /// </summary>
            public override bool Equals(object obj)
            {
                if (obj == null)
                {
                    return(false);
                }
                GammaDistrSettings cmpSettings = obj as GammaDistrSettings;

                if (Alpha != cmpSettings.Alpha || Beta != cmpSettings.Beta)
                {
                    return(false);
                }
                return(true);
            }
Beispiel #2
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="source">Source instance</param>
 public GammaDistrSettings(GammaDistrSettings source)
 {
     Alpha = source.Alpha;
     Beta  = source.Beta;
     return;
 }