예제 #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 QrDecompositionF();

            clone.qr    = (Single[, ])qr.Clone();
            clone.Rdiag = (Single[])Rdiag.Clone();
            return(clone);
        }
예제 #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 QrDecompositionF();

            clone.qr      = qr.Copy();
            clone.Rdiag   = Rdiag.Copy();
            clone.n       = n;
            clone.p       = p;
            clone.m       = m;
            clone.economy = economy;
            return(clone);
        }
예제 #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 QrDecompositionF();
     clone.qr = (float[,])qr.Clone();
     clone.Rdiag = (float[])Rdiag.Clone();
     return clone;
 }