Mercurial > hg > octave-nkf
changeset 1011:18933dbd5e43
[project @ 1995-01-04 04:18:15 by jwe]
line wrap: on
line diff
--- a/libcruft/misc/lo-error.cc +++ b/libcruft/misc/lo-error.cc @@ -1,7 +1,7 @@ // error.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Array-C.cc +++ b/liboctave/Array-C.cc @@ -1,7 +1,7 @@ // Array-C.cc -*- C++ -*- /* -Copyright (C) 1993, 1994 John W. Eaton +Copyright (C) 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Array-d.cc +++ b/liboctave/Array-d.cc @@ -1,7 +1,7 @@ // Array-d.cc -*- C++ -*- /* -Copyright (C) 1993, 1994 John W. Eaton +Copyright (C) 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Array-i.cc +++ b/liboctave/Array-i.cc @@ -1,7 +1,7 @@ // Array-i.cc -*- C++ -*- /* -Copyright (C) 1993, 1994 John W. Eaton +Copyright (C) 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Array.cc +++ b/liboctave/Array.cc @@ -1,7 +1,7 @@ // Template array classes -*- C++ -*- /* -Copyright (C) 1993, 1994 John W. Eaton +Copyright (C) 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -1,7 +1,7 @@ // Template array classes -*- C++ -*- /* -Copyright (C) 1993, 1994 John W. Eaton +Copyright (C) 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Bounds.cc +++ b/liboctave/Bounds.cc @@ -1,7 +1,7 @@ // Bounds.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Bounds.h +++ b/liboctave/Bounds.h @@ -1,7 +1,7 @@ // Bounds.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CColVector.cc +++ b/liboctave/CColVector.cc @@ -1,7 +1,7 @@ // ColumnVector manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CColVector.h +++ b/liboctave/CColVector.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CDiagMatrix.cc +++ b/liboctave/CDiagMatrix.cc @@ -1,7 +1,7 @@ // DiagMatrix manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CDiagMatrix.h +++ b/liboctave/CDiagMatrix.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CMatrix.cc +++ b/liboctave/CMatrix.cc @@ -1,7 +1,7 @@ // Matrix manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CMatrix.h +++ b/liboctave/CMatrix.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CRowVector.cc +++ b/liboctave/CRowVector.cc @@ -1,7 +1,7 @@ // RowVector manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CRowVector.h +++ b/liboctave/CRowVector.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxAEPBAL.cc +++ b/liboctave/CmplxAEPBAL.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxAEPBAL.h +++ b/liboctave/CmplxAEPBAL.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxCHOL.cc +++ b/liboctave/CmplxCHOL.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxCHOL.h +++ b/liboctave/CmplxCHOL.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxDET.cc +++ b/liboctave/CmplxDET.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxDET.h +++ b/liboctave/CmplxDET.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxHESS.cc +++ b/liboctave/CmplxHESS.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxHESS.h +++ b/liboctave/CmplxHESS.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxLU.cc +++ b/liboctave/CmplxLU.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxLU.h +++ b/liboctave/CmplxLU.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxQR.cc +++ b/liboctave/CmplxQR.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave. @@ -81,15 +81,15 @@ } else { - int m2; + int n2; if (qr_type == QR::economy && m > n) { - m2 = n; + n2 = n; r.resize (n, n, 0.0); } else { - m2 = m; + n2 = m; r.resize (m, n, 0.0); } @@ -107,6 +107,7 @@ &lwork, &info); q = ComplexMatrix (tmp_data, m, m); + q.resize (m, n2); delete [] tau; delete [] work;
--- a/liboctave/CmplxQR.h +++ b/liboctave/CmplxQR.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxQRP.cc +++ b/liboctave/CmplxQRP.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave. @@ -104,15 +104,15 @@ delete [] jpvt; delete [] work; - int m2; + int n2; if (qr_type == QR::economy && m > n) { - m2 = n; + n2 = n; r.resize (n, n, 0.0); } else { - m2 = m; + n2 = m; r.resize (m, n, 0.0); } @@ -130,6 +130,7 @@ &lwork, &info); q = ComplexMatrix (tmp_data, m, m); + q.resize (m, n2); delete [] tau; delete [] work; @@ -141,10 +142,3 @@ ;;; page-delimiter: "^/\\*" *** ;;; End: *** */ - -/* -;;; Local Variables: *** -;;; mode: C++ *** -;;; page-delimiter: "^/\\*" *** -;;; End: *** -*/
--- a/liboctave/CmplxQRP.h +++ b/liboctave/CmplxQRP.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxSCHUR.cc +++ b/liboctave/CmplxSCHUR.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxSCHUR.h +++ b/liboctave/CmplxSCHUR.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxSVD.cc +++ b/liboctave/CmplxSVD.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CmplxSVD.h +++ b/liboctave/CmplxSVD.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CollocWt.cc +++ b/liboctave/CollocWt.cc @@ -1,7 +1,7 @@ // CollocWt.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/CollocWt.h +++ b/liboctave/CollocWt.h @@ -1,7 +1,7 @@ // CollocWt.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/DAE.h +++ b/liboctave/DAE.h @@ -1,7 +1,7 @@ // DAE.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/DAEFunc.cc +++ b/liboctave/DAEFunc.cc @@ -1,7 +1,7 @@ // DAEFunc.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/DAEFunc.h +++ b/liboctave/DAEFunc.h @@ -1,7 +1,7 @@ // DAEFunc.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/DASSL.cc +++ b/liboctave/DASSL.cc @@ -1,7 +1,7 @@ // DAE.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/EIG.cc +++ b/liboctave/EIG.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/EIG.h +++ b/liboctave/EIG.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/FEGrid.cc +++ b/liboctave/FEGrid.cc @@ -1,7 +1,7 @@ // FEGrid.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/FEGrid.h +++ b/liboctave/FEGrid.h @@ -1,7 +1,7 @@ // FEGrid.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/FSQP.cc +++ b/liboctave/FSQP.cc @@ -1,7 +1,7 @@ // FSQP.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/FSQP.h +++ b/liboctave/FSQP.h @@ -1,7 +1,7 @@ // FSQP.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/LP.cc +++ b/liboctave/LP.cc @@ -1,7 +1,7 @@ // LP.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/LP.h +++ b/liboctave/LP.h @@ -1,7 +1,7 @@ // LP.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/LPsolve.cc +++ b/liboctave/LPsolve.cc @@ -1,7 +1,7 @@ // LPsolve.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/LPsolve.h +++ b/liboctave/LPsolve.h @@ -1,7 +1,7 @@ // LPsolve.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/LSODE.cc +++ b/liboctave/LSODE.cc @@ -1,7 +1,7 @@ // ODE.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/LinConst.cc +++ b/liboctave/LinConst.cc @@ -1,7 +1,7 @@ // LinConst.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/LinConst.h +++ b/liboctave/LinConst.h @@ -1,7 +1,7 @@ // LinConst.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/MArray.cc +++ b/liboctave/MArray.cc @@ -1,7 +1,7 @@ // MArray.cc -*- C++ -*- /* -Copyright (C) 1992, 1993 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/MArray.h +++ b/liboctave/MArray.h @@ -1,7 +1,7 @@ // Template array classes with like-type math ops -*- C++ -*- /* -Copyright (C) 1993, 1994 John W. Eaton +Copyright (C) 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Matrix.h +++ b/liboctave/Matrix.h @@ -1,7 +1,7 @@ // Matrix manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NLConst.cc +++ b/liboctave/NLConst.cc @@ -1,7 +1,7 @@ // NLConst.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NLConst.h +++ b/liboctave/NLConst.h @@ -1,7 +1,7 @@ // NLConst.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NLEqn.cc +++ b/liboctave/NLEqn.cc @@ -1,7 +1,7 @@ // NLEqn.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NLEqn.h +++ b/liboctave/NLEqn.h @@ -1,7 +1,7 @@ // NLEqn.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NLFunc.cc +++ b/liboctave/NLFunc.cc @@ -1,7 +1,7 @@ // NLFunc.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NLFunc.h +++ b/liboctave/NLFunc.h @@ -1,7 +1,7 @@ // NLFunc.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NLP.h +++ b/liboctave/NLP.h @@ -1,7 +1,7 @@ // NLP.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NPSOL.cc +++ b/liboctave/NPSOL.cc @@ -1,7 +1,7 @@ // NPSOL.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/NPSOL.h +++ b/liboctave/NPSOL.h @@ -1,7 +1,7 @@ // NPSOL.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/ODE.h +++ b/liboctave/ODE.h @@ -1,7 +1,7 @@ // ODE.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/ODEFunc.cc +++ b/liboctave/ODEFunc.cc @@ -1,7 +1,7 @@ // ODEFunc.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/ODEFunc.h +++ b/liboctave/ODEFunc.h @@ -1,7 +1,7 @@ // ODEFunc.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Objective.cc +++ b/liboctave/Objective.cc @@ -1,7 +1,7 @@ // Objective.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Objective.h +++ b/liboctave/Objective.h @@ -1,7 +1,7 @@ // Objective.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/QLD.cc +++ b/liboctave/QLD.cc @@ -1,7 +1,7 @@ // QLD.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/QLD.h +++ b/liboctave/QLD.h @@ -1,7 +1,7 @@ // QLD.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/QP.cc +++ b/liboctave/QP.cc @@ -1,7 +1,7 @@ // QP.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/QP.h +++ b/liboctave/QP.h @@ -1,7 +1,7 @@ // QP.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/QPSOL.cc +++ b/liboctave/QPSOL.cc @@ -1,7 +1,7 @@ // QPSOL.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/QPSOL.h +++ b/liboctave/QPSOL.h @@ -1,7 +1,7 @@ // QPSOL.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Quad.cc +++ b/liboctave/Quad.cc @@ -1,7 +1,7 @@ // Quad.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Quad.h +++ b/liboctave/Quad.h @@ -1,7 +1,7 @@ // Quad.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Range.cc +++ b/liboctave/Range.cc @@ -1,7 +1,7 @@ // Range.cc -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/Range.h +++ b/liboctave/Range.h @@ -1,7 +1,7 @@ // Range.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dColVector.cc +++ b/liboctave/dColVector.cc @@ -1,7 +1,7 @@ // ColumnVector manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dColVector.h +++ b/liboctave/dColVector.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dDiagMatrix.cc +++ b/liboctave/dDiagMatrix.cc @@ -1,7 +1,7 @@ // DiagMatrix manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dDiagMatrix.h +++ b/liboctave/dDiagMatrix.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dMatrix.cc +++ b/liboctave/dMatrix.cc @@ -1,7 +1,7 @@ // Matrix manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dMatrix.h +++ b/liboctave/dMatrix.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dRowVector.cc +++ b/liboctave/dRowVector.cc @@ -1,7 +1,7 @@ // RowVector manipulations. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dRowVector.h +++ b/liboctave/dRowVector.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleAEPBAL.cc +++ b/liboctave/dbleAEPBAL.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleAEPBAL.h +++ b/liboctave/dbleAEPBAL.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleCHOL.cc +++ b/liboctave/dbleCHOL.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleCHOL.h +++ b/liboctave/dbleCHOL.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleDET.cc +++ b/liboctave/dbleDET.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleDET.h +++ b/liboctave/dbleDET.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleGEPBAL.cc +++ b/liboctave/dbleGEPBAL.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleGEPBAL.h +++ b/liboctave/dbleGEPBAL.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleHESS.cc +++ b/liboctave/dbleHESS.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleHESS.h +++ b/liboctave/dbleHESS.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleLU.cc +++ b/liboctave/dbleLU.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleLU.h +++ b/liboctave/dbleLU.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleQR.cc +++ b/liboctave/dbleQR.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave. @@ -83,15 +83,15 @@ } else { - int m2; + int n2; if (qr_type == QR::economy && m > n) { - m2 = n; + n2 = n; r.resize (n, n, 0.0); } else { - m2 = m; + n2 = m; r.resize (m, n, 0.0); } @@ -109,6 +109,7 @@ &lwork, &info); q = Matrix (tmp_data, m, m); + q.resize (m, n2); delete [] tau; delete [] work;
--- a/liboctave/dbleQR.h +++ b/liboctave/dbleQR.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleQRP.cc +++ b/liboctave/dbleQRP.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave. @@ -100,15 +100,15 @@ delete [] jpvt; delete [] work; - int m2; + int n2; if (qr_type == QR::economy && m > n) { - m2 = n; + n2 = n; r.resize (n, n, 0.0); } else { - m2 = m; + n2 = m; r.resize (m, n, 0.0); } @@ -126,6 +126,7 @@ &lwork, &info); q = Matrix (tmp_data, m, m); + q.resize (m, n2); delete [] tau; delete [] work;
--- a/liboctave/dbleQRP.h +++ b/liboctave/dbleQRP.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleSCHUR.cc +++ b/liboctave/dbleSCHUR.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleSCHUR.h +++ b/liboctave/dbleSCHUR.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleSVD.cc +++ b/liboctave/dbleSVD.cc @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/dbleSVD.h +++ b/liboctave/dbleSVD.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/f77-fcn.h +++ b/liboctave/f77-fcn.h @@ -1,7 +1,7 @@ // f77-uscore.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/lo-error.h +++ b/liboctave/lo-error.h @@ -1,7 +1,7 @@ // error.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/mx-base.h +++ b/liboctave/mx-base.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/mx-defs.h +++ b/liboctave/mx-defs.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/mx-ext.h +++ b/liboctave/mx-ext.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/mx-inlines.cc +++ b/liboctave/mx-inlines.cc @@ -1,7 +1,7 @@ // Helper functions for matrix classes. -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/mx-kludge.cc +++ b/liboctave/mx-kludge.cc @@ -1,7 +1,7 @@ // kludge.cc -*- C++ -*- /* -Copyright (C) 19921994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/mx-kludge.h +++ b/liboctave/mx-kludge.h @@ -1,7 +1,7 @@ // kludge.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/sun-utils.cc +++ b/liboctave/sun-utils.cc @@ -1,7 +1,7 @@ // sun-utils.cc -*- C++ -*- /* -Copyright (C) 1992, 1993 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.
--- a/liboctave/sun-utils.h +++ b/liboctave/sun-utils.h @@ -1,7 +1,7 @@ // sun-utils.h -*- C++ -*- /* -Copyright (C) 1992, 1993, 1994 John W. Eaton +Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton This file is part of Octave.