Пример #1
0
        /// <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 e = new MultivariateEmpiricalDistribution(Dimension);

            e.initialize(kernel, samples.MemberwiseClone(), (double[, ])smoothing.Clone());
            return(e);
        }
 /// <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 e = new MultivariateEmpiricalDistribution(Dimension);
     e.initialize(kernel, samples.MemberwiseClone(), (double[,])smoothing.Clone());
     return e;
 }