# HG changeset patch # User jwe # Date 810290038 0 # Node ID 19c10b8657d56eabe8f17e5978453d0ce36a4dd5 # Parent 8256c4c574194fdc50c5ac5c3b3d0a33a63d72b8 [project @ 1995-09-05 08:11:57 by jwe] diff -r 8256c4c57419 -r 19c10b8657d5 liboctave/idx-vector.cc --- a/liboctave/idx-vector.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/liboctave/idx-vector.cc Tue Sep 05 08:33:58 1995 +0000 @@ -33,11 +33,12 @@ #include +#include "Range.h" #include "dMatrix.h" -#include "Range.h" + +#include "error.h" #include "idx-vector.h" #include "user-prefs.h" -#include "error.h" #include "utils.h" idx_vector::idx_vector (const idx_vector& a) diff -r 8256c4c57419 -r 19c10b8657d5 src/arith-ops.cc --- a/src/arith-ops.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/arith-ops.cc Tue Sep 05 08:33:58 1995 +0000 @@ -30,16 +30,16 @@ #include +#include "arith-ops.h" #include "error.h" #include "gripes.h" -#include "utils.h" #include "mappers.h" -#include "user-prefs.h" #include "tree-const.h" -#include "arith-ops.h" #include "unwind-prot.h" +#include "user-prefs.h" +#include "utils.h" +#include "xdiv.h" #include "xpow.h" -#include "xdiv.h" #if defined (HAVE_ISINF) || (defined (HAVE_FINITE) && defined (HAVE_ISNAN)) #define DIVIDE_BY_ZERO_ERROR \ diff -r 8256c4c57419 -r 19c10b8657d5 src/balance.cc --- a/src/balance.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/balance.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,21 +27,21 @@ #include #endif +#include "CMatrix.h" +#include "CmplxAEPBAL.h" +#include "CmplxAEPBAL.h" #include "dMatrix.h" -#include "CMatrix.h" #include "dbleAEPBAL.h" -#include "CmplxAEPBAL.h" #include "dbleAEPBAL.h" -#include "CmplxAEPBAL.h" #include "dbleGEPBAL.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("balance", Fbalance, Sbalance, 4, 4, "AA = balance (A [, OPT]) or [[DD,] AA] = balance (A [, OPT])\n\ diff -r 8256c4c57419 -r 19c10b8657d5 src/chol.cc --- a/src/chol.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/chol.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CmplxCHOL.h" #include "dbleCHOL.h" -#include "CmplxCHOL.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("chol", Fchol, Schol, 2, 1, "R = chol (X): cholesky factorization") diff -r 8256c4c57419 -r 19c10b8657d5 src/colloc.cc --- a/src/colloc.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/colloc.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,11 +27,11 @@ #include "CollocWt.h" +#include "defun-dld.h" +#include "error.h" +#include "help.h" #include "tree-const.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("colloc", Fcolloc, Scolloc, 7, 4, "[R, A, B, Q] = colloc (N [, \"left\"] [, \"right\"]): collocation weights") diff -r 8256c4c57419 -r 19c10b8657d5 src/dassl.cc --- a/src/dassl.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/dassl.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,14 +29,14 @@ #include "DAE.h" -#include "tree-const.h" -#include "variables.h" -#include "gripes.h" +#include "defun-dld.h" #include "error.h" -#include "utils.h" +#include "gripes.h" +#include "help.h" #include "pager.h" -#include "help.h" -#include "defun-dld.h" +#include "tree-const.h" +#include "utils.h" +#include "variables.h" // Global pointer for user defined function required by dassl. static tree_fvc *dassl_fcn; diff -r 8256c4c57419 -r 19c10b8657d5 src/data.cc --- a/src/data.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/data.cc Tue Sep 05 08:33:58 1995 +0000 @@ -33,14 +33,14 @@ #include #endif +#include "defun.h" +#include "error.h" +#include "gripes.h" +#include "help.h" +#include "oct-map.h" #include "tree-const.h" #include "user-prefs.h" -#include "oct-map.h" -#include "help.h" #include "utils.h" -#include "error.h" -#include "gripes.h" -#include "defun.h" #ifndef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) diff -r 8256c4c57419 -r 19c10b8657d5 src/det.cc --- a/src/det.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/det.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CmplxDET.h" #include "dbleDET.h" -#include "CmplxDET.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("det", Fdet, Sdet, 2, 1, "det (X): determinant of a square matrix") diff -r 8256c4c57419 -r 19c10b8657d5 src/dynamic-ld.cc --- a/src/dynamic-ld.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/dynamic-ld.cc Tue Sep 05 08:33:58 1995 +0000 @@ -34,16 +34,16 @@ #endif } +#include "defaults.h" +#include "dirfns.h" +#include "dynamic-ld.h" +#include "error.h" +#include "octave.h" #include "pathsearch.h" -#include "dynamic-ld.h" #include "tree-const.h" #include "user-prefs.h" +#include "utils.h" #include "variables.h" -#include "defaults.h" -#include "dirfns.h" -#include "octave.h" -#include "utils.h" -#include "error.h" typedef builtin_function * (*Octave_builtin_fcn_struct_fcn)(void); diff -r 8256c4c57419 -r 19c10b8657d5 src/eig.cc --- a/src/eig.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/eig.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,13 +27,13 @@ #include "EIG.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("eig", Feig, Seig, 2, 1, "eig (X) or [V, D] = eig (X): compute eigenvalues and eigenvectors of X") diff -r 8256c4c57419 -r 19c10b8657d5 src/error.cc --- a/src/error.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/error.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,12 +29,12 @@ #include -#include "utils.h" +#include "defun.h" #include "error.h" +#include "oct-obj.h" #include "pager.h" -#include "oct-obj.h" #include "tree-const.h" -#include "defun.h" +#include "utils.h" // Current error state. int error_state = 0; diff -r 8256c4c57419 -r 19c10b8657d5 src/expm.cc --- a/src/expm.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/expm.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,20 +29,20 @@ #include -#include "dMatrix.h" +#include "CColVector.h" #include "CMatrix.h" -#include "CColVector.h" +#include "CmplxAEPBAL.h" +#include "dMatrix.h" #include "dbleAEPBAL.h" -#include "CmplxAEPBAL.h" #include "f77-uscore.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/fft.cc --- a/src/fft.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/fft.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" // This function should be merged with Fifft. diff -r 8256c4c57419 -r 19c10b8657d5 src/fft2.cc --- a/src/fft2.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/fft2.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" // This function should be merged with Fifft2. diff -r 8256c4c57419 -r 19c10b8657d5 src/file-io.cc --- a/src/file-io.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/file-io.cc Tue Sep 05 08:33:58 1995 +0000 @@ -52,19 +52,19 @@ #include "dMatrix.h" -#include "syswait.h" -#include "statdefs.h" -#include "file-io.h" -#include "input.h" -#include "octave-hist.h" -#include "tree-const.h" +#include "defun.h" #include "error.h" +#include "file-io.h" #include "help.h" -#include "utils.h" +#include "input.h" +#include "mappers.h" +#include "octave-hist.h" #include "pager.h" -#include "defun.h" +#include "statdefs.h" #include "sysdep.h" -#include "mappers.h" +#include "syswait.h" +#include "tree-const.h" +#include "utils.h" #include "variables.h" // keeps a count of args sent to printf or scanf diff -r 8256c4c57419 -r 19c10b8657d5 src/find.cc --- a/src/find.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/find.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,11 +25,11 @@ #include #endif -#include "tree-const.h" +#include "defun-dld.h" #include "error.h" #include "gripes.h" #include "help.h" -#include "defun-dld.h" +#include "tree-const.h" static Octave_object find_to_fortran_idx (const ColumnVector i_idx, const ColumnVector j_idx, diff -r 8256c4c57419 -r 19c10b8657d5 src/fsolve.cc --- a/src/fsolve.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/fsolve.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,14 +29,14 @@ #include "NLEqn.h" -#include "tree-const.h" -#include "variables.h" -#include "gripes.h" +#include "defun-dld.h" #include "error.h" -#include "utils.h" +#include "gripes.h" +#include "help.h" #include "pager.h" -#include "help.h" -#include "defun-dld.h" +#include "tree-const.h" +#include "utils.h" +#include "variables.h" // Global pointer for user defined function required by hybrd1. static tree_fvc *fsolve_fcn; diff -r 8256c4c57419 -r 19c10b8657d5 src/fsqp.cc --- a/src/fsqp.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/fsqp.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,10 +27,10 @@ #include "FSQP.h" -#include "tree-const.h" +#include "defun-dld.h" #include "error.h" #include "help.h" -#include "defun-dld.h" +#include "tree-const.h" #ifndef FSQP_MISSING diff -r 8256c4c57419 -r 19c10b8657d5 src/givens.cc --- a/src/givens.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/givens.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,16 +27,16 @@ #include #endif +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" #include "f77-uscore.h" -#include "tree-const.h" -#include "user-prefs.h" +#include "defun-dld.h" #include "error.h" #include "gripes.h" #include "help.h" -#include "defun-dld.h" +#include "tree-const.h" +#include "user-prefs.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/gripes.cc --- a/src/gripes.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/gripes.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,9 +25,9 @@ #include #endif -#include "tree-const.h" +#include "error.h" #include "gripes.h" -#include "error.h" +#include "tree-const.h" void gripe_string_invalid (void) diff -r 8256c4c57419 -r 19c10b8657d5 src/help.cc --- a/src/help.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/help.cc Tue Sep 05 08:33:58 1995 +0000 @@ -37,21 +37,21 @@ #include #endif -#include "tree-expr.h" -#include "tree-const.h" +#include "defun.h" +#include "dirfns.h" +#include "error.h" +#include "help.h" +#include "oct-obj.h" +#include "octave.h" +#include "pager.h" #include "sighandlers.h" -#include "user-prefs.h" -#include "tree-expr.h" -#include "variables.h" -#include "oct-obj.h" #include "symtab.h" -#include "octave.h" -#include "dirfns.h" -#include "pager.h" -#include "error.h" +#include "tree-const.h" +#include "tree-expr.h" +#include "tree-expr.h" +#include "user-prefs.h" #include "utils.h" -#include "help.h" -#include "defun.h" +#include "variables.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/hess.cc --- a/src/hess.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/hess.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CmplxHESS.h" #include "dbleHESS.h" -#include "CmplxHESS.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "error.h" -#include "gripes.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("hess", Fhess, Shess, 2, 2, "[P, H] = hess (A) or H = hess (A): Hessenberg decomposition") diff -r 8256c4c57419 -r 19c10b8657d5 src/ifft.cc --- a/src/ifft.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/ifft.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" // This function should be merged with Ffft. diff -r 8256c4c57419 -r 19c10b8657d5 src/ifft2.cc --- a/src/ifft2.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/ifft2.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" // This function should be merged with Ffft2. diff -r 8256c4c57419 -r 19c10b8657d5 src/input.cc --- a/src/input.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/input.cc Tue Sep 05 08:33:58 1995 +0000 @@ -95,25 +95,25 @@ } } -#include "pathlen.h" -#include "help.h" +#include "defun.h" +#include "dirfns.h" #include "error.h" -#include "utils.h" +#include "help.h" #include "input.h" +#include "oct-map.h" +#include "oct-obj.h" +#include "octave-hist.h" +#include "octave.h" #include "pager.h" #include "parse.h" -#include "dirfns.h" -#include "octave.h" +#include "pathlen.h" +#include "sighandlers.h" +#include "symtab.h" #include "sysdep.h" -#include "variables.h" #include "tree-const.h" -#include "octave-hist.h" -#include "sighandlers.h" #include "user-prefs.h" -#include "oct-obj.h" -#include "oct-map.h" -#include "symtab.h" -#include "defun.h" +#include "utils.h" +#include "variables.h" // The size that strings change by. #ifndef DEFAULT_ARRAY_SIZE diff -r 8256c4c57419 -r 19c10b8657d5 src/inv.cc --- a/src/inv.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/inv.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("inv", Finv, Sinv, 2, 1, "inv (X): inverse of a square matrix") diff -r 8256c4c57419 -r 19c10b8657d5 src/load-save.cc --- a/src/load-save.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/load-save.cc Tue Sep 05 08:33:58 1995 +0000 @@ -34,20 +34,20 @@ #include #include -#include "tree-base.h" -#include "tree-expr.h" -#include "tree-const.h" -#include "user-prefs.h" -#include "unwind-prot.h" -#include "load-save.h" -#include "sysdep.h" -#include "symtab.h" -#include "pager.h" +#include "defun.h" #include "error.h" #include "gripes.h" -#include "defun.h" +#include "help.h" +#include "load-save.h" +#include "pager.h" +#include "symtab.h" +#include "sysdep.h" +#include "tree-base.h" +#include "tree-const.h" +#include "tree-expr.h" +#include "unwind-prot.h" +#include "user-prefs.h" #include "utils.h" -#include "help.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/log.cc --- a/src/log.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/log.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,13 +27,13 @@ #include "EIG.h" -#include "tree-const.h" -#include "user-prefs.h" +#include "defun-dld.h" #include "error.h" #include "gripes.h" +#include "help.h" +#include "tree-const.h" +#include "user-prefs.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" // XXX FIXME XXX -- the next two functions should really be just one... diff -r 8256c4c57419 -r 19c10b8657d5 src/lpsolve.cc --- a/src/lpsolve.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/lpsolve.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,10 +27,10 @@ #include "LPsolve.h" -#include "tree-const.h" +#include "defun-dld.h" #include "error.h" #include "help.h" -#include "defun-dld.h" +#include "tree-const.h" DEFUN_DLD_BUILTIN ("lp_solve", Flp_solve, Slp_solve, 11, 3, "lp_solve (): solve linear programs using lp_solve.") diff -r 8256c4c57419 -r 19c10b8657d5 src/lsode.cc --- a/src/lsode.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/lsode.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,14 +29,14 @@ #include "ODE.h" -#include "tree-const.h" -#include "variables.h" -#include "gripes.h" +#include "defun-dld.h" #include "error.h" -#include "utils.h" +#include "gripes.h" +#include "help.h" #include "pager.h" -#include "help.h" -#include "defun-dld.h" +#include "tree-const.h" +#include "utils.h" +#include "variables.h" // Global pointer for user defined function required by lsode. static tree_fvc *lsode_fcn; diff -r 8256c4c57419 -r 19c10b8657d5 src/lu.cc --- a/src/lu.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/lu.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,15 +25,15 @@ #include #endif +#include "CmplxLU.h" #include "dbleLU.h" -#include "CmplxLU.h" +#include "defun-dld.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("lu", Flu, Slu, 2, 3, "[L, U, P] = lu (A): LU factorization") diff -r 8256c4c57419 -r 19c10b8657d5 src/mappers.cc --- a/src/mappers.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/mappers.cc Tue Sep 05 08:33:58 1995 +0000 @@ -30,14 +30,14 @@ #include -#include "missing-math.h" +#include "defun.h" +#include "error.h" #include "f77-uscore.h" -#include "variables.h" #include "mappers.h" +#include "missing-math.h" #include "sysdep.h" -#include "error.h" #include "utils.h" -#include "defun.h" +#include "variables.h" #if defined (_AIX) && defined (__GNUG__) #undef finite diff -r 8256c4c57419 -r 19c10b8657d5 src/minmax.cc --- a/src/minmax.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/minmax.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,11 +27,11 @@ #include -#include "tree-const.h" +#include "defun-dld.h" #include "error.h" #include "gripes.h" #include "help.h" -#include "defun-dld.h" +#include "tree-const.h" #ifndef MAX #define MAX(a,b) ((a) > (b) ? (a) : (b)) diff -r 8256c4c57419 -r 19c10b8657d5 src/npsol.cc --- a/src/npsol.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/npsol.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,14 +29,14 @@ #include "NPSOL.h" -#include "tree-const.h" -#include "variables.h" -#include "gripes.h" +#include "defun-dld.h" #include "error.h" +#include "gripes.h" +#include "help.h" #include "pager.h" +#include "tree-const.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" +#include "variables.h" #ifndef NPSOL_MISSING diff -r 8256c4c57419 -r 19c10b8657d5 src/oct-hist.cc --- a/src/oct-hist.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/oct-hist.cc Tue Sep 05 08:33:58 1995 +0000 @@ -46,18 +46,18 @@ #include -#include "statdefs.h" -#include "utils.h" +#include "defun.h" #include "error.h" #include "input.h" -#include "pager.h" +#include "oct-obj.h" +#include "octave-hist.h" #include "octave.h" -#include "oct-obj.h" +#include "pager.h" +#include "sighandlers.h" +#include "statdefs.h" +#include "unwind-prot.h" #include "user-prefs.h" -#include "unwind-prot.h" -#include "octave-hist.h" -#include "sighandlers.h" -#include "defun.h" +#include "utils.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/oct-obj.cc --- a/src/oct-obj.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/oct-obj.cc Tue Sep 05 08:33:58 1995 +0000 @@ -30,11 +30,11 @@ #endif #include "Array.h" +#include "Range.h" #include "mx-base.h" -#include "Range.h" +#include "oct-obj.h" #include "tree-const.h" -#include "oct-obj.h" // We can't put these functions in oct-obj.h without including // tree-const.h there too, and that causes trouble... diff -r 8256c4c57419 -r 19c10b8657d5 src/pager.cc --- a/src/pager.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/pager.cc Tue Sep 05 08:33:58 1995 +0000 @@ -34,15 +34,15 @@ #include "procstream.h" +#include "defun.h" +#include "error.h" +#include "help.h" +#include "input.h" +#include "oct-obj.h" +#include "pager.h" #include "sighandlers.h" #include "user-prefs.h" -#include "oct-obj.h" -#include "error.h" -#include "defun.h" -#include "input.h" -#include "pager.h" #include "utils.h" -#include "help.h" // Where we stash output headed for the screen. static ostrstream *pager_buf = 0; diff -r 8256c4c57419 -r 19c10b8657d5 src/pinv.cc --- a/src/pinv.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/pinv.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("pinv", Fpinv, Spinv, 3, 1, "pinv ( [, tol])\n\ diff -r 8256c4c57419 -r 19c10b8657d5 src/pr-output.cc --- a/src/pr-output.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/pr-output.cc Tue Sep 05 08:33:58 1995 +0000 @@ -34,22 +34,22 @@ #include -#include "dMatrix.h" #include "CMatrix.h" #include "Range.h" +#include "dMatrix.h" -#include "tree-const.h" -#include "variables.h" -#include "user-prefs.h" -#include "pr-output.h" +#include "defun.h" +#include "error.h" +#include "help.h" #include "mappers.h" #include "oct-str.h" +#include "pager.h" +#include "pr-output.h" #include "sysdep.h" -#include "pager.h" -#include "help.h" -#include "error.h" +#include "tree-const.h" +#include "user-prefs.h" #include "utils.h" -#include "defun.h" +#include "variables.h" // Current format string for real numbers and the real part of complex // numbers. diff -r 8256c4c57419 -r 19c10b8657d5 src/pt-cmd.cc --- a/src/pt-cmd.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/pt-cmd.cc Tue Sep 05 08:33:58 1995 +0000 @@ -41,18 +41,18 @@ // is also needed in tree-expr.cc. int returning = 0; -#include "user-prefs.h" -#include "variables.h" -#include "oct-map.h" -#include "symtab.h" #include "error.h" #include "gripes.h" +#include "oct-map.h" +#include "symtab.h" #include "tree-base.h" -#include "tree-expr.h" #include "tree-cmd.h" +#include "tree-const.h" +#include "tree-expr.h" #include "tree-misc.h" -#include "tree-const.h" #include "unwind-prot.h" +#include "user-prefs.h" +#include "variables.h" // Decide if it's time to quit a for or while loop. static inline int diff -r 8256c4c57419 -r 19c10b8657d5 src/pt-exp-base.cc --- a/src/pt-exp-base.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/pt-exp-base.cc Tue Sep 05 08:33:58 1995 +0000 @@ -42,26 +42,26 @@ #include #endif -#include "variables.h" -#include "user-prefs.h" +#include "defun.h" #include "dynamic-ld.h" -#include "help.h" #include "error.h" #include "gripes.h" +#include "help.h" +#include "input.h" +#include "lex.h" +#include "octave-hist.h" +#include "octave.h" #include "pager.h" +#include "parse.h" +#include "symtab.h" #include "tree-base.h" +#include "tree-const.h" #include "tree-expr.h" #include "tree-misc.h" -#include "tree-const.h" -#include "input.h" -#include "symtab.h" +#include "unwind-prot.h" +#include "user-prefs.h" #include "utils.h" -#include "octave.h" -#include "octave-hist.h" -#include "unwind-prot.h" -#include "parse.h" -#include "lex.h" -#include "defun.h" +#include "variables.h" // Nonzero means we're returning from a function. extern int returning; diff -r 8256c4c57419 -r 19c10b8657d5 src/pt-misc.cc --- a/src/pt-misc.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/pt-misc.cc Tue Sep 05 08:33:58 1995 +0000 @@ -37,14 +37,14 @@ #endif #include "error.h" -#include "tree-base.h" -#include "tree-expr.h" -#include "tree-cmd.h" +#include "oct-obj.h" #include "octave.h" -#include "tree-misc.h" +#include "tree-base.h" +#include "tree-cmd.h" #include "tree-const.h" +#include "tree-expr.h" +#include "tree-misc.h" #include "user-prefs.h" -#include "oct-obj.h" // Nonzero means we're breaking out of a loop or function body. extern int breaking; diff -r 8256c4c57419 -r 19c10b8657d5 src/pt-plot.cc --- a/src/pt-plot.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/pt-plot.cc Tue Sep 05 08:33:58 1995 +0000 @@ -43,18 +43,18 @@ #include "SLStack.h" #include "procstream.h" -#include "user-prefs.h" +#include "defun.h" +#include "error.h" +#include "gripes.h" +#include "help.h" +#include "load-save.h" #include "tree-base.h" -#include "tree-expr.h" #include "tree-cmd.h" #include "tree-const.h" +#include "tree-expr.h" #include "tree-plot.h" -#include "load-save.h" -#include "help.h" -#include "error.h" -#include "gripes.h" +#include "user-prefs.h" #include "utils.h" -#include "defun.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/qpsol.cc --- a/src/qpsol.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/qpsol.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,14 +29,14 @@ #include "QPSOL.h" -#include "tree-const.h" -#include "variables.h" -#include "gripes.h" +#include "defun-dld.h" #include "error.h" -#include "utils.h" +#include "gripes.h" +#include "help.h" #include "pager.h" -#include "help.h" -#include "defun-dld.h" +#include "tree-const.h" +#include "utils.h" +#include "variables.h" #ifndef QPSOL_MISSING diff -r 8256c4c57419 -r 19c10b8657d5 src/qr.cc --- a/src/qr.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/qr.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,18 +25,17 @@ #include #endif +#include "CmplxQR.h" +#include "CmplxQRP.h" #include "dbleQR.h" -#include "CmplxQR.h" +#include "dbleQRP.h" -#include "dbleQRP.h" -#include "CmplxQRP.h" - +#include "defun-dld.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("qr", Fqr, Sqr, 2, 2, "[Q, R] = qr (X): form Q unitary and R upper triangular such\n\ diff -r 8256c4c57419 -r 19c10b8657d5 src/quad.cc --- a/src/quad.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/quad.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,15 +29,15 @@ #include "Quad.h" -#include "tree-const.h" -#include "variables.h" -#include "mappers.h" -#include "gripes.h" +#include "defun-dld.h" #include "error.h" -#include "utils.h" +#include "gripes.h" +#include "help.h" +#include "mappers.h" #include "pager.h" -#include "help.h" -#include "defun-dld.h" +#include "tree-const.h" +#include "utils.h" +#include "variables.h" // Global pointer for user defined function required by quadrature functions. static tree_fvc *quad_fcn; diff -r 8256c4c57419 -r 19c10b8657d5 src/qzval.cc --- a/src/qzval.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/qzval.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,18 +29,18 @@ #include -#include "dMatrix.h" +#include "CColVector.h" #include "dColVector.h" -#include "CColVector.h" +#include "dMatrix.h" #include "f77-uscore.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/rand.cc --- a/src/rand.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/rand.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,13 +27,14 @@ #include -#include "tree-const.h" #include "f77-uscore.h" + +#include "defun-dld.h" #include "error.h" #include "gripes.h" +#include "help.h" +#include "tree-const.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" // Possible distributions of random numbers. enum rand_dist { uniform, normal }; diff -r 8256c4c57419 -r 19c10b8657d5 src/resource.cc --- a/src/resource.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/resource.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,13 +25,13 @@ #include #endif -#include "tree-const.h" -#include "systime.h" -#include "oct-obj.h" +#include "defun.h" +#include "help.h" #include "oct-map.h" -#include "defun.h" +#include "oct-obj.h" +#include "systime.h" +#include "tree-const.h" #include "utils.h" -#include "help.h" #ifdef HAVE_SYS_RESOURCE_H extern "C" diff -r 8256c4c57419 -r 19c10b8657d5 src/schur.cc --- a/src/schur.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/schur.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,16 +25,16 @@ #include #endif +#include "CmplxSCHUR.h" #include "dbleSCHUR.h" -#include "CmplxSCHUR.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" #include "utils.h" -#include "error.h" -#include "gripes.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("schur", Fschur, Sschur, 3, 2, "[U, S] = schur (A) or S = schur (A)\n\ diff -r 8256c4c57419 -r 19c10b8657d5 src/sighandlers.cc --- a/src/sighandlers.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/sighandlers.cc Tue Sep 05 08:33:58 1995 +0000 @@ -35,10 +35,10 @@ #include #endif -#include "syswait.h" +#include "error.h" +#include "octave.h" #include "sighandlers.h" -#include "octave.h" -#include "error.h" +#include "syswait.h" #include "utils.h" // Nonzero means we have already printed a message for this series of diff -r 8256c4c57419 -r 19c10b8657d5 src/sort.cc --- a/src/sort.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/sort.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,11 +25,11 @@ #include #endif -#include "tree-const.h" +#include "defun-dld.h" #include "error.h" #include "gripes.h" #include "help.h" -#include "defun-dld.h" +#include "tree-const.h" static void mx_sort (Matrix& m, Matrix& idx, int return_idx) diff -r 8256c4c57419 -r 19c10b8657d5 src/svd.cc --- a/src/svd.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/svd.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,18 +25,18 @@ #include #endif +#include "CmplxSVD.h" #include "dbleSVD.h" -#include "CmplxSVD.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" +#include "mappers.h" +#include "pr-output.h" #include "tree-const.h" #include "user-prefs.h" -#include "pr-output.h" -#include "mappers.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" DEFUN_DLD_BUILTIN ("svd", Fsvd, Ssvd, 2, 3, "S = svd (X) or [U, S, V] = svd (X [, 0])\n\ diff -r 8256c4c57419 -r 19c10b8657d5 src/syl.cc --- a/src/syl.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/syl.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,19 +27,19 @@ #include #endif +#include "CMatrix.h" +#include "CmplxSCHUR.h" #include "dMatrix.h" -#include "CMatrix.h" #include "dbleSCHUR.h" -#include "CmplxSCHUR.h" #include "f77-uscore.h" +#include "defun-dld.h" +#include "error.h" +#include "gripes.h" +#include "help.h" #include "tree-const.h" #include "user-prefs.h" -#include "gripes.h" -#include "error.h" #include "utils.h" -#include "help.h" -#include "defun-dld.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/symtab.cc --- a/src/symtab.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/symtab.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,14 +29,14 @@ #include #endif +#include "error.h" #include "symtab.h" -#include "error.h" -#include "variables.h" +#include "tree-base.h" +#include "tree-const.h" +#include "tree-expr.h" +#include "user-prefs.h" #include "utils.h" -#include "user-prefs.h" -#include "tree-base.h" -#include "tree-expr.h" -#include "tree-const.h" +#include "variables.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/sysdep.cc --- a/src/sysdep.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/sysdep.cc Tue Sep 05 08:33:58 1995 +0000 @@ -45,16 +45,16 @@ #include #endif -#include "tree-const.h" -#include "octave.h" +#include "defun.h" +#include "error.h" +#include "f77-uscore.h" #include "help.h" #include "input.h" +#include "oct-obj.h" +#include "octave.h" +#include "sysdep.h" +#include "tree-const.h" #include "utils.h" -#include "oct-obj.h" -#include "error.h" -#include "sysdep.h" -#include "defun.h" -#include "f77-uscore.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/tc-rep.cc --- a/src/tc-rep.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/tc-rep.cc Tue Sep 05 08:33:58 1995 +0000 @@ -31,23 +31,22 @@ #include #include +#include "Range.h" #include "mx-base.h" -#include "Range.h" #include "arith-ops.h" -#include "variables.h" -#include "sysdep.h" #include "error.h" #include "gripes.h" +#include "idx-vector.h" +#include "oct-map.h" +#include "pr-output.h" +#include "sysdep.h" +#include "tc-inlines.h" +#include "tree-const.h" +#include "unwind-prot.h" #include "user-prefs.h" #include "utils.h" -#include "pr-output.h" -#include "tree-const.h" -#include "idx-vector.h" -#include "unwind-prot.h" -#include "oct-map.h" - -#include "tc-inlines.h" +#include "variables.h" // The following three variables could be made static members of the // TC_REP class. diff -r 8256c4c57419 -r 19c10b8657d5 src/timefns.cc --- a/src/timefns.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/timefns.cc Tue Sep 05 08:33:58 1995 +0000 @@ -25,13 +25,13 @@ #include #endif -#include "tree-const.h" +#include "defun.h" +#include "help.h" +#include "oct-map.h" #include "oct-obj.h" #include "systime.h" -#include "oct-map.h" -#include "defun.h" +#include "tree-const.h" #include "utils.h" -#include "help.h" // Date and time functions. diff -r 8256c4c57419 -r 19c10b8657d5 src/token.cc --- a/src/token.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/token.cc Tue Sep 05 08:33:58 1995 +0000 @@ -32,9 +32,9 @@ #include #include "error.h" +#include "symtab.h" #include "token.h" #include "utils.h" -#include "symtab.h" token::token (int l, int c) { diff -r 8256c4c57419 -r 19c10b8657d5 src/unwind-prot.cc --- a/src/unwind-prot.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/unwind-prot.cc Tue Sep 05 08:33:58 1995 +0000 @@ -35,8 +35,8 @@ #include "CMatrix.h" +#include "error.h" #include "unwind-prot.h" -#include "error.h" #include "utils.h" unwind_elem::unwind_elem (void) diff -r 8256c4c57419 -r 19c10b8657d5 src/user-prefs.cc --- a/src/user-prefs.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/user-prefs.cc Tue Sep 05 08:33:58 1995 +0000 @@ -27,11 +27,11 @@ #include -#include "user-prefs.h" +#include "error.h" #include "mappers.h" -#include "error.h" +#include "user-prefs.h" +#include "utils.h" #include "variables.h" -#include "utils.h" // The list of user preferences. Values change when global variables // change, so we don\'t have to do a variable look up every time we diff -r 8256c4c57419 -r 19c10b8657d5 src/utils.cc --- a/src/utils.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/utils.cc Tue Sep 05 08:33:58 1995 +0000 @@ -61,25 +61,25 @@ #include "SLStack.h" -#include "sysdir.h" +#include "defun.h" +#include "dirfns.h" +#include "error.h" +#include "gripes.h" +#include "help.h" +#include "input.h" +#include "mappers.h" +#include "oct-obj.h" +#include "octave-hist.h" +#include "octave.h" +#include "pager.h" #include "pathsearch.h" #include "procstream.h" -#include "user-prefs.h" -#include "variables.h" -#include "dirfns.h" -#include "defun.h" -#include "error.h" -#include "help.h" -#include "gripes.h" -#include "pager.h" -#include "utils.h" -#include "input.h" -#include "octave.h" -#include "oct-obj.h" -#include "mappers.h" +#include "sysdir.h" #include "tree-const.h" #include "unwind-prot.h" -#include "octave-hist.h" +#include "user-prefs.h" +#include "utils.h" +#include "variables.h" // Top level context (?) extern jmp_buf toplevel; diff -r 8256c4c57419 -r 19c10b8657d5 src/variables.cc --- a/src/variables.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/variables.cc Tue Sep 05 08:33:58 1995 +0000 @@ -36,29 +36,29 @@ #endif #include "defaults.h" -#include "version.h" +#include "defun.h" +#include "dirfns.h" #include "dynamic-ld.h" +#include "error.h" +#include "help.h" +#include "input.h" +#include "lex.h" +#include "oct-obj.h" #include "octave-hist.h" -#include "unwind-prot.h" -#include "variables.h" -#include "user-prefs.h" -#include "statdefs.h" -#include "tree-base.h" -#include "tree-expr.h" -#include "tree-const.h" -#include "dirfns.h" -#include "oct-obj.h" -#include "sysdep.h" -#include "symtab.h" #include "octave.h" #include "pager.h" -#include "error.h" -#include "defun.h" +#include "parse.h" +#include "statdefs.h" +#include "symtab.h" +#include "sysdep.h" +#include "tree-base.h" +#include "tree-const.h" +#include "tree-expr.h" +#include "unwind-prot.h" +#include "user-prefs.h" #include "utils.h" -#include "parse.h" -#include "input.h" -#include "help.h" -#include "lex.h" +#include "variables.h" +#include "version.h" extern "C" { diff -r 8256c4c57419 -r 19c10b8657d5 src/xdiv.cc --- a/src/xdiv.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/xdiv.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,11 +29,12 @@ #include -#include "xdiv.h" +#include "CMatrix.h" #include "dMatrix.h" -#include "CMatrix.h" + +#include "error.h" #include "tree-const.h" -#include "error.h" +#include "xdiv.h" static inline int result_ok (int info, double rcond, int warn = 1) diff -r 8256c4c57419 -r 19c10b8657d5 src/xpow.cc --- a/src/xpow.cc Tue Sep 05 08:08:13 1995 +0000 +++ b/src/xpow.cc Tue Sep 05 08:33:58 1995 +0000 @@ -29,15 +29,16 @@ #include -#include "xpow.h" -#include "dMatrix.h" -#include "CMatrix.h" -#include "dDiagMatrix.h" +#include "CColVector.h" #include "CDiagMatrix.h" -#include "CColVector.h" +#include "CMatrix.h" #include "EIG.h" +#include "dDiagMatrix.h" +#include "dMatrix.h" + +#include "error.h" #include "tree-const.h" -#include "error.h" +#include "xpow.h" // This function also appears in tree-const.cc. Maybe it should be a // member function of the Matrix class.