Mercurial > hg > octave-lojdl
changeset 1352:19c10b8657d5
[project @ 1995-09-05 08:11:57 by jwe]
line wrap: on
line diff
--- a/liboctave/idx-vector.cc +++ b/liboctave/idx-vector.cc @@ -33,11 +33,12 @@ #include <iostream.h> +#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)
--- a/src/arith-ops.cc +++ b/src/arith-ops.cc @@ -30,16 +30,16 @@ #include <Complex.h> +#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 \
--- a/src/balance.cc +++ b/src/balance.cc @@ -27,21 +27,21 @@ #include <config.h> #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\
--- a/src/chol.cc +++ b/src/chol.cc @@ -25,16 +25,16 @@ #include <config.h> #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")
--- a/src/colloc.cc +++ b/src/colloc.cc @@ -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")
--- a/src/dassl.cc +++ b/src/dassl.cc @@ -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;
--- a/src/data.cc +++ b/src/data.cc @@ -33,14 +33,14 @@ #include <config.h> #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))
--- a/src/det.cc +++ b/src/det.cc @@ -25,16 +25,16 @@ #include <config.h> #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")
--- a/src/dynamic-ld.cc +++ b/src/dynamic-ld.cc @@ -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);
--- a/src/eig.cc +++ b/src/eig.cc @@ -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")
--- a/src/error.cc +++ b/src/error.cc @@ -29,12 +29,12 @@ #include <strstream.h> -#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;
--- a/src/expm.cc +++ b/src/expm.cc @@ -29,20 +29,20 @@ #include <cmath> -#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" {
--- a/src/fft.cc +++ b/src/fft.cc @@ -25,16 +25,16 @@ #include <config.h> #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.
--- a/src/fft2.cc +++ b/src/fft2.cc @@ -25,16 +25,16 @@ #include <config.h> #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.
--- a/src/file-io.cc +++ b/src/file-io.cc @@ -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
--- a/src/find.cc +++ b/src/find.cc @@ -25,11 +25,11 @@ #include <config.h> #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,
--- a/src/fsolve.cc +++ b/src/fsolve.cc @@ -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;
--- a/src/fsqp.cc +++ b/src/fsqp.cc @@ -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
--- a/src/givens.cc +++ b/src/givens.cc @@ -27,16 +27,16 @@ #include <config.h> #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" {
--- a/src/gripes.cc +++ b/src/gripes.cc @@ -25,9 +25,9 @@ #include <config.h> #endif -#include "tree-const.h" +#include "error.h" #include "gripes.h" -#include "error.h" +#include "tree-const.h" void gripe_string_invalid (void)
--- a/src/help.cc +++ b/src/help.cc @@ -37,21 +37,21 @@ #include <unistd.h> #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" {
--- a/src/hess.cc +++ b/src/hess.cc @@ -25,16 +25,16 @@ #include <config.h> #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")
--- a/src/ifft.cc +++ b/src/ifft.cc @@ -25,16 +25,16 @@ #include <config.h> #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.
--- a/src/ifft2.cc +++ b/src/ifft2.cc @@ -25,16 +25,16 @@ #include <config.h> #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.
--- a/src/input.cc +++ b/src/input.cc @@ -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
--- a/src/inv.cc +++ b/src/inv.cc @@ -25,16 +25,16 @@ #include <config.h> #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")
--- a/src/load-save.cc +++ b/src/load-save.cc @@ -34,20 +34,20 @@ #include <fstream.h> #include <strstream.h> -#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" {
--- a/src/log.cc +++ b/src/log.cc @@ -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...
--- a/src/lpsolve.cc +++ b/src/lpsolve.cc @@ -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.")
--- a/src/lsode.cc +++ b/src/lsode.cc @@ -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;
--- a/src/lu.cc +++ b/src/lu.cc @@ -25,15 +25,15 @@ #include <config.h> #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")
--- a/src/mappers.cc +++ b/src/mappers.cc @@ -30,14 +30,14 @@ #include <Complex.h> -#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
--- a/src/minmax.cc +++ b/src/minmax.cc @@ -27,11 +27,11 @@ #include <cmath> -#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))
--- a/src/npsol.cc +++ b/src/npsol.cc @@ -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
--- a/src/oct-hist.cc +++ b/src/oct-hist.cc @@ -46,18 +46,18 @@ #include <fcntl.h> -#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" {
--- a/src/oct-obj.cc +++ b/src/oct-obj.cc @@ -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...
--- a/src/pager.cc +++ b/src/pager.cc @@ -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;
--- a/src/pinv.cc +++ b/src/pinv.cc @@ -25,16 +25,16 @@ #include <config.h> #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\
--- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -34,22 +34,22 @@ #include <Complex.h> -#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.
--- a/src/pt-cmd.cc +++ b/src/pt-cmd.cc @@ -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
--- a/src/pt-exp-base.cc +++ b/src/pt-exp-base.cc @@ -42,26 +42,26 @@ #include <unistd.h> #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;
--- a/src/pt-misc.cc +++ b/src/pt-misc.cc @@ -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;
--- a/src/pt-plot.cc +++ b/src/pt-plot.cc @@ -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" {
--- a/src/qpsol.cc +++ b/src/qpsol.cc @@ -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
--- a/src/qr.cc +++ b/src/qr.cc @@ -25,18 +25,17 @@ #include <config.h> #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\
--- a/src/quad.cc +++ b/src/quad.cc @@ -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;
--- a/src/qzval.cc +++ b/src/qzval.cc @@ -29,18 +29,18 @@ #include <cfloat> -#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" {
--- a/src/rand.cc +++ b/src/rand.cc @@ -27,13 +27,14 @@ #include <ctime> -#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 };
--- a/src/resource.cc +++ b/src/resource.cc @@ -25,13 +25,13 @@ #include <config.h> #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"
--- a/src/schur.cc +++ b/src/schur.cc @@ -25,16 +25,16 @@ #include <config.h> #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\
--- a/src/sighandlers.cc +++ b/src/sighandlers.cc @@ -35,10 +35,10 @@ #include <unistd.h> #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
--- a/src/sort.cc +++ b/src/sort.cc @@ -25,11 +25,11 @@ #include <config.h> #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)
--- a/src/svd.cc +++ b/src/svd.cc @@ -25,18 +25,18 @@ #include <config.h> #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\
--- a/src/syl.cc +++ b/src/syl.cc @@ -27,19 +27,19 @@ #include <config.h> #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" {
--- a/src/symtab.cc +++ b/src/symtab.cc @@ -29,14 +29,14 @@ #include <config.h> #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" {
--- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -45,16 +45,16 @@ #include <unistd.h> #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" {
--- a/src/tc-rep.cc +++ b/src/tc-rep.cc @@ -31,23 +31,22 @@ #include <fstream.h> #include <iostream.h> +#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.
--- a/src/timefns.cc +++ b/src/timefns.cc @@ -25,13 +25,13 @@ #include <config.h> #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.
--- a/src/token.cc +++ b/src/token.cc @@ -32,9 +32,9 @@ #include <cassert> #include "error.h" +#include "symtab.h" #include "token.h" #include "utils.h" -#include "symtab.h" token::token (int l, int c) {
--- a/src/unwind-prot.cc +++ b/src/unwind-prot.cc @@ -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)
--- a/src/user-prefs.cc +++ b/src/user-prefs.cc @@ -27,11 +27,11 @@ #include <cstring> -#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
--- a/src/utils.cc +++ b/src/utils.cc @@ -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;
--- a/src/variables.cc +++ b/src/variables.cc @@ -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" {
--- a/src/xdiv.cc +++ b/src/xdiv.cc @@ -29,11 +29,12 @@ #include <Complex.h> -#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)
--- a/src/xpow.cc +++ b/src/xpow.cc @@ -29,15 +29,16 @@ #include <Complex.h> -#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.