Example #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 object Clone()
        {
            var clone = new QrDecompositionD();

            clone.qr    = (Decimal[, ])qr.Clone();
            clone.Rdiag = (Decimal[])Rdiag.Clone();
            return(clone);
        }
Example #2
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 object Clone()
        {
            var clone = new QrDecompositionD();

            clone.qr      = qr.Copy();
            clone.Rdiag   = Rdiag.Copy();
            clone.n       = n;
            clone.p       = p;
            clone.m       = m;
            clone.economy = economy;
            return(clone);
        }
Example #3
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 object Clone()
 {
     var clone = new QrDecompositionD();
     clone.qr = (decimal[,])qr.Clone();
     clone.Rdiag = (decimal[])Rdiag.Clone();
     return clone;
 }