public override object Clone()
{
return new NormalDistribution(mean, variance);
}
}
/// <summary> /// Creates a new object that is a copy of the current instance. /// </summary> /// <returns> /// A new object that is a copy of this instance. /// </returns> /// public override object Clone() { var clone = new WilcoxonDistribution(n); clone.exact = exact; clone.table = table; clone.n = n; clone.approximation = (NormalDistribution)approximation.Clone(); return(clone); }