Mercurial > hg > octave-shane
changeset 9967:75503ecdac32
ChangeLog fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Dec 2009 13:46:24 -0500 |
parents | d4dab9605c49 |
children | f3bef90b7278 |
files | ChangeLog ChangeLog.1 doc/ChangeLog libcruft/ChangeLog liboctave/ChangeLog scripts/ChangeLog src/ChangeLog test/ChangeLog |
diffstat | 8 files changed, 1669 insertions(+), 1668 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -107,7 +107,7 @@ * acinclude.m4 (OCTAVE_HDF5_HAS_ENFORCED_16_API): New macro that tests whether the HDF5 library has an enforced v1.6 API and detects v1.8 APIs. - * configure.m4: Adapt test for HDF5 libraries to support v1.8 + * configure.m4: Adapt test for HDF5 libraries to support v1.8 HDF5 libraries. 2009-11-29 Jaroslav Hajek <highegg@gmail.com> @@ -664,7 +664,7 @@ 2009-03-17 Thomas Weber <thomas.weber.mail at gmail.com> - * configure.in: fix typo with regards to termios.h + * configure.in: fix typo with regards to termios.h 2009-05-25 Jaroslav Hajek <highegg@gmail.com> @@ -674,7 +674,7 @@ 2009-05-24 Benjamin Lindner <lindnerb@users.sourceforge.net> - * configure.in: (SCRIPTS_EXE_SUFFIX) Define to ".exe" for + * configure.in: (SCRIPTS_EXE_SUFFIX) Define to ".exe" for mingw32 compilation (similar to msvc) 2009-05-24 Robert T. Short <octave@phaselockedsystems.com> @@ -683,10 +683,10 @@ 2009-05-22 Marco Atzeri <marco_atzeri@yahoo.it> - * src/sysdep.cc: Removed CYGWIN_init + * src/sysdep.cc: Removed CYGWIN_init 2009-05-21 Marco Atzeri <marco_atzeri@yahoo.it> - * configure.in: Correct my mistake in cygwin SHLBINPRE SHLBIN + * configure.in: Correct my mistake in cygwin SHLBINPRE SHLBIN 2008-05-21 Michael Goffioul <michael.goffioul@gmail.com> @@ -944,9 +944,9 @@ 2009-01-29 Thomas Treichl <Thomas.Treichl@gmx.net> - * aclocal.m4 (OCTAVE_HAVE_FRAMEWORK): Add support for + * aclocal.m4 (OCTAVE_HAVE_FRAMEWORK): Add support for --with-framework-<name> and replace "$ac_safe" by "$1". - * configure.in: Change "have_carbon" with + * configure.in: Change "have_carbon" with "have_framework_carbon". 2009-01-28 John W. Eaton <jwe@octave.org> @@ -996,7 +996,7 @@ 2008-12-23 David Bateman <dbateman@free.fr> - * configure.in: Add configuration test for ARPACK. + * configure.in: Add configuration test for ARPACK. * Makeconf.in (ARPACK_LIBS): Add variable with location of ARPACK library. * NEWS: Document that eigs and svds were moved to Octaave. @@ -1024,8 +1024,8 @@ 2008-11-08 Thorsten Meyer <thorsten.meyier@gmx.de> - * Makeconf.in: export PERL variable for use in scripts/mkdoc - + * Makeconf.in: export PERL variable for use in scripts/mkdoc + 2008-10-30 David Bateman <dbateman@free.fr> * NEWS: Minor update to document improved indexing code. @@ -1042,7 +1042,7 @@ * examples/Makefile.in: Ditto. * configure.in: Change locate of examples/@polynomial makefile in AC_CONFIG_FILES. - + 2008-10-16 David Bateman <dbateman@free.fr> * NEWS: Minor update. @@ -1061,7 +1061,7 @@ directory * examples/Makefile.in: Reference the new subdirectory here. * configure.in: Add the new makefile to AC_CONFIG_FILES. - + 2008-10-01 Jaroslav Hajek <highegg@gmail.com> * configure.in: Check for sizeof (long double) and randl. @@ -1082,7 +1082,7 @@ 2008-08-28 David Bateman <dbateman@free.fr> * NEWS: Update for some of the graphics changes - + 2008-08-11 Jaroslav Hajek <highegg@gmail.com> * acx_blas_f77_func.m4, acx_lapack.m4: Update macros from @@ -1394,7 +1394,7 @@ * octave-bug.in: Try mailx, then Mail, then /usr/ucb/mail, then /bin/mail. - + 2007-11-13 John W. Eaton <jwe@octave.org> * configure.in: Only define HAVE_PCRE_H if <pcre.h> has the @@ -1444,7 +1444,7 @@ * octMakefile.in (maintainer-clean distclean): No need to delete Makefrag.f77 and Makerules.f77. * Makeconf.in: Include rules for making .o files from .f files - instead of substituting @f77_rules_frag@. + instead of substituting @f77_rules_frag@. * configure.in): Delete handling of --with-f2c and --with-f77 options. No need to call OCTAVE_CHECK_EXCLUSIVE_WITH_OPTIONS. Delete all special cases for f2c. @@ -1480,7 +1480,7 @@ * COPYING: Update to GPLv3. - * run-octave.in: List args explicitly in exec command. + * run-octave.in: List args explicitly in exec command. 2007-10-11 John W. Eaton <jwe@octave.org> @@ -1488,7 +1488,7 @@ 2007-10-10 Kim Hansen <kimhanse@gmail.com> - * run-octave.in: Use $args. Eliminate "if [ -n "$args" ]" conditional. + * run-octave.in: Use $args. Eliminate "if [ -n "$args" ]" conditional. 2007-10-09 John W. Eaton <jwe@octave.org> @@ -1499,7 +1499,7 @@ 2007-10-09 Kim Hansen <kimhanse@gmail.com> - * run-octave.in: Use gdb with --args, not .gdbinit. + * run-octave.in: Use gdb with --args, not .gdbinit. 2007-10-08 John W. Eaton <jwe@octave.org> @@ -1552,10 +1552,10 @@ 2007-08-24 David Bateman <dbateman@free.fr> - * configure.in: Probe for the use of Qhull. - * aclocal.m4 (AC_CHECK_QHULL_VERSION): Macro to check whether - Qhull needs a version number. - * Makeconf.in: Add QHULL_LIBS. + * configure.in: Probe for the use of Qhull. + * aclocal.m4 (AC_CHECK_QHULL_VERSION): Macro to check whether + Qhull needs a version number. + * Makeconf.in: Add QHULL_LIBS. 2007-08-23 John W. Eaton <jwe@octave.org> @@ -1578,9 +1578,9 @@ 2007-07-25 David Bateman <dbateman@free.fr> * octMakefile.in, dlfcn/Makefile.in, emacs/Makefile.in, - examples/Makefile.in, test/Makefile.in: Adjust DISTFILES to allow - out of tree "make dist" to work. - + examples/Makefile.in, test/Makefile.in: Adjust DISTFILES to allow + out of tree "make dist" to work. + 2007-07-24 Michael Goffioul <michael.goffioul@swing.be> * configure.in (*-*-msdosmsvc): Only add -g to DL_LDFLAGS and @@ -1643,7 +1643,7 @@ * examples/mycell.c, examples/mypow2.c, examples/mysparse.c, examples/mystring.c, examples/mystruct.c: Use mwSize and mwIndex, rather than int for indexing to conform to new mex API. - + 2007-06-01 John W. Eaton <jwe@octave.org> * configure.in (*-*-darwin*): Fix quoting and construction of @@ -2191,7 +2191,7 @@ * Makeconf.in (datarootdir): New variable. - * acx_lapack.m4 (acx_lapack_ok): + * acx_lapack.m4 (acx_lapack_ok): Use AC_LINK_IFELSE+AC_LANG_PROGRAM instead of AC_TRY_LINK * aclocal.m4: Use AC_RUN_IFELSE+AC_LANG_SOURCE instead of AC_TRY_RUN. @@ -2237,7 +2237,7 @@ 2006-05-05 David Bateman <dbateman@free.fr> - * Makeconf.in (do-subst-scripts-vals): Also replace + * Makeconf.in (do-subst-scripts-vals): Also replace abs_top_srcdir. * run-octave.in: Define top_srcdir as an absolute path. @@ -2315,12 +2315,12 @@ 2006-03-08 David Bateman <dbateman@free.fr> * configure.in: Update the test for CXSPARSE for new upstream release. - (OCTAVE_VERSION, OCTAVE_HOSTTYPE, OCTAVE_HOME,TEXINFO_UMFPACK, - TEXINFO_COLAMD, TEXINFO_CHOLMOD): New variables for texinfo + (OCTAVE_VERSION, OCTAVE_HOSTTYPE, OCTAVE_HOME,TEXINFO_UMFPACK, + TEXINFO_COLAMD, TEXINFO_CHOLMOD): New variables for texinfo documentation. (AC_CONFIG_FILES): Add doc/interpreter/images/Makefile and doc/conf.texi. - + 2006-03-02 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> * emacs/octave-mod.el (octave-indent-for-comment): Make the code @@ -2338,9 +2338,9 @@ 2006-02-09 David Bateman <dbateman@free.fr> - * configure.in: Fix for probe of colamd, cccolamd and metis. New test - for the presence of cxsparse. - Makeconf.in: Include CXSPARSE_LIBS. + * configure.in: Fix for probe of colamd, cccolamd and metis. New test + for the presence of cxsparse. + Makeconf.in: Include CXSPARSE_LIBS. 2006-01-19 John W. Eaton <jwe@octave.org> @@ -2384,7 +2384,7 @@ 2005-11-29 Rafael Laboissiere <rafael@debian.org> - * emacs/octave-mod.el: Ensure that key bindings for + * emacs/octave-mod.el: Ensure that key bindings for octave-mark-defun and backward-kill-word work in both XEmacs and GNU Emacs. @@ -2438,7 +2438,7 @@ 2005-10-23 David Bateman <dbateman@free.fr> - * configure.in (OCTAVE_UMFPACK_SEPERATE_SPLIT): Check for metis + * configure.in (OCTAVE_UMFPACK_SEPERATE_SPLIT): Check for metis separately. * PROJECTS: Remove completed sparse matrix tasks. @@ -2516,7 +2516,7 @@ (UMFPACK_INCLUDE, AMD_INCLUDE, COLAMD_INCLUDE, CCOLAMD_INCLUDE): AC_SUBST into oct-sparse.h. (LIBGLOB): Probe for external glob/fnmatch, define LIBGLOB. - (sepchar): Define path seperation character in system dependent + (sepchar): Define path seperation character in system dependent manner. Use it with OCTAVE_SET_DEFAULT. (SEPCHAR, SEPCHAR_STR): Dpend on sepchar. (DL_LDFLAGS): Define for cygwin and mingw. @@ -2525,7 +2525,7 @@ broken. * Makeconf.in: Don't use ";" as sed seperation to avoid confusion with sepchar. - (LIBGLOB, AMD_LIBS, COLAMD_LIBS, CCOLAMD_LIBS, CHOLMOD_LIBS, + (LIBGLOB, AMD_LIBS, COLAMD_LIBS, CCOLAMD_LIBS, CHOLMOD_LIBS, sepchar): Substitute. * octMakefile.in: (CONF_DISTFILES): Add acx_include_dirs.m4 and oct-sparse.h.in @@ -2608,12 +2608,12 @@ 2005-04-06 David Bateman <dbateman@free.fr> - * configure.in: Split the HDF5 and zlib detection code, so that zlib + * configure.in: Split the HDF5 and zlib detection code, so that zlib can be used for compressed load/save in the absence of HDF5. * Makeconf.in: Define UMFPACK_LIBS. - * Configure.in: Slightly alter the UMFPACK detection code so that it + * Configure.in: Slightly alter the UMFPACK detection code so that it correctly detects cblas bindings or not. 2005-03-22 John W. Eaton <jwe@octave.org> @@ -2787,7 +2787,7 @@ * configure.in: Use -Wl,-Bsymbolic for MKOCTFILE_DL_LDFLAGS on GNU/Linux systems but not for SH_LDFLAGS. - + 2004-04-22 John W. Eaton <jwe@octave.org> * configure.in: Add -Wl,-Bsymbolic to SH_LDFLAGS for GNU/Linux @@ -2901,9 +2901,9 @@ 2004-01-14 David Bateman <dbateman@free.fr> - * configure.in: Test for the presence of the function + * configure.in: Test for the presence of the function H5Gget_num_objs in HDF5 library, and define HAVE_H5GGET_NUM_OBJS. - + 2004-01-06 Per Persson <persquare@mac.com> * aclocal.m4 (OCTAVE_CXX_PREPENDS_UNDERSCORE): Recognize @@ -3160,7 +3160,7 @@ * configure.in: Allow RLD_FLAG to be set using --enable-rpath arg. - * configure.in: Fix default RLD_FLAG value for *-sgi-*. From + * configure.in: Fix default RLD_FLAG value for *-sgi-*. From Paul Kienzle <pkienzle@users.sf.net>. * configure.in: Check for long long int and unsigned long long int. @@ -3188,7 +3188,7 @@ 2003-02-13 Arno Klaassen <arno@scito.com> - * configure.in: Fix SH_LD and SH_LDFLAGS for -*-*-freebsd*. + * configure.in: Fix SH_LD and SH_LDFLAGS for -*-*-freebsd*. 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -3268,7 +3268,7 @@ 2002-12-03 Nix <nix@esperi.demon.co.uk> * configure.in: Use AC_CHECK_DECL in conjunction with - AC_DECL_SYS_SIGLIST to ensure signal.h is searched. + AC_DECL_SYS_SIGLIST to ensure signal.h is searched. 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -3327,7 +3327,7 @@ 2002-11-09 Per Persson <persquare@mac.com> * configure.in: Use $(TOPDIR)/src/octave, not $(bindir)/octave for - -bundle-loader argument. + -bundle-loader argument. * aclocal.m4 (OCTAVE_CXX_PREPENDS_UNDERSCORE): Force result for OS X. @@ -3426,7 +3426,7 @@ * Makeconf.in (TERMLIBS): Substitute here. - * configure.in: Define OCTAVE_USE_WINDOWS_API if + * configure.in: Define OCTAVE_USE_WINDOWS_API if defined (__WIN32__) && ! defined (__CYGWIN__), not if defined (__WIN32__) || ! defined (__CYGWIN__). Also call AC_SUBST for TERMLIBS. @@ -3482,7 +3482,7 @@ * aclocal.m4 (OCTAVE_CXX_PRAGMA_INTERFACE_IMPLEMENTATION): New macro. * configure.in: Use it. - * configure.in (BUILD_CC, BUILD_CFLAGS, BUILD_CXX, BUILD_CXXFLAGS): + * configure.in (BUILD_CC, BUILD_CFLAGS, BUILD_CXX, BUILD_CXXFLAGS): Set default values if cross compiling. * aclocal.m4 (OCTAVE_PROG_NM): Do the right thing for cross compiling. @@ -3513,12 +3513,12 @@ * configure.in: Don't define mkdir here. 2002-09-25 Mumit Khan <khan@nanotech.wisc.edu> - + * aclocal.m4 (OCTAVE_MKDIR_TAKES_ONE_ARG): New macro to determine if host mkdir accepts only one arg instead of the usual two. * configure.in: Use. Check for direct.h. (mkdir): Define. - + 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> * configure.in: Check for conio.h. @@ -3792,7 +3792,7 @@ * configure.in: Check for getpwnam in libsun only after checking default libraries first. Check for gethostname in libsocket only - after checking default libraries first. + after checking default libraries first. 2001-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -3820,7 +3820,7 @@ * configure.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): New variables. * Makeconf.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Likewise. - + * configure.in (XTRA_CXXFLAGS): Use -fno-implicit templates for pre-gcc3 compilers. Remove -fno-rtti and -fno-exceptions. (DEPEND_FLAGS, DEPEND_EXTRA_SED_PATTERN): New macros. @@ -3874,7 +3874,7 @@ * missing: New file, modified from the missing script provided by automake (never create files, just exit with failure status). - * aclocal.m4 (OCTAVE_PROG_BISON, OCTAVE_PROG_FLEX, OCTAVE_PROG_GPERF): + * aclocal.m4 (OCTAVE_PROG_BISON, OCTAVE_PROG_FLEX, OCTAVE_PROG_GPERF): Use $(top_srcdir)/missing as replacement script. * aclocal.m4 (OCTAVE_PROG_FLEX, OCTAVE_PROG_BISON): New macros. @@ -4239,7 +4239,7 @@ Thu Jun 18 20:24:40 1998 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> * configure.in (RLD_FLAG): Set correctly for Linux on all - architectures. From + architectures. From Thu May 28 10:17:45 1998 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -4417,7 +4417,7 @@ OCTAVE_PROG_GNUPLOT, OCTAVE_PROG_RUNTEST, OCTAVE_F77_MAIN_FLAG): New macros. * configure.in: Use them in place of in-line code. - + Sat Jan 24 00:33:14 1998 John W. Eaton <jwe@bevo.che.wisc.edu> * aclocal.m4 (OCTAVE_HOST_TYPE): Don't set target_host_type. @@ -4503,9 +4503,9 @@ 1997-04-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> * octave-mod.el (inferior-octave-output-list): Declare here - to avoid compiler warnings. - (inferior-octave-output-string): Likewise. - (inferior-octave-receive-in-progress): Likewise. + to avoid compiler warnings. + (inferior-octave-output-string): Likewise. + (inferior-octave-receive-in-progress): Likewise. Tue Oct 14 10:48:28 1997 Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> @@ -4710,7 +4710,7 @@ Ensure link is made in include directory. * configure.in (octlibdir): New variable. - * Makeconf.in: Substitute it here. + * Makeconf.in: Substitute it here. (do-subst-config-vals): Add -I${octincludedir} to INCFLAGS. Add -L${octlibdir} to LIBFLAGS. @@ -5227,7 +5227,7 @@ * configure.in: Comment out plplot stuff. In commands to get gxx_version and gcc_version, use simpler sed command to avoid confusing brain-dead vendor-supplied seds. - + Mon Oct 14 11:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * octMakefile.in (maintainer-clean distclean): Remove mkoctfile too. @@ -5534,7 +5534,7 @@ Sat Feb 3 08:53:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * configure.in: RLD_FLAG should be empty by default, but give it a - value for alpha-dec-osf* systems. + value for alpha-dec-osf* systems. Fri Feb 2 23:03:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -5615,7 +5615,7 @@ * configure.in, Makeconf.in: Use consistent names for WITH_DL, WITH_SHL, OCTAVE_LITE, and SHARED_LIBS - + * config.h.bot: Undo previous change. * acconfig.h: Add #undef for WITH_DYNAMIC_LINKING. * Makeconf.in: Substitute it here too.
--- a/ChangeLog.1 +++ b/ChangeLog.1 @@ -129,12 +129,12 @@ Fri Feb 3 15:44:03 1995 John Eaton <jwe@schoch.che.utexas.edu> * src/tree-misc.cc - (tree_parameter_list::initialize_undefined_elements): New function. + (tree_parameter_list::initialize_undefined_elements): New function. * src/tree-expr.cc (tree_function::eval): Use it to define return values. (tree_simple_assignment_expression:eval): Complain if RHS is undefined. (tree_multi_assignment_expression:eval): Complain if any of the - RHS values are undefined. + RHS values are undefined. * src/user-prefs.h (init_user_prefs): New structure element, define_all_return_values. * src/user-prefs.cc (define_all_return_values): New function. @@ -145,7 +145,7 @@ Wed Feb 1 08:02:28 1995 John Eaton <jwe@schoch.che.utexas.edu> * src/parse.y (parse_error): Call yyerror() here. - (input): Not here. + (input): Not here. * src/lex.l (handle_string): Call have_continuation and have_ellipsis_continuation with 0 arg, to disallow comments after @@ -249,7 +249,7 @@ * configure.in: Don't try to use IEEE floating point on m68k HP systems. - + Thu Jan 26 12:57:05 1995 John Eaton <jwe@schoch.che.utexas.edu> * src/lex.l (maybe_unput_comma): New function, extracted from @@ -422,7 +422,7 @@ * doc/Makefile.in (FORMATTED): Add refcard.dvi and refcard.ps so that they are distributed along with the other docs. * octMakefile.in (clean-doc-dist-tar): Delete target. - (doc-dist): Depend on doc-dist-tar, not clean-doc-dist-tar. + (doc-dist): Depend on doc-dist-tar, not clean-doc-dist-tar. Tue Jan 10 14:29:43 1995 John Eaton <jwe@schoch.che.utexas.edu> @@ -520,7 +520,7 @@ Thu Dec 15 00:28:52 1994 John Eaton <jwe@schoch.che.utexas.edu> - * src/variables.cc (install_builtin_variables) [default_save_format]: + * src/variables.cc (install_builtin_variables) [default_save_format]: Fix doc string. * configure.in: Rework DEFAULT_DOT_O_FROM_DOT_F and @@ -536,7 +536,7 @@ fcn_file_in_path here. (gobble_leading_white_space): Correctly grab only first set of comments. - + Wed Dec 14 11:42:13 1994 John Eaton <jwe@schoch.che.utexas.edu> * src/parse.y (pager_buf): Don't make it a fixed-size array. @@ -594,7 +594,7 @@ <MATRIX>{SNLCMT}*;{SNLCMT}. Check nesting level to decide whether to convert newline to semicolon. ({NL}, {CCHAR}): Check nesting level to decide whether to eat - or return newline. + or return newline. ("("): Decrement promptflag. (")"): Increment promptflag. @@ -793,7 +793,7 @@ TC_REP::print_code): Handle all_va_args. * src/tree-misc.cc (tree_argument_list::convert_to_const_vector): Handle all_va_args. - * src/tree-expr.cc (tree_index_expression::eval): After call to + * src/tree-expr.cc (tree_index_expression::eval): After call to tree_argument_list::convert_to_const_vector (), check error_state. (tree_simple_assignment_expression::eval): Likewise. (tree_function::octave_all_va_args): New function. @@ -816,7 +816,7 @@ Fri Nov 11 14:17:31 1994 John Eaton <jwe@schoch.che.utexas.edu> * src/load-save.cc (extract_keyword): Allow trailing blanks on the - input line. + input line. Thu Nov 10 09:53:35 1994 John Eaton <jwe@schoch.che.utexas.edu> @@ -1334,7 +1334,7 @@ default. (uninstall): Now no need to delete it. - * configure.in (localfcnfilepath, localoctfilepath): Change to + * configure.in (localfcnfilepath, localoctfilepath): Change to match organization of system fcn and oct files, and enable recursive searching in both. Enable recursive searching in $(octfiledir). @@ -1362,7 +1362,7 @@ * src/data.cc (Fcumprod, Fcumsum, Fprod, Fsum, Fsumsq): Do work here. * src/tc-rep.cc (TC_REP::cumprod, TC_REP::cumsum, TC_REP::prod, - TC_REP::sum, TC_REP::sumsq): Not here. Delete. + TC_REP::sum, TC_REP::sumsq): Not here. Delete. * src/tc-rep.h (TC_REP::cumprod, TC_REP::cumsum, TC_REP::prod, TC_REP::sum, TC_REP::sumsq): Delete * src/tree-const.h (tree_constant::cumprod, tree_constant::cumsum, @@ -1441,7 +1441,7 @@ (print_constant): New function. (tree_identifier::eval, tree_indirect_ref::eval): Use it. ( - + * src/tree-expr.h (tree_indirect_ref): New class for handling structure references. (tree_expression::is_indirect_ref): New virtual function. @@ -1728,9 +1728,9 @@ * scripts: Regroup function files in the following directories, each with its own Makefile.in: - image plot signal control + image plot signal control linear-algebra polynomial special-matrix general - miscellaneous set statistics + miscellaneous set statistics * src/help.cc (simple_help): Use kpathsea functions to find files in path. @@ -1796,7 +1796,7 @@ base for objects that can produce more than one value when evaluated. (tree_fvc, tree_index_expression, tree_multi_assignment_expression): - Use it as a base. + Use it as a base. * src/parse.y (make_multi_val_re): New function. (expression): Use it to construct multiple value assignments. @@ -2066,7 +2066,7 @@ unecessary functions. * src/tc-rep.cc (TC_REP::to_matrix, TC_REP::to_vector, TC_REP::to_scalar): Likewise. Change all callers to use - matrix_value, vector_value, and scalar_value instead. + matrix_value, vector_value, and scalar_value instead. * src/tree-const.cc (TC_REP::matrix_value): If at all possible, produce a matrix from the current constant. Otherwise, print an @@ -2323,7 +2323,7 @@ for initializing tree_print_code static members. * src/tree-const.cc, src/tc-rep.cc, src/tree-plot.cc, src/tree-expr.cc, src/tree-cmd.cc (all tree classes): - Provide print_code() member function. + Provide print_code() member function. * src/tree-misc.cc: Also derive list classes from tree-base.h and provide print_code() member functions. @@ -2871,7 +2871,7 @@ Wed Jul 6 09:28:28 1994 John Eaton (jwe@schoch.che.utexas.edu) - * libocsrc/tree-const.h: + * libocsrc/tree-const.h: * src/parse.y (maybe_convert_to_ans_assign, maybe_warn_assign_as_truth_value): Pass tree_expression*, not tree*. @@ -2905,7 +2905,7 @@ * src/tree-expr.h (tree_matrix): Derive from tree_expression, not tree. * src/tree-expr.h (tree_builtin, tree_function, tree_identifier): - Derive from tree_fvc, not tree. + Derive from tree_fvc, not tree. * src/tree-const.h (class tree_constant): Likewise. * src/tree-expr.h (is_identifier, is_index_expression, @@ -2929,7 +2929,7 @@ * src/tree.cc (eval (int, int)): Merge with eval (int, tree_constant*, int, int) by rearranging order of args and using - default arg values. Change all callers. + default arg values. Change all callers. Tue Jul 5 14:33:33 1994 John Eaton (jwe@schoch.che.utexas.edu) @@ -3121,7 +3121,7 @@ * src/f-svd.cc, src/f-schur.cc, src/f-qr.cc, src/f-lu.cc, src/f-hess.cc, src/f-det.cc, src/f-chol.cc, src/f-qzval.cc, - src/f-inv.cc, src/f-ifft.cc, src/f-givens.cc, src/f-fft.cc, + src/f-inv.cc, src/f-ifft.cc, src/f-givens.cc, src/f-fft.cc, src/f-balance.cc, src/f-expm.cc, src/f-fsqp.cc, src/f-syl.cc, src/xdiv.cc, src/xpow.cc, src/idx-vector.cc, src/pr-output.cc, src/unwind-prot.cc, src/file-io.cc, liboctave/Bounds.h, @@ -3211,7 +3211,7 @@ (sysdep_init): Call it. * builtins.cc (initialize_builtins): Don't compute Inf and NaN values here. - + Tue May 31 20:06:27 1994 John Eaton (jwe@schoch.che.utexas.edu) * src/variables.cc (identifier_exists): Only return 1 for @@ -3350,7 +3350,7 @@ Sun May 8 00:49:38 1994 John Eaton (jwe@schoch.che.utexas.edu) * scripts/lqe.m: Correct comment. - Transpose k before returning. + Transpose k before returning. Fri May 6 00:47:24 1994 John Eaton (jwe@schoch.che.utexas.edu) @@ -3413,7 +3413,7 @@ * src/tc-assign.cc (tree_constant_rep::do_matrix_assignment (int,tree_constant_rep::constant_type)): - Allow assignment of complex scalar too. + Allow assignment of complex scalar too. (tree_constant_rep::do_matrix_assignment (tree_constant_rep::constant_type, int)): Ditto. @@ -3514,7 +3514,7 @@ Thu Mar 3 14:42:00 1994 John Eaton (jwe@schoch.che.utexas.edu) * liboctave/DiagMatrix.cc (operator *): Provide definitions for - DiagMatrix * DiagMatrix, ComplexDiagMatrix * ComplexDiagMatrix, + DiagMatrix * DiagMatrix, ComplexDiagMatrix * ComplexDiagMatrix, ComplexDiagMatrix * DiagMatrix, and DiagMatrix * ComplexDiagMatrix. * liboctave/ColVector.cc (operator >>): Provide definitions for @@ -3532,7 +3532,7 @@ * src/tree-const.cc (tree_constant::load (istream&)): Don't skip past first type keyword if not global. - (tree_constant::load (istream&, tree_constant_rep::constant_type)): + (tree_constant::load (istream&, tree_constant_rep::constant_type)): Allocate storage for reading complex scalar. Sun Feb 20 14:17:47 1994 John Eaton (jwe@schoch.che.utexas.edu) @@ -3704,10 +3704,10 @@ upper_limit, and can_return_complex_for_real_arg to properly handle functions like acos, asin, atanh, and acosh. - * src/builins.h (struct Mapper_fcn): Rename neg_arg_complex to + * src/builins.h (struct Mapper_fcn): Rename neg_arg_complex to can_return_complex_for_real_arg. New elements, lower_limit and upper_limit. - (struct builtin mappers functions): Rename neg_arg_complex to + (struct builtin mappers functions): Rename neg_arg_complex to can_return_complex_for_real_arg. New elements, lower_limit and upper_limit. Delete elements nargin_max and nargout_max. * src/variables.cc (install_builtin_mapper_function): Handle new @@ -3844,7 +3844,7 @@ * configure.in: Check for stricmp and strnicmp too. * doc/Makefile.in: For now, don't format or try to install the - liboctave manual. + liboctave manual. Don't distribute formatted copies of liboctave manual. Mon Jan 17 01:10:54 1994 John Eaton (jwe@schoch.che.utexas.edu) @@ -3879,7 +3879,7 @@ * configure.in: Don't try to do anything special for readline on NeXT systems. - + * Makeconf.in: Define rules for making .d files here. liboctave/Makefile.in: Not here. src/Makefile.in: Or here. @@ -3992,7 +3992,7 @@ scripts/ols.m, scripts/skewness.m, scripts/cov.m, scripts/gls.m, scripts/mahalanobis.m, scripts/pinv.m: New script files from Kurt Hornik (hornik@neuro.tuwien.ac.at) and the Department of - Probability Theory and Statistics TU Wien, Austria. + Probability Theory and Statistics TU Wien, Austria. Sun Jan 9 01:11:05 1994 John Eaton (jwe@schoch.che.utexas.edu) @@ -4613,13 +4613,13 @@ Merge min changes from Bruce Tenison (btenison@eng.auburn.edu) and make the corresponding changes for max. - * src/tc-extras.cc (min (ComplexMatrix&, ComplexMatrix&)): New + * src/tc-extras.cc (min (ComplexMatrix&, ComplexMatrix&)): New function. (max (ComplexMatrix&, ComplexMatrix&)): Ditto. (column_min): Handle complex args and two return values. (column_max): Likewise. - * liboctave/Matrix.cc (row_min_loc): New function. + * liboctave/Matrix.cc (row_min_loc): New function. (row_max_loc): New function. (column_min_loc): Ditto. (column_max_loc): Ditto. @@ -7091,7 +7091,7 @@ plot.m semilogx.m semilogy.m loglog.m polar.m title.m xlabel.m ylabel.m grid.m bar.m - stairs.m mesh.m meshdom.m contour.m + stairs.m mesh.m meshdom.m contour.m * New internal plotting functions: @@ -7438,11 +7438,11 @@ context and split into two cases instead of trying to do the lookahead ourselves. - * lex.l (do_comma_insert_check): Return the value yyleng had - before yyinput() is called. - * (DO_COMMA_INSERT_CHECK): New macro. This avoids the use of - unput() in do_comma_insert_check() since there seems to be a bug - in flex when calling unput() for '\n'. + * lex.l (do_comma_insert_check): Return the value yyleng had + before yyinput() is called. + * (DO_COMMA_INSERT_CHECK): New macro. This avoids the use of + unput() in do_comma_insert_check() since there seems to be a bug + in flex when calling unput() for '\n'. Note that this change is necessary if we want to use yyless() since we cant call yyless() from outside of yylex(), because @@ -9852,8 +9852,8 @@ * utils.h utils.cc: New functions from bash for changing and printing the current working directory: - pathname_backup make_absolute - get_working_directory change_to_directory + pathname_backup make_absolute + get_working_directory change_to_directory * utils.h utils.cc (bind_string_variable): New function. (bind_protected_string_variable): Likewise.
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -30,25 +30,25 @@ 2009-12-04 Rik <octave@nomad.inbox5.com> - * interpreter/images.awk: Revert to using Ghostscript for documentation + * interpreter/images.awk: Revert to using Ghostscript for documentation pdf image creation rather than Octave. 2009-12-04 Rik <octave@nomad.inbox5.com> - * Makefile.am, interpreter/Makefile.am, liboctave/Makefile.am: remove + * Makefile.am, interpreter/Makefile.am, liboctave/Makefile.am: remove lingering configuration support for conf.texi * liboctave/Makefile.am: distribute .texi files 2009-12-04 Rik <octave@nomad.inbox5.com> * interpreter/geometryimages.m, interpreter/interpimages.m, - interpreter/sparseimages.m, interpreter/plotimages.m: + interpreter/sparseimages.m, interpreter/plotimages.m: Switch to color output for PostScript documentation images 2009-12-04 Rik <octave@nomad.inbox5.com> * interpreter/geometryimages.m, interpreter/interpimages.m, - interpreter/sparseimages.m, interpreter/plotimages.m: + interpreter/sparseimages.m, interpreter/plotimages.m: Set default paperorientation to landscape to stop warning message 2009-12-04 Ben Abbott <bpabbott@mac.com> @@ -195,7 +195,7 @@ 2009-11-11 Rik <octave@nomad.inbox5.com> - * Makefile.am: Add DISTCLEANFILES macro so that generated conf.texi can be + * Makefile.am: Add DISTCLEANFILES macro so that generated conf.texi can be cleaned by automake. 2009-11-10 John W. Eaton <jwe@octave.org> @@ -267,7 +267,7 @@ 2009-09-30 Michael D. Godfrey <godfrey@isl.stanford.edu> * interpreter/plot.txi: Document graphics structures. - + 2009-09-14 John W. Eaton <jwe@octave.org> * interpreter/optim.txi: Document pqpnonneg. @@ -306,7 +306,7 @@ * interpreter/plotimages.m: Correct errorbar plot for docs. Make hist plot reprodroducible for docs. * interpreter/interpimages.m: Correct typo in legend of interpft plot for - docs + docs 2009-06-03 Jaroslav Hajek <highegg@gmail.com> @@ -418,7 +418,7 @@ 2009-04-17 Rik <rdrider0-list@yahoo.com> * interpreter/basics.txi: Update help text for sections 2.5, 2.6, 2.7 - of basics.txi + of basics.txi 2009-04-17 Rik <rdrider0-list@yahoo.com> @@ -427,7 +427,7 @@ 2009-04-17 Rik <rdrider0-list@yahoo.com> - * interpreter/basics.txi: Update help text for sections 2.2 + * interpreter/basics.txi: Update help text for sections 2.2 and 2.3 of basics.txi. 2009-04-17 Rik <rdrider0-list@yahoo.com> @@ -444,7 +444,7 @@ 2009-03-27 Rik <rdrider0-list@yahoo.com> - * interpreter/intro.txi: Add new sample section on elementary + * interpreter/intro.txi: Add new sample section on elementary calculations. Add new example of solving systems of equations 2009-03-27 Jaroslav Hajek <highegg@gmail.com> @@ -572,8 +572,8 @@ * interpreter/func.txi: Put varargin and varargout in concept index. * interpreter/var.txi: Put ans in concept index. * interpreter/octave.texi: Don't include vr-idx.texi. - - * interpreter/var.txi: Remove sections on built-in variables. + + * interpreter/var.txi: Remove sections on built-in variables. 2009-01-20 John W. Eaton <jwe@octave.org> @@ -587,11 +587,11 @@ 2009-01-14 Thorsten Meyer <thorsten.meyier@gmx.de> * interpreter/matrix.txi: Add anchor for doc-postpad. - + 2008-12-26 Thorsten Meyer <thorsten.meyier@gmx.de> * interpreter/strings.txi: Add space to ischar example. - + 2008-12-26 Francesco Potortì <pot@gnu.org> * interpreter/matrix.txi (Rearranging Matrices): Add reference @@ -610,14 +610,14 @@ 2008-12-02 Thorsten Meyer <thorsten.meyier@gmx.de> - * interpreter/container.txi, interpreter/strings.txi: - Remove reference to str2mat.m - + * interpreter/container.txi, interpreter/strings.txi: + Remove reference to str2mat.m + 2008-11-15 Thorsten Meyer <thorsten.meyier@gmx.de> - * interpreter/strings.txi: Add text around docstrings, change - structure of the strings chapter. - + * interpreter/strings.txi: Add text around docstrings, change + structure of the strings chapter. + 2008-10-31 John W. Eaton <jwe@octave.org> * interpreter/Makefile.in ($(TEXINFO)): Depend directly on @@ -634,9 +634,9 @@ 2008-10-30 David Bateman <dbateman@free.fr> * faq/Octave-FAQ.texi: Document improved indexing and add an faq for - the compatibility of mldivide/mrdivide for singualr, under- and + the compatibility of mldivide/mrdivide for singualr, under- and over-determined matrices. - + * interpreter/plot.txi: Document contour groups. 2008-10-29 Thorsten Meyer <thorsten.meyier@gmx.de> @@ -651,12 +651,12 @@ * interpreter/munge-texi.cc (extract_docstring): Expand arguments of @seealso{} into Texinfo references. - + 2008-10-22 David Bateman <dbateman@free.fr> * interprter/plot.txi: Add documentation for error bar series. - * interprter/plot.txi: Update documentation for line series, Add + * interprter/plot.txi: Update documentation for line series, Add documetation for scatter groups, stem series and surface groups. * texinfo.tex: Import new upstream version. @@ -674,19 +674,19 @@ * interpreter/octave.texi: Reference new OOP chapter here. * interpreter/func.txi: Document private directories and function precedence here. - + 2008-10-16 Thorsten Meyer <thorsten.meyier@gmx.de> - * interpreter/contrib.txi: added recommendation of limited - line width in code examples - + * interpreter/contrib.txi: added recommendation of limited + line width in code examples + 2008-10-03 Thorsten Meyer <thorsten.meyier@gmx.de> * interpreter/contrib.txi: added example for mercurial queues 08-10-03 Thorsten Meyer <thorsten.meyier@gmx.de> - * interpreter/contrib.txi: correction of the mercurial example - * interpreter/container.txi: minor correction of the text + * interpreter/contrib.txi: correction of the mercurial example + * interpreter/container.txi: minor correction of the text 2008-09-25 S�ren Hauberg <hauberg@gmail.com> @@ -737,7 +737,7 @@ 2008-08-21 David Bateman <dbateman@free.fr> * interpreter/plot.txi: Document ezplot. - + 2008-08-19 David Bateman <dbateman@free.fr> * interpreter/numbers.txi: Document intwarning. @@ -812,7 +812,7 @@ 2008-03-25 David Bateman <dbateman@free.fr> * interpreter/strings.txi: Document hex2num, num2hex. - + 2008-03-21 David Bateman <dbateman@free.fr> * interpreter/sparse.txi: Document amd function. @@ -844,10 +844,10 @@ spinv and splu. 2008-02-20 David Bateman <dbateman@free.fr> - + * interpreter/sparse.txi: Remove references to spmin, spmax, spatan2, spfind, spqr and spdet. - + 2008-02-19 Carlo de Falco <kingcrimson@tiscali.it> * interpreter/package.txi: Improve INDEX file documentation. @@ -860,7 +860,7 @@ 2008-02-08 Rafael Laboissiere <rafael@debian.org> * interpreter/octave.1: Dropped unknow LO macro - * interpreter/octave-bug.1: Likewise + * interpreter/octave-bug.1: Likewise 2008-02-07 David Bateman <dbateman@free.fr> @@ -987,7 +987,7 @@ interpreter/numbers.txi, interpreter/plot.txi, interpreter/poly.txi, interpreter/set.txi, interpreter/sparse.txi, interpreter/stmt.txi, interpreter/strings.txi, - interpreter/testfun.txi, interpreter/tips.txi: Spelling fixes. + interpreter/testfun.txi, interpreter/tips.txi: Spelling fixes. 2007-10-06 John W. Eaton <jwe@octave.org> @@ -1005,18 +1005,18 @@ 2007-09-05 David Bateman <dbateman@free.fr> - * interpreter/system.m: Document gzip. - * interpreter/container.txi: Document celldisp. - * interpreter/matrix.txi: Document bsxfun. - * interpreter/data.txi: Document typecast and swapbytes. - * interpreter/container.txi: Document struct2cell. - * interpreter/stats.txi: Document mode. - * interpreter/eval.txi: Document run. + * interpreter/system.m: Document gzip. + * interpreter/container.txi: Document celldisp. + * interpreter/matrix.txi: Document bsxfun. + * interpreter/data.txi: Document typecast and swapbytes. + * interpreter/container.txi: Document struct2cell. + * interpreter/stats.txi: Document mode. + * interpreter/eval.txi: Document run. 2007-09-01 David Bateman <dbateman@free.fr> * interpreter/Makefile.in: Remove stray character from - INTERIMAGES_PNG target. + INTERIMAGES_PNG target. * conf.texi.in: Substitute for the variable TEXINFO_QHULL * interpreter/geometryimages.m: Check for the HAVE_QHULL build flag before creating certain figures. @@ -1025,10 +1025,10 @@ 2007-08-31 S�ren Hauberg <hauberg@gmail.com> - * interpreter/nonlin.txi: Extended the example. - - * interpreter/poly.txi: Sectioning and documentation. - * interpreter/octave.texi: Adapt to changes in poly.txi. + * interpreter/nonlin.txi: Extended the example. + + * interpreter/poly.txi: Sectioning and documentation. + * interpreter/octave.texi: Adapt to changes in poly.txi. 2007-08-30 David Bateman <dbateman@free.fr> @@ -1048,8 +1048,8 @@ 2007-08-25 David Bateman <dbateman@free.fr> - * interpreter/geometry.txi: Add examples and explanatory text. - * interpreter/octave.texi: Update indexing of geometry functions. + * interpreter/geometry.txi: Add examples and explanatory text. + * interpreter/octave.texi: Update indexing of geometry functions. * interpreter/geometryimage.m: New script to create images for geometry chapter. * interpreter/Makefile.in (SCRIPT_SORCES): add geometryimages.m @@ -1058,8 +1058,8 @@ 2007-08-24 David Bateman <dbateman@free.fr> - * interpreter/geometry.txi: Document new functions. - * interpreter/octave.texi: Update indexing of geometry items. + * interpreter/geometry.txi: Document new functions. + * interpreter/octave.texi: Update indexing of geometry items. 2007-07-25 John W. Eaton <jwe@octave.org> @@ -1067,8 +1067,8 @@ 2007-07-25 David Bateman <dbateman@free.fr> - * Makefile.in, faq/Makefile.in, interpreter/Makwfile.in, - liboctave/Makefile.in, refcard/Makefile.in: Adjust DISTFILES + * Makefile.in, faq/Makefile.in, interpreter/Makwfile.in, + liboctave/Makefile.in, refcard/Makefile.in: Adjust DISTFILES to allow out of tree "make dist" to work. 2007-07-23 David Bateman <dbateman@free.fr> @@ -1079,9 +1079,9 @@ peaks and meshc. * interpreter/octave.texi: Add test plotting section. * interpreter/image.txi: Document the functions autumn, bone, - cool, copper, hot, hsv, jet, pink, prism, rainbow, spring, + cool, copper, hot, hsv, jet, pink, prism, rainbow, spring, summer, white and winter. - + 2007-07-19 David Bateman <dbateman@free.fr> * interpreter/bit.xi: Remove. @@ -1091,7 +1091,7 @@ 2007-07-06 David Bateman <dbateman@free.fr> - * interpreter/arith.txi: Add accumarray. + * interpreter/arith.txi: Add accumarray. 2007-06-25 John W. Eaton <jwe@octave.org> @@ -1105,14 +1105,14 @@ the continuity of the second derivative of splines. * interpreter/interp.txi: Also change figures here. * interpreter/Makefile.in: and here. - + 2007-06-18 S�ren Hauberg <hauberg@gmail.com> - * interpreter/optim.txi: Added some introductory text to each + * interpreter/optim.txi: Added some introductory text to each section. - * interpreter/set.txi: Added some introductory text. - * interpreter/octave.texi: Updated to reflect changes in set.txi. + * interpreter/set.txi: Added some introductory text. + * interpreter/octave.texi: Updated to reflect changes in set.txi. 2007-06-15 David Bateman <dbateman@free.fr> @@ -1154,13 +1154,13 @@ 2007-06-12 2007-06-10 S�ren Hauberg <hauberg@gmail.com> - * interpreter/diffeq.txi: Note that x-dot is the derivative of x. + * interpreter/diffeq.txi: Note that x-dot is the derivative of x. 2007-06-03 David Bateman <dbatemna@free.fr> * interpreter/dynamic.txi: Use "mwSize" and "mwIndex" rather than "int" for indexing in mex-files and document them. - + 2007-05-30 John W. Eaton <jwe@octave.org> * interpreter/Makefile.in (TEXI2DVICOMMAND, TEXI2PDFCOMMAND): @@ -1182,16 +1182,16 @@ 2007-05-28 S�ren Hauberg <hauberg@gmail.com> - * interpreter/errors.txi: Add new sections and some more detailed + * interpreter/errors.txi: Add new sections and some more detailed descriptions on errors and warnings. - * interpreter/octave.texi, interpreter/stmt.txi, + * interpreter/octave.texi, interpreter/stmt.txi, interpreter/var.txi: Add references to the new sections in errors.txi. 2007-05-28 S�ren Hauberg <hauberg@gmail.com> - * interpreter/io.txi: Rearrange some sections, and add - a few examples. + * interpreter/io.txi: Rearrange some sections, and add + a few examples. 2007-05-28 G. D. McBain <geordie_mcbain@yahoo.com.au> @@ -1224,19 +1224,19 @@ 2007-05-21 S�ren Hauberg <hauberg@gmail.com> - * interpreter/expr.txi: Describe +=, -=, *=, and /= operators. + * interpreter/expr.txi: Describe +=, -=, *=, and /= operators. Add new example. - * interpreter/eval.txi: Partition the chapter into sections. - Describe evalin and assignin functions using text from Paul + * interpreter/eval.txi: Partition the chapter into sections. + Describe evalin and assignin functions using text from Paul Kienzle. Change "See See" to "See". Use @ref instead of @xref to avoid "See" to be written with a capital letter in the middle of a sentence. - * interpreter/func.txi: New section describing load path. - Improve 'inline' and 'command' sections. - - * interpreter/stmt.txi: Describe cell array cases for the switch + * interpreter/func.txi: New section describing load path. + Improve 'inline' and 'command' sections. + + * interpreter/stmt.txi: Describe cell array cases for the switch statement. Minor layout changes. 2007-05-19 David Bateman <dbatemna@free.fr> @@ -1521,7 +1521,7 @@ * interpreter/images/sparseimages.m: Adapt to new automatic_replot definition. - + 2006-06-27 John W. Eaton <jwe@octave.org> * interpreter/Makefile.in: Elminate double-colon rules. @@ -1540,7 +1540,7 @@ 2006-04-03 David Bateman <dbateman@free.fr> * interpreter/matrix.txi: Add rande, randp, randg and update - for different random generator behavior. + for different random generator behavior. 2006-03-28 John W. Eaton <jwe@octave.org> @@ -1607,7 +1607,7 @@ * interpreter/images/sparseimages.m: set terminal type to dummy to direct output to terminal rather than X11. * interpreter/sparse.txi: Update docs for new QR solvers. - + 2006-03-09 David Bateman <dbateman@free.fr> * interpreter/Makefile.in: Change order of commands in HTML/index.html @@ -1849,7 +1849,7 @@ 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> * interpreter/mkoctfile.1: New file. - + 2002-10-25 Paul Kienzle <pkienzle@users.sf.net> * interpreter/Makefile.in (octave_toc.html): Use -expandinfo and
--- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -92,7 +92,7 @@ 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> - * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. + * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. 2009-03-07 John W. Eaton <jwe@octave.org> @@ -123,8 +123,8 @@ 2008-12-21 Jaroslav Hajek <highegg@gmail.com> - * lapack/chegs2.f lapack/chegst.f lapack/chegv.f lapack/dsygs2.f - lapack/dsygst.f lapack/dsygv.f lapack/ssygs2.f lapack/ssygst.f + * lapack/chegs2.f lapack/chegst.f lapack/chegv.f lapack/dsygs2.f + lapack/dsygst.f lapack/dsygv.f lapack/ssygs2.f lapack/ssygst.f lapack/ssygv.f lapack/zhegs2.f lapack/zhegst.f lapack/zhegv.f: New sources. * lapack/Makefile.in: Include them. @@ -145,7 +145,7 @@ * lapack/icmax1.f: New file. * lapack/Makefile.in (FSRC): Add it to the list. - + 2008-06-16 David Bateman <dbateman@free.fr> * slatec-fn/xacosh.f, slatec-fn/xasinh.f: Replace xsacosh with @@ -187,10 +187,10 @@ 2008-05-20 Jaroslav Hajek <highegg@gmail.com> - * qrupdate/cch1dn.f, qrupdate/cchinx.f, qrupdate/cqhqr.f, - qrupdate/cqrinc.f, qrupdate/cqrinr.f, qrupdate/cqrqhu.f, - qrupdate/cqrqhv.f, qrupdate/sch1dn.f, qrupdate/schinx.f, - qrupdate/sqhqr.f, qrupdate/sqrinc.f, qrupdate/sqrinr.f, + * qrupdate/cch1dn.f, qrupdate/cchinx.f, qrupdate/cqhqr.f, + qrupdate/cqrinc.f, qrupdate/cqrinr.f, qrupdate/cqrqhu.f, + qrupdate/cqrqhv.f, qrupdate/sch1dn.f, qrupdate/schinx.f, + qrupdate/sqhqr.f, qrupdate/sqrinc.f, qrupdate/sqrinr.f, qrupdate/sqrqhu.f: Convert DOUBLE PRECISION constants to REAL. * qrupdate/cqrinr.f, qrupdate/sqrinr.f: Correct EXTERNAL declarations. @@ -371,7 +371,7 @@ slatec-fn/xasinh.f, slatec-fn/xatanh.f, slatec-fn/xbetai.f, slatec-fn/xerf.f, slatec-fn/xerfc.f, slatec-fn/xgamma.f, slatec-fn/xsgmainc.f: New files. - * slatec-fn/Makefile.in (FSRC): Add them. + * slatec-fn/Makefile.in (FSRC): Add them. 2008-04-20 Jaroslav Hajek <highegg@gmail.com> @@ -427,7 +427,7 @@ 2008-03-04 Jaroslav Hajek <highegg@gmail.com> - * qrupdate/dch1dn.f, qrupdate/dch1up.f, + * qrupdate/dch1dn.f, qrupdate/dch1up.f, qrupdate/zch1dn.f, qrupdate/zch1up.f: New files. * qrupdate/Makefile.in (FSRC): Add them to the list. @@ -488,11 +488,11 @@ 2007-10-26 David Bateman <dbateman@free.fr> * lapack/dgelsd.f, lapack/dlalsd.f, lapack/dlalsa.f, - lapack/dlasda.f, lapack/dlasdt.f, lapack/dlasdq.f - lapack/dlamrg.f, lapack/dlasd0.f, lapack/dlasd1.f, - lapack/dlasd2.f, lapack/dlasd3.f, lapack/dlasd4.f, - lapack/dlasd5.f, lapack/dlasd6.f, lapack/dlasd7.f, - lapack/dlasd8.f, lapack/dlaed6.f, lapack/zgelsd.f, + lapack/dlasda.f, lapack/dlasdt.f, lapack/dlasdq.f + lapack/dlamrg.f, lapack/dlasd0.f, lapack/dlasd1.f, + lapack/dlasd2.f, lapack/dlasd3.f, lapack/dlasd4.f, + lapack/dlasd5.f, lapack/dlasd6.f, lapack/dlasd7.f, + lapack/dlasd8.f, lapack/dlaed6.f, lapack/zgelsd.f, lapack/zlalsd.f , lapack/zlalsa.f, lapack/zlals0.f: New files. * lapack/Makefile.in (FSRC): Include them here. @@ -529,14 +529,14 @@ lapack/dlaqp2.f, lapack/zgeqp3.f, lapack/ztzrzf.f, lapack/dlaqps.f, lapack/zlaic1.f, lapack/zunmr3.f, lapack/dlarzb.f, lapack/zlaqp2.f, lapack/zunmrz.f, - lapack/dlarz.f, lapack/zlaqps.f, lapack/dlarzt.f, + lapack/dlarz.f, lapack/zlaqps.f, lapack/dlarzt.f, lapack/zlarzb.f: New files * lapack/Makefile.in (FSRC): Add the new files. 2007-07-25 David Bateman <dbateman@free.fr> * Makefile.in, Makerules.in, fftpack/Makefile.in, - randlib/Makefile.in: Adjust DISTFILES to allow out of tree "make dist" + randlib/Makefile.in: Adjust DISTFILES to allow out of tree "make dist" to work. 2007-04-23 John W. Eaton <jwe@octave.org> @@ -660,7 +660,7 @@ octave_throw_interrupt_exception, octave_throw_bad_alloc, octave_signal_hook, octave_interrupt_hook, octave_bad_alloc_hook): Likewise. - + 2006-10-26 John W. Eaton <jwe@octave.org> * Makefile.in ($(CRUFT_DEFS)): Depend on $(SUBDIRS). @@ -719,7 +719,7 @@ 2006-05-03 David Bateman <dbateman@free.fr> - * lapack/dpocon.f, lapack/zpocon.f, lapack/dpotrs.f, + * lapack/dpocon.f, lapack/zpocon.f, lapack/dpotrs.f, lapack/zpotrs.f, lapack/dtrcon.f, lapack/ztrcon.f, lapack/dtrtrs.f, lapack/ztrtrs.f: New files. @@ -783,7 +783,7 @@ (win32_sigint_init): Initialize win32 signalling. * quit.h (win32_sigint_init, win32_raise_final, win32_raise, win32_in_main_thread): Declaration. - + 2005-09-14 Daniel <durbano@shbano.com> * lapack/zbdsqr.f: Fix typo in docs. @@ -828,10 +828,10 @@ 2005-01-23 David Bateman <dbateman@free.fr> - * lapack/dgtsv.f lapack/dpbcon.f lapack/dpbtf2.f lapack/dpbtrf.f - lapack/dpbtrs.f lapack/dptsv.f lapack/dpttrf.f lapack/dpttrs.f - lapack/dptts2.f lapack/zgtsv.f lapack/zpbcon.f lapack/zpbtf2.f - lapack/zpbtrf.f lapack/zpbtrs.f lapack/zptsv.f lapack/zpttrf.f + * lapack/dgtsv.f lapack/dpbcon.f lapack/dpbtf2.f lapack/dpbtrf.f + lapack/dpbtrs.f lapack/dptsv.f lapack/dpttrf.f lapack/dpttrs.f + lapack/dptts2.f lapack/zgtsv.f lapack/zpbcon.f lapack/zpbtf2.f + lapack/zpbtrf.f lapack/zpbtrs.f lapack/zptsv.f lapack/zpttrf.f lapack/zpttrs.f lapck/zptts2.f: New files. 2004-12-29 John W. Eaton <jwe@octave.org> @@ -850,7 +850,7 @@ (OCTAVE_QUIT): Check octave_signal_caught, not octave_interrupt_state, and call octave_handle_signal, not octave_throw_interrupt_exception. - + 2005-02-08 John W. Eaton <jwe@octave.org> * misc/quit.h: Use C-style comments. @@ -1039,7 +1039,7 @@ * misc/quit.h, misc/quit.cc [! USE_EXCEPTIONS_FOR_INTERRUPTS]): Always use exceptions for handling interrupts. - (BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE): + (BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE): * misc/quit.h (OCTAVE_TRY_WITH_INTERRUPTS, OCTAVE_THROW_BAD_ALLOC, OCTAVE_CATCH_INTERRUPTS, SAVE_OCTAVE_INTERRUPT_IMMEDIATELY, @@ -1066,7 +1066,7 @@ New macros. * misc/quit.cc (octave_jump_to_enclosing_context): Use siglongjmp - if we have it. + if we have it. (octave_save_current_context, octave_restore_current_context): Use octave_jmp_buf type here. @@ -1226,7 +1226,7 @@ 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> - * Makefile.in (CRUFT_DIRS): Substitute @FFT_DIR@. + * Makefile.in (CRUFT_DIRS): Substitute @FFT_DIR@. 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -1277,7 +1277,7 @@ 2000-03-25 John W. Eaton <jwe@bevo.che.wisc.edu> - * Makefile.in (LIBRARIES): Conditionally define. + * Makefile.in (LIBRARIES): Conditionally define. (libraries): Depend on $(SUBDIRS) only. Make $(LIBRARIES) using a recursive invocation of make once $(SUBDIRS) are up to date. @@ -1454,7 +1454,7 @@ Wed May 21 16:29:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> * misc/Makefile.in (install): Ensure include directory link is made. - (uninstall): Delete all installed files. + (uninstall): Delete all installed files. Thu Mar 13 22:31:35 1997 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -1599,7 +1599,7 @@ New files. * Makefile.in (install): Use INSTALL_PROGRAM for shared version of - libcruft. + libcruft. Sun Nov 3 19:37:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -1695,7 +1695,7 @@ * Makefile.in: Delete references to configure stuff. * configure.in, mkinstalldirs: Delete. - + Sun Dec 24 02:42:29 1995 John W. Eaton <jwe@bevo.che.wisc.edu> * linpack/spofa.f: New file.
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -73,7 +73,7 @@ * dim-vector.h (dim_vector::zero_by_zero): New method. * idx-vector.h (idx_vector::idx_mask_rep::is_colon_equiv): Fix. - * Array.cc (Array<T>::assign): Minor tweaks. Optimize + * Array.cc (Array<T>::assign): Minor tweaks. Optimize A = []; A(1:m,1:n,1:k) = X for all cases. Use a shallow copy for all colon-equivalent indices. @@ -140,7 +140,7 @@ 2009-11-18 Jaroslav Hajek <highegg@gmail.com> - * Sparse.h (read_sparse_matrix): Fix order of tests and reads. + * Sparse.h (read_sparse_matrix): Fix order of tests and reads. 2009-11-18 Jaroslav Hajek <highegg@gmail.com> @@ -168,10 +168,10 @@ 2009-11-13 Jaroslav Hajek <highegg@gmail.com> - * CNDArray.cc (ComplexNDArray::all_elements_are_real): + * CNDArray.cc (ComplexNDArray::all_elements_are_real): Use mx_inline_all_real. * CMatrix.cc (ComplexMatrix::all_elements_are_real): Ditto. - * fCNDArray.cc (FloatComplexNDArray::all_elements_are_real): + * fCNDArray.cc (FloatComplexNDArray::all_elements_are_real): Use mx_inline_all_real. * fCMatrix.cc (FloatComplexMatrix::all_elements_are_real): Ditto. * CDiagMatrix.cc (ComplexDiagMatrix::all_elements_are_real): Ditto. @@ -346,8 +346,8 @@ const Matrix&, bool), SparseLU::SparseLU (const SparseMatrix&, const ColumnVector&, const Matrix&, boo, bool, double, bool, bool)): Fix test for valid pivot tolerance. - * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU - (const SparseComplexMatrix&, const Matrix&, bool), + * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU + (const SparseComplexMatrix&, const Matrix&, bool), SparseComplexLU::SparseComplexLU (const SparseComplexMatrix&, const ColumnVector&, const Matrix&, boo, bool, double, bool, bool)): Ditto. @@ -427,7 +427,7 @@ 2009-10-16 Jaroslav Hajek <highegg@gmail.com> - * ArrayN.h: Remove everything, just #define ArrayN Array. + * ArrayN.h: Remove everything, just #define ArrayN Array. Warn if under gcc. * ArrayN.cc: Remove. * Array.cc (operator >>): New operator. @@ -657,7 +657,7 @@ * boolNDArray.h (boolNDArray::matrix_type): New typedef. * charNDArray.h (charNDArray::matrix_type): New typedef. - * dMatrix.h (Matrix::column_vector_type, + * dMatrix.h (Matrix::column_vector_type, Matrix::row_vector_type): New typedefs. * fMatrix.h (FloatMatrix::column_vector_type, FloatMatrix::row_vector_type): New typedefs. @@ -919,9 +919,9 @@ * fCNDArray.cc: Ditto. * fMatrix.cc: Ditto. * fNDArray.cc: Ditto. - + 2009-08-20 Jaroslav Hajek <highegg@gmail.com> - + * dMatrix.cc (Matrix::operator!): Simplify & check for NaNs. * fMatrix.cc (FloatMatrix::operator!): Ditto. * CMatrix.cc (ComplexMatrix::operator!): Ditto. @@ -937,7 +937,7 @@ mx_inline_div, mx_inline_uminus, mx_inline_not, mx_inline_add2, mx_inline_sub2, mx_inline_mul2, mx_inline_div2, mx_inline_iszero, mx_inline_notzero, mx_inline_and, mx_inline_or, mx_inline_not_and, - mx_inline_not_or, mx_inline_and_not, mx_inline_or_not, + mx_inline_not_or, mx_inline_and_not, mx_inline_or_not, mx_inline_lt, mx_inline_le, mx_inline_gt, mx_inline_ge, mx_inline_eq, mx_inline_ne): New templates. (do_mx_unary_op, do_mm_binary_op, do_sm_binary_op, @@ -1338,7 +1338,7 @@ 2009-05-21 Jaroslav Hajek <highegg@gmail.com> - * CMatrix.cc + * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any, ComplexMatrix::cumprod, ComplexMatrix::cumsum, ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use explicit template qualifications @@ -1394,7 +1394,7 @@ * Makefile.in: Include it. 2009-05-15 Jaroslav Hajek <highegg@gmail.com> - + * Array.cc (Array<T>::instantiation_guard): New function (INSTANTIATE_ARRAY): Always override it here. * Array.h: Declare it. @@ -1411,7 +1411,7 @@ 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> - * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. + * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. 2009-05-05 Robert T. Short <octave@phaselockedsystems.com> @@ -1488,7 +1488,7 @@ Sparse-perm-op-defs.h to the list. 2009-03-25 Jaroslav Hajek <highegg@gmail.com> - + * oct-inttypes.cc (INT_DOUBLE_BINOP_DECL (*, uint64), INT_DOUBLE_BINOP_DECL (*, int64)): x -> y where appropriate. @@ -1514,7 +1514,7 @@ * fCDiagMatrix.cc: Ditto. 2009-03-20 Jaroslav Hajek <highegg@gmail.com> - + * CColVector.cc, CMatrix.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, boolSparse.cc, dColVector.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, dSparse.cc, fCColVector.cc, fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, @@ -1656,7 +1656,7 @@ Ditto. * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): Ditto. - * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray + * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray (const charNDArray&)): Ditto. * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. @@ -1664,7 +1664,7 @@ Ditto. * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): Ditto. - * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray + * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray (const charNDArray&)): Ditto. * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned @@ -1672,7 +1672,7 @@ * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. - * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix + * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const charMatrix&)): Likewise. 2009-03-10 Jason Riedy <jason@acm.org> @@ -1754,7 +1754,7 @@ * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New constructor. (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. - * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): + * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): Fix implementation. 2009-03-04 Jaroslav Hajek <highegg@gmail.com> @@ -1785,7 +1785,7 @@ (octave_int_cmp_op::emulate_mop): New static overloaded template member function. * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into - defs for octave_int_cmp_op::emulate_mop. + defs for octave_int_cmp_op::emulate_mop. (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate octave_int_cmp_op::emulate_op instead. @@ -1805,7 +1805,7 @@ * oct-sort.h (octave_sort<T>::MergeState::MergeState): New constructor. (octave_sort<T>::MergeState::~MergeState): New destructor. - (octave_sort<T>::MergeState::reset, + (octave_sort<T>::MergeState::reset, octave_sort<T>::MergeState::getmem, octave_sort<T>::MergeState::getmemi): New methods. (octave_sort<T>::sort, @@ -1948,7 +1948,7 @@ const idx_vector& j,...)): Fix invalid dimension inquiry. 2009-02-16 Jaroslav Hajek <highegg@gmail.com> - + * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. (mx_inline_any, mx_inline_all): Override row-reduction case. (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, @@ -1958,7 +1958,7 @@ Remove unused macros. 2009-02-16 Jaroslav Hajek <highegg@gmail.com> - + * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. (mx_inline_count): New overloaded template function. * boolNDArray.h (boolNDArray::sum): Return NDArray. @@ -2072,7 +2072,7 @@ * oct-sort.h (compare_fcn_type): Ditto. * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, - octave_sort<T>::set_compare, octave_sort<T>::compare): + octave_sort<T>::set_compare, octave_sort<T>::compare): Use typedef to simplify decl. (octave_sort<T>::ascending_compare, octave_sort<T>::descending_compare): @@ -2104,11 +2104,11 @@ * Array.h: Reflect changes. * dim-vector.h (dim_vector::is_vector): New method. - * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for + * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for NaN in default comparators. Provide NaN-safe comparators, override _sortrows_comparator. * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override - _sortrows_comparator. + _sortrows_comparator. * Range.cc (Range::is_sorted): New method. * Range.h: Declare it. @@ -2134,7 +2134,7 @@ From Rafael Laboissiere <rafael@debian.org>. 2009-02-05 Jaroslav Hajek <highegg@gmail.com> - + * idx-vector.h (idx_vector::idx_colon_rep, idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, idx_vector::idx_vector_rep): Declare allocators. @@ -2168,7 +2168,7 @@ allocation for pointers and const pointers. 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> - + * Makefile.in: Add missing library reference. 2009-02-03 Jaroslav Hajek <highegg@gmail.com> @@ -2384,7 +2384,7 @@ CHOL::shift_sym): Reflect changes in qrupdate interfaces, * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, - FloatComplexCHOL::insert_sym): Update interfaces. + FloatComplexCHOL::insert_sym): Update interfaces. * fCmplxCHOL.cc: Update external decls for qrupdate routines. (FloatComplexCHOL::update, FloatComplexCHOL::downdate, FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, @@ -2410,7 +2410,7 @@ From Robert Millan <rmh@aybabtu.com>. 2009-01-14 Jaroslav Hajek <highegg@gmail.com> - + * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. * Array.cc (Array<T>::make_unique): Move implementation here. (Array<T>::fill): Ditto. @@ -2462,9 +2462,9 @@ 2008-12-12 David Bateman <dbateman@free.fr> - * sparse-base-chol.cc (inverse): Fix inversion based on cholesky + * sparse-base-chol.cc (inverse): Fix inversion based on cholesky factorization. - + 2008-12-12 Jaroslav Hajek <highegg@gmail.com> * oct-locbuf.cc: New source. @@ -2493,7 +2493,7 @@ 2008-12-08 Jaroslav Hajek <highegg@gmail.com> - * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const + * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const Sparse<bool>&)): New constructor. * idx_vector.h: Declare it. (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. @@ -2503,7 +2503,7 @@ 2008-12-09 David Bateman <dbateman@free.fr> * Makefile.in (INCLUDES): Add oct-locbuf.h - + 2008-12-07 Jaroslav Hajek <highegg@gmail.com> * mx-inlines.cc (mx_inline_fill_vs): New template function. @@ -2546,9 +2546,9 @@ (PermMatrix::dim1, dim2, rows, columns, cols, length, nelem, numel, byte_size, dims): New methods. - + 2008-12-04 Jaroslav Hajek <highegg@gmail.com> - + * dDiagMatrix.cc (DiagMatrix::determinant, DiagMatrix::rcond): New method. * dDiagMatrix.h: Declare them. @@ -2627,7 +2627,7 @@ (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): New functions. - + * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template constructor. (ComplexDiagMatrix::abs): New method decl. @@ -2657,52 +2657,52 @@ * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare it. - * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): + * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): New constructor. - * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): + * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): Declare it. * mx-op-defs.h (DMM_MULTIPLY_OP, MDM_MULTIPLY_OP): Optimize. 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> - * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, + * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, bool calc_eigenvectors = true)): New constructor. - (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, + (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, bool calc_eigenvectors = true)): New constructor. - (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, + (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, bool calc_eigenvectors = true)): New constructor. - (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, - octave_idx_type& info, bool calc_eigenvectors = true)): New + (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, + octave_idx_type& info, bool calc_eigenvectors = true)): New constructor. - * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, + * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, bool calc_eigenvectors)): New function. - (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, + (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, bool calc_eigenvectors)): New function. - (EIG::symmetric_init (const Matrix& a, const Matrix& b, + (EIG::symmetric_init (const Matrix& a, const Matrix& b, bool calc_eigenvectors)): New function. - (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, + (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, bool calc_eigenvectors)): New function. - * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, + * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, bool calc_eigenvectors = true)): New constructor. - (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, - octave_idx_type& info, bool calc_eigenvectors = true)): New + (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, + octave_idx_type& info, bool calc_eigenvectors = true)): New constructor. - (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, - bool calc_eigenvectors = true)): New constructor. - (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, - octave_idx_type& info, bool calc_eigenvectors = true)): New + (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, + bool calc_eigenvectors = true)): New constructor. + (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, + octave_idx_type& info, bool calc_eigenvectors = true)): New constructor. - (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, + (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, bool calc_eigenvectors)): New function. - (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, + (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. - (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, + (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, bool calc_eigenvectors)): New function. - (fEIG::hermitian_init (const FloatComplexMatrix& a, + (fEIG::hermitian_init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. 2008-11-19 Jaroslav Hajek <highegg@gmail.com> - + * dMatrix.cc (Matrix::determinant), fMatrix.cc (FloatMatrix::determinant), CMatrix.cc (ComplexMatrix::determinant), @@ -2737,8 +2737,8 @@ 2008-11-18 David Bateman <dbateman@free.fr> - * file-ops.cc (std::string file_ops::tilde_expand (const - std::string&)): Check if the string contains a tilde and fast + * file-ops.cc (std::string file_ops::tilde_expand (const + std::string&)): Check if the string contains a tilde and fast return if not. 2008-11-17 John W. Eaton <jwe@octave.org> @@ -2777,7 +2777,7 @@ 2008-11-09 Jaroslav Hajek <highegg@gmail.com> - * oct-norm.cc: Don't include Array.cc. + * oct-norm.cc: Don't include Array.cc. (column_norms (const MArray2<T>&, ...)): Use std::vector instead of Array<T> for accumulator containers. Use empty constructor instead of Array<T>::resize. @@ -2795,10 +2795,10 @@ * dSparse.cc (SparseMatrix::row, SparseMatrix::column): New member functions. * dSparse.h (SparseMatrix): Declare them. - * MArray-C.cc (MArray<Complex>::norm), - MArray-d.cc (MArray<double>::norm), - MArray-fC.cc (MArray<FloatComplex>::norm), - MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. + * MArray-C.cc (MArray<Complex>::norm), + MArray-d.cc (MArray<double>::norm), + MArray-fC.cc (MArray<FloatComplex>::norm), + MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. * MArray-defs.h (MARRAY_NORM_BODY): Remove. @@ -2912,11 +2912,11 @@ 2008-10-07 Jaroslav Hajek <highegg@gmail.com> - * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to + * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to octave_uint64 where appropriate. 2008-10-06 David Bateman <dbateman@free.fr> - + * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar sparse arguments rather than rely on extern function. @@ -2927,11 +2927,11 @@ 2008-10-01 Jaroslav Hajek <highegg@gmail.com> * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare - constants. + constants. * oct-inttypes.cc: Define them. * oct-inttypes.h: Define mixed operations via long double if possible. * oct-inttypes.cc: Define alternative implementations for 64-bit - multiplication and mixed operations. + multiplication and mixed operations. * mx-ops: Instantiate all 64-bit integer operations. 2008-10-06 Jaroslav Hajek <highegg@gmail.com> @@ -2959,7 +2959,7 @@ 2008-09-30 Jaroslav Hajek <highegg@gmail.com> - * oct-inttypes.h: Mostly rewrite. + * oct-inttypes.h: Mostly rewrite. * oct-inttypes.cc: Modstly rewrite. 2008-09-29 Jaroslav Hajek <highegg@gmail.com> @@ -2982,8 +2982,8 @@ initializations for each generator to avoid correlation. 2008-09-12 Jaroslav Hajek <highegg@gmail.com> - - * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): + + * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): 2008-09-19 John W. Eaton <jwe@octave.org> @@ -3004,7 +3004,7 @@ 2008-09-12 Jaroslav Hajek <highegg@gmail.com> - * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): + * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): Handle negative exponent correctly. 2008-08-19 David Bateman <dbateman@free.fr> @@ -3124,10 +3124,10 @@ detect old NA value. (double __lo_ieee_replace_old_NA (double)): Function to replace old NA value with new new. - * data-conv.cc (void read_doubles(std::istream&, double *, + * data-conv.cc (void read_doubles(std::istream&, double *, save_type, int, bool, octave_mach_info::float_format)): Test if loaded NA values is the old representation and replace it. - + 2008-07-28 Jaroslav Hajek <highegg@gmail.com> * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. @@ -3282,7 +3282,7 @@ * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. * floatLU.cc (class FloatLU): ditto. * floatLU.h (class FloatLU): ditto. - + * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const FloatMatrix&, const std::string&)): Use FloatMatrix to initialize balancing_mat. @@ -3320,7 +3320,7 @@ * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. - Correct indenting. + Correct indenting. (SPARSE_FULL_TRANS_MUL): New macro. (FULL_SPARSE_MUL): Simplify scalar*matrix case. Correct indenting. Move OCTAVE_QUIT one level up. @@ -3384,9 +3384,9 @@ (FloatGEPBALANCE): Declare them. * Makefile.in (MATRIX_INC): Include them here. (MATRIX_SRC): and here. - + * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc - (FloatComplexAEPBALANCE): New classes for single precision + (FloatComplexAEPBALANCE): New classes for single precision Algebraic eignvalue balancing. * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h (FloatComplexAEPBALANCE): Declare them. @@ -3418,7 +3418,7 @@ ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. - + 2008-05-20 David Bateman <dbateman@free.fr> * Array.cc (Array<T> Array<T>::transpose () const): Modify for tiled @@ -3431,7 +3431,7 @@ Specialization for diagonal arrays. (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): Ditto. - + * MArray.h (MArray<T> hermitian <T (*) (const&)) const): New method. (MArray<T> transpose () const): Ditto. * MArray2.h (MArray2<T> hermitian <T (*) (const&)) const): Ditto. @@ -3470,7 +3470,7 @@ * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): Declare them. - + * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc (FloatGEPBALANCE): New class for generalized eigenvalue balancing. @@ -3479,9 +3479,9 @@ (FloatGEPBALANCE): Declare them. * Makefile.in (MATRIX_INC): Include them here. (MATRIX_SRC): and here. - + * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc - (FloatComplexAEPBALANCE): New classes for single precision + (FloatComplexAEPBALANCE): New classes for single precision Algebraic eignvalue balancing. * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h (FloatComplexAEPBALANCE): Declare them. @@ -3513,7 +3513,7 @@ ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. - + * Array-f.cc, Array-fC.cc, MArray-f.cc, MArray-fC.cc, fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, @@ -3537,7 +3537,7 @@ mx-defs.h, mx-ext.h, mx-inlines.cc, mx-op-defs.h, mx-ops, oct-cmplx.h, oct-fftw.cc, oct-fftw.h, oct-inttypes.h, vx-ops: Allow single precision types. - + 2008-05-20 David Bateman <dbateman@free.fr> * CMatrix.cc (double rcond): Replace with double rcon everywhere @@ -3702,7 +3702,7 @@ * mx-ops: Definite binary operators for mixed integer array + array case, except for 64bit cases. - + 2008-03-21 David Bateman <dbateman@free.fr> * oct-sparse.h: Add headers for amd.h. @@ -3725,7 +3725,7 @@ * Range.cc (Matrix Range::diag (octave_idx_type) const): New method for the diag function. * Range.h (Matrix diag (octave_idx_type) const): Declare it. - + * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag (void) const): delete. * dDiagMatrix.cc (ColumnVector DiagMatrix::diag (void) const): delete. @@ -3741,7 +3741,7 @@ * chMatrix.h (charMatrix diag (void) const): ditto. * intNDArray.cc (intNDArray<T> intNDArray<T>::diag (void) const): ditto. * intNDArray.h (intNDArray<T> diag (void) const): ditto. - + * CMatrix.cc (ComplexMatrix ComplexMatrix::diag (octave_idx_type) const): Rewrite in terms of template classes function. * CMatrix.h (ComplexMatrix diag (octave_idx_type)const ): Change @@ -3752,10 +3752,10 @@ * boolMatrix.cc (boolMatrix boolMatrix::diag (octave_idx_type) const): Rewrite in terms of template classes function. * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change - return type. + return type. * chMatrix.cc (charMatrix charMatrix::diag (octave_idx_type) const): Rewrite in terms of template classes function. - + * dSparse.cc (SparseMatrix SparseMatrix::diag (octave_idx_type) const): Rewrite in terms of template classes function. * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag @@ -3777,7 +3777,7 @@ * chNDArray.h (charNDArray diag (octave_idx_type) const): Declare it. - + 2008-03-19 John W. Eaton <jwe@octave.org> * oct-env.cc (octave_env::do_base_pathname): Also handle rooted @@ -3799,17 +3799,17 @@ * CSparse.cc (SparseMatrix SparseComplexMatrix::map (dmapper) const, SparseComplexMatrix SparseComplexMatrix::map (cmapper) const, SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. - + 2008-03-18 David Bateman <dbateman@free.fr> * lo-specfun.cc (Complex xlgamma (const Complex&)): New function. * lo-specfun.h (Complex xlgamma (const Complex&)): Declare it. * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. - + * dNDArray.cc (NDArray::min, NDArraymax): chop trailing singletons. * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. - + * Array.cc (Array<T>::index): Don't short_freeze on index with fewer dimensions than the array only if the last dimension is empty. @@ -3840,9 +3840,9 @@ 2008-03-05 Jaroslav Hajek <highegg@gmail.com> - * dbleQR.cc (QR::insert_col, QR::insert_row, + * dbleQR.cc (QR::insert_col, QR::insert_row, QR::delete_col, QR::delete_row): Use 0-based indexing. - * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, + * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row): Likewise. * dbleCHOL.cc: Small doc and declaration fixes. @@ -3945,19 +3945,19 @@ 2008-02-22 David Bateman <dbateman@free.fr> - * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag + * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag (octave_idx_type) const): New method. - * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag + * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag (octave_idx_type) const): Declare it. * base-lu.h (lu_type Y (void) const): New method to return factorization of xGETRF directly. * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, - class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, + class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, lu_elt_type, p_type, p_elt_type> :: Y (void) const): New method to simulate the retirn of xGETRF. * sparse-base-lu.h (template <class lu_type, class lu_elt_type, - class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, + class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, lu_elt_type, p_type, p_elt_type> :: Y (void) const): Declare it (SparseMatrix R (void) const): Method to return scaling factors. * SparsedbleLU.cc: Allow two element pivot thresholding and @@ -3972,20 +3972,20 @@ * base-lu.h (ColumnVector P_vec (void) const): Declare it. * sparse-base-lu.cc (ColumnVector Pr_vec (void) const): New method return row permutations as a vector. - (ColumnVector Pc_vec (void) const): New method return column + (ColumnVector Pc_vec (void) const): New method return column permutations as a vector. * sparse-base-lu.h (ColumnVector Pr_vec (void) const): Declare it. (ColumnVector Pc_vec (void) const): Declare it. * oct-spparms.cc: Add sym_tol field. - + 2008-02-20 David Bateman <dbateman@free.fr> * SparseComplexQR.cc (ComplexMatrix - SparseComplexQR::SparseComplexQR_rep::Q + SparseComplexQR::SparseComplexQR_rep::Q (void) const): New method. * SparseComplexQR.h (ComplexMatrix - SparseComplexQR::SparseComplexQR_rep::Q + SparseComplexQR::SparseComplexQR_rep::Q (void) const): Declare it. * SparseQR.cc (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. * SparseQR.h (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. @@ -4069,7 +4069,7 @@ (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> - + * Array.cc (ascending_compare, descending_compare): Remove non-standard extern in the instantiations. @@ -4160,7 +4160,7 @@ for 64-bit builds. (enum sortmode): Type of sort to perform. (vec_index): Simple class to aid in indexed sorts. - + * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, Array<T> sort (Array<octave_idx_type> &, octave_idx_type, sortmode) const): Array sorting methods. @@ -4172,22 +4172,22 @@ Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode) const): Array sorting functions based of octave_sort class. - * Array-C.cc: Instantiate the complex array sort methods. + * Array-C.cc: Instantiate the complex array sort methods. (IFLT): New macro to override the one in the octave_sort class to avoid need for Complex < and > operators. (static double xabs (const Complex&)): Complex abs function avoiding std::abs(Inf) returning NaN with some compilers. (ascending_compare, descending compare): override template functions for complex comparison. - * Array-d.cc: Instantiate the double array sort methods. - (Array<double> Array<double>::sort (octave_idx_type, - sortmode) const, Array<double> Array<double>::sort - (Array<octave_idx_type> &, octave_idx_type, sortmode) const): + * Array-d.cc: Instantiate the double array sort methods. + (Array<double> Array<double>::sort (octave_idx_type, + sortmode) const, Array<double> Array<double>::sort + (Array<octave_idx_type> &, octave_idx_type, sortmode) const): Array sorting functions based of octave_sort using uint64 sorting on IEE754 doubles, for speed and correct sorting of Inf and NaN. (ascending_compare, descending compare): override template functions for double and uint64 comparison. - * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: + * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: Instantiate the array sort methods. * Array-idx-vec.cc: Null instantiation of array sort methods. * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional @@ -4197,7 +4197,7 @@ * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, sortmode) const): Sparse sorting methods. - (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting + (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting methods. * Sparse.cc: replace sort with lsort throughout to avoid shadowing of new sort method. @@ -4207,14 +4207,14 @@ Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, sortmode) const): Sparse sorting functions based of octave_sort class. - * Sparse-C.cc: Instantiate the complex sparse sort methods. + * Sparse-C.cc: Instantiate the complex sparse sort methods. (IFLT): New macro to override the one in the octave_sort class to avoid need for Complex < and > operators. (static double xabs (const Complex&)): Complex abs function avoiding std::abs(Inf) returning NaN with some compilers. (sparse_ascending_compare, sparse_descending compare): override template functions for complex comparison. - * Sparse-d.cc: Instantiate the cdouble sparse sort methods. + * Sparse-d.cc: Instantiate the cdouble sparse sort methods. (sparse_ascending_compare, sparse_descending compare): override template functions for double comparison. * Array-b.cc: Instantiate the sparse sort methods. @@ -4272,10 +4272,10 @@ 2007-12-18 David Bateman <dbateman@free.fr> - * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index - (idx_vector&, int) const): Fix case indexing of non zero scalar + * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index + (idx_vector&, int) const): Fix case indexing of non zero scalar stored as a sparse matrix. - (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, + (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, int) const): For the non permutated indexing case, fix link list calculation and use. @@ -4314,7 +4314,7 @@ 2007-12-07 David Bateman <dbateman@free.fr> * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, - SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, + SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse indexing where possible rather than the elem method. (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, @@ -4398,19 +4398,19 @@ * intNDArray.cc (template <class T> intNDArray<T> intNDArray<T>::max (int) const, template <class T> intNDArray<T> intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, - template <class T> intNDArray<T> intNDArray<T>::min (int) const, - template <class T> intNDArray<T> intNDArray<T>::min + template <class T> intNDArray<T> intNDArray<T>::min (int) const, + template <class T> intNDArray<T> intNDArray<T>::min (ArrayN<octave_idx_type>&, int) const): New methods for integer classes. * intNDArray.h (class intNDArray): Add min/max methods * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of min/max functions. - * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, + * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h (MINMAX_DECLS(T)): Declare the min/max functions for integer types. - * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, + * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc (MINMAX_FCNS(T)): Instantiate the min/max functions for integer types. @@ -4454,43 +4454,43 @@ 2007-10-29 David Bateman <dbateman@free.fr> - * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, - octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, - octave_idx_type&, octave_idx_type&, double&) const, lssolve - (const ColumnVector&, octave_idx_type&, octave_idx_type&, - double& rcond) const, lssolve (const ComplexColumnVector&, + * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, + octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, + octave_idx_type&, octave_idx_type&, double&) const, lssolve + (const ColumnVector&, octave_idx_type&, octave_idx_type&, + double& rcond) const, lssolve (const ComplexColumnVector&, octave_idx_type&, octave_idx_type&, double& rcond) const): New declarations. - * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, - octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, - octave_idx_type&, octave_idx_type&, double&) const, lssolve - (const ColumnVector&, octave_idx_type&, octave_idx_type&, - double& rcond) const, lssolve (const ComplexColumnVector&, + * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, + octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, + octave_idx_type&, octave_idx_type&, double&) const, lssolve + (const ColumnVector&, octave_idx_type&, octave_idx_type&, + double& rcond) const, lssolve (const ComplexColumnVector&, octave_idx_type&, octave_idx_type&, double& rcond) const): New methods. (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, - double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, + double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, octave_idx_type&, double&) const): Also return rcond from the singular values returned by XGELSD. - * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, - octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, - octave_idx_type&, octave_idx_type&, double&) const, lssolve - (const ColumnVector&, octave_idx_type&, octave_idx_type&, - double& rcond) const, lssolve (const ComplexColumnVector&, + * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, + octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, + octave_idx_type&, octave_idx_type&, double&) const, lssolve + (const ColumnVector&, octave_idx_type&, octave_idx_type&, + double& rcond) const, lssolve (const ComplexColumnVector&, octave_idx_type&, octave_idx_type&, double& rcond) const): New declarations. - * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, - octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, - octave_idx_type&, octave_idx_type&, double&) const, lssolve - (const ColumnVector&, octave_idx_type&, octave_idx_type&, - double& rcond) const, lssolve (const ComplexColumnVector&, + * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, + octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, + octave_idx_type&, octave_idx_type&, double&) const, lssolve + (const ColumnVector&, octave_idx_type&, octave_idx_type&, + double& rcond) const, lssolve (const ComplexColumnVector&, octave_idx_type&, octave_idx_type&, double& rcond) const): New methods. (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, - double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, + double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, octave_idx_type&, double&) const): Also return rcond from the singular values returned by XGELSD. - + 2007-10-26 David Bateman <dbateman@free.fr> * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient @@ -4574,7 +4574,7 @@ * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, int)): Remove a for loop in the random indexing case at the - expense of maintaining a set of linked lists of indices that point + expense of maintaining a set of linked lists of indices that point to the same column in the original matrix. (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs and use it on the RHS of expressions to avoid unnecessary calls to @@ -4622,7 +4622,7 @@ of text. (file_quoting_desired): Function to set whether readline should attempt to quote filenames. - (do_set_filename_quoting_characters, + (do_set_filename_quoting_characters, do_set_completer_quote_characters, do_set_quoting_function, do_set_dequoting_function, do_set_char_is_quoted_function, do_set_user_accept_line_function, do_get_quoting_function, @@ -4631,14 +4631,14 @@ Virtual functions to control the behavior of readline quoting and acceptance of lines. (do_accept_line): Virtual function for the accept line function. - * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, + * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, do_completer_quote_characters, do_set_quoting_function, do_set_dequoting_function, do_set_char_is_quoted_function, do_set_user_accept_line_function, do_get_quoting_function, - do_get_dequoting_function, do_get_user_accept_line_function, + do_get_dequoting_function, do_get_user_accept_line_function, do_accept_line, do_filename_quoting_desired, command_quoter, command_dequoter, command_char_is_quoted, command_accept_line): - New functions in gnu_readline class to control filename quoting + New functions in gnu_readline class to control filename quoting and line acceptance. (quoting_function, dequoting_function, char_is_quoted_function, user_accept_line_function): private variable to store functions @@ -4650,18 +4650,18 @@ (gnu_readeline::operate_and_get_next): Use new accept_line function rather than newline. (default_ommand_editor::do_accept_line): New method. - (class command_editor set_filename_quote_characters, + (class command_editor set_filename_quote_characters, set_completer_quote_characters, set_quoting_function, set_dequoting_function, set_char_is_quoted_function, set_user_accept_line_function, get_quoting_function, - get_dequoting_function, get_user_accept_line_function, + get_dequoting_function, get_user_accept_line_function, accept_line, filename_quoting_desired): New functions checking instance before calling virtual function. * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, Array2.h: Add dim_vector constructors. * charNDArray.h (charNDArray (const dim_vector&)): Add missing - const to dim_vector constructors. + const to dim_vector constructors. * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag (octave_idx_type)): New methods to constructor diagonal matrices. * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag @@ -4708,7 +4708,7 @@ * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow zero dimensioned matrices. - * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. + * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): ditto. * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): @@ -4782,7 +4782,7 @@ bring the additional multiplication out of the inner loop. (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. - * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep + * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const Range& r)): Don't use init_state() method but special case as with a Range can avoid exhaustive search. @@ -4797,29 +4797,29 @@ 2007-09-06 David Bateman <dbateman@free.fr> - * Array-util.cc (increment_index): dimensions can have singleton - trailing dimensions. - * Array.h (range_error, xelem, checkelem, elem, operator ()): - Modify use of Array<int> to Array<octave_idx_type> and adjust - where necessary. - * Array.cc (range_error): ditto. - * MArrayN.h (permute, ipermute): ditto. - * ArrayN.h (permute, ipermute): ditto. - * so-array.cc (streamoff_array::compute_index): ditto. - * so-array.h (compute_index): ditto. - * CMattrix.cc (ComplexMatrix::exmpm): ditto. + * Array-util.cc (increment_index): dimensions can have singleton + trailing dimensions. + * Array.h (range_error, xelem, checkelem, elem, operator ()): + Modify use of Array<int> to Array<octave_idx_type> and adjust + where necessary. + * Array.cc (range_error): ditto. + * MArrayN.h (permute, ipermute): ditto. + * ArrayN.h (permute, ipermute): ditto. + * so-array.cc (streamoff_array::compute_index): ditto. + * so-array.h (compute_index): ditto. + * CMattrix.cc (ComplexMatrix::exmpm): ditto. 2007-08-29 David Bateman <dbateman@free.fr> - * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, - octave_idx_type&, double&, int, int)): Calculate with LU even for - matrices marked as singular. - * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( - MatrixType &, octave_idx_type&, double&, int, int)): ditto. - * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, - double&, int, int)): ditto. If rcond==0 force matrix of infinities. - * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, - octave_idx_type&, double&, int, int)): ditto. + * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, + octave_idx_type&, double&, int, int)): Calculate with LU even for + matrices marked as singular. + * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( + MatrixType &, octave_idx_type&, double&, int, int)): ditto. + * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, + double&, int, int)): ditto. If rcond==0 force matrix of infinities. + * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, + octave_idx_type&, double&, int, int)): ditto. 2007-08-27 John W. Eaton <jwe@octave.org> @@ -4829,27 +4829,27 @@ 2007-08-24 David Bateman <dbateman@free.fr> - * MSparse.h (MSparse<T>& insert (const Sparse<T>&, - const Array<octave_idx_type>&)): New method. - (MSparse (const dim_vector&, octave_idx_type)): Ditto. - * dSparse.h (SparseMatrix& SparseMatrix::insert (const - SparseMatrix&, const Array<octave_idx_type>&)): ditto. - (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. - * dSparse.cc (SparseMatrix& SparseMatrix::insert (const - SparseMatrix&, const Array<octave_idx_type>&)): ditto. - * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const - SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. - * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const - SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. - * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const - SparseMatrix&, const Array<octave_idx_type>&), - SparseComplexMatrix& SparseComplexMatrix::insert (const - SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. - (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. - * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const - SparseMatrix&, const Array<octave_idx_type>&), - SparseComplexMatrix& SparseComplexMatrix::insert (const - SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. + * MSparse.h (MSparse<T>& insert (const Sparse<T>&, + const Array<octave_idx_type>&)): New method. + (MSparse (const dim_vector&, octave_idx_type)): Ditto. + * dSparse.h (SparseMatrix& SparseMatrix::insert (const + SparseMatrix&, const Array<octave_idx_type>&)): ditto. + (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. + * dSparse.cc (SparseMatrix& SparseMatrix::insert (const + SparseMatrix&, const Array<octave_idx_type>&)): ditto. + * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const + SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. + * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const + SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. + * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const + SparseMatrix&, const Array<octave_idx_type>&), + SparseComplexMatrix& SparseComplexMatrix::insert (const + SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. + (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. + * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const + SparseMatrix&, const Array<octave_idx_type>&), + SparseComplexMatrix& SparseComplexMatrix::insert (const + SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. 2007-08-19 David Bateman <dbateman@free.fr> @@ -4868,8 +4868,8 @@ root directory. 2007-07-25 David Bateman <dbateman@free.fr> - - * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" + + * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" to work. 2007-06-04 David Bateman <dbateman@free.fr> @@ -5079,15 +5079,15 @@ 2007-03-26 David Bateman <dbateman@free.fr> * MatrixType.cc: Replace all uses of the method - octave_sparse_params::get_key ("bandden") with + octave_sparse_params::get_key ("bandden") with octave_sparse_params::get_bandden (void). (MatrixType::MatrixType (void)): Undo previous change but use octave_sparse_params::get_bandden (void). * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New methods. * oct-spparms.h (get_bandden(void), do_get_bandden(void)): - Declare them. - + Declare them. + 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> David Bateman <dbateman@free.fr> @@ -5155,13 +5155,13 @@ 2007-03-01 David Bateman <dbateman@free.fr> - * md5.h, md5.c: New files from libmd5-rfc sourceforge project for - an independent implementation of RFC1321. - * oct-md5.h, oct-md5: New files for treating std::string class - with MD5. - * Makefile.in (INCLUDES): Add md5.h and oct-md5.h - (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc - (LIBOCTAVE_C_SOURCES): Add md5.c + * md5.h, md5.c: New files from libmd5-rfc sourceforge project for + an independent implementation of RFC1321. + * oct-md5.h, oct-md5: New files for treating std::string class + with MD5. + * Makefile.in (INCLUDES): Add md5.h and oct-md5.h + (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc + (LIBOCTAVE_C_SOURCES): Add md5.c 2007-02-27 John W. Eaton <jwe@octave.org> @@ -5246,10 +5246,10 @@ 2007-01-05 David Bateman <dbateman@free.fr> - * oct-fftw.cc: (octave_fftw_planner::method (void), + * oct-fftw.cc: (octave_fftw_planner::method (void), octave_fftw_planner (FftwMethod)): New methods to interrogate and set the FFTW wisdom method used. - (octave_fftw_planner::create_plan) Modify to allow different + (octave_fftw_planner::create_plan) Modify to allow different methods to be used. (octave_fftw_planner): Move class definition from here. * oct-fftw.h (octave_fftw_planner): To here. Add method methods @@ -5266,8 +5266,8 @@ (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, - SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, - SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, + SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, + SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Modify macros so that scalars stored as sparse matrices are special cased. @@ -5294,12 +5294,12 @@ * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. * dMatrrix.cc (finverse): Old inverse method renamed inverse. - (tinverse): New method for triangular matrices. - (inverse): New function with matrix type probing. - * dMatrix.h (finverse, tinverse, inverse): New and modified - declarations. - * CMatrix.cc: Ditto. - * CMatrix.h: Ditto. + (tinverse): New method for triangular matrices. + (inverse): New function with matrix type probing. + * dMatrix.h (finverse, tinverse, inverse): New and modified + declarations. + * CMatrix.cc: Ditto. + * CMatrix.h: Ditto. 2006-12-06 John W. Eaton <jwe@octave.org> @@ -5326,11 +5326,11 @@ * oct-sparse.h: Allow sparse headers to also be in a sparsesuite sub-directory. - * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as + * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as well when calling tinverse for lower triangular matrices. - * CSparse.cc (SparseComplexMatrix::inverse): - Ditto. - + * CSparse.cc (SparseComplexMatrix::inverse): + Ditto. + 2006-11-21 John W. Eaton <jwe@octave.org> * oct-env.cc (do_absolute_pathname): Undo previous change. @@ -5489,7 +5489,7 @@ * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. - * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. + * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. * CSparse.cc (SparseComplexMatrix::insert): Likewise. * oct-types.h.in: Include limits.h, for CHAR_BIT. @@ -5510,12 +5510,12 @@ 2006-09-22 David Bateman <dbateman@free.fr> - * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): - Remove spurious warning. + * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): + Remove spurious warning. 2006-09-15 John W. Eaton <jwe@octave.org> - * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): + * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): Handle resizing. * intNDArray.h (intNDArray<T>:elt_type): New typedef. @@ -5523,7 +5523,7 @@ 2006-09-11 John W. Eaton <jwe@octave.org> * dMatrix.cc (operator * (const Matrix&, const Matrix&))): - Handle M*v and rv*cv special cases. + Handle M*v and rv*cv special cases. * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&))): Likewise. From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. @@ -5636,7 +5636,7 @@ * CSparse.cc (tinverse): ditto. * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit constant assignment. - + 2006-06-30 John W. Eaton <jwe@octave.org> * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. @@ -5652,7 +5652,7 @@ * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds array access. - + 2006-06-27 John W. Eaton <jwe@octave.org> * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. @@ -5700,7 +5700,7 @@ * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, ov-cx-sparse. and error_state. * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. - + 2006-05-08 David Bateman <dbateman@free.fr> * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in @@ -5717,9 +5717,9 @@ * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): External declaration of lapack triangular and Cholesky codes. - (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, + (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, ComplexMatrix::fsolve): New private solver codes for - upper, lower and LU/Cholesky solvers. + upper, lower and LU/Cholesky solvers. (ComplexMatrix::solve): New versions for cached matrix type. Adapt old versions to call new versions * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of @@ -5727,9 +5727,9 @@ (solve): New versions for cached matrix type. * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): External declaration of lapack triangular and Cholesky codes. - (Matrix::utsolve, Matrix::ltsolve, + (Matrix::utsolve, Matrix::ltsolve, Matrix::fsolve): New private solver codes for - upper, lower and LU/Cholesky solvers. + upper, lower and LU/Cholesky solvers. (Matrix::solve): New versions for cached matrix type. Adapt old versions to call new versions * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of @@ -5750,7 +5750,7 @@ MatrixType.cc respectively. Delete SparseType.h and SparseType.cc respectively. * mx-base.h: Include MatrixTye.h as header file. - + 2006-05-01 John W. Eaton <jwe@octave.org> * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): @@ -5814,12 +5814,12 @@ 2006-04-13 David Bateman <dbateman@free.fr> - * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): + * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Optimize assignment. 2006-04-13 John W. Eaton <jwe@octave.org> - * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): + * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Eliminate unnecessary casts. * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. @@ -5858,9 +5858,9 @@ to avoid copy of original matrix. * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and - randmtzig.h to the list. + randmtzig.h to the list. (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and - randmtzig.c to the list. + randmtzig.c to the list. * oct-rand.cc (do_old_initialization): Rename from do_initialization. (use_old_generators): New variable. (old_initialized): Rename from initialized. @@ -5874,7 +5874,7 @@ (octave_rand::exponential_distribution, octave_rand::poisson_distribution, octave_rand::gamma_distribution): New methods to select - exponential, poisson or gamma distribution. + exponential, poisson or gamma distribution. (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, octave_rand::vector): Add new distributions. * oct-rand.h: Provide decls for new functions. @@ -5882,7 +5882,7 @@ (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, octave_rand::vector): New arg A, for gamma and poisson distributions. * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, - randmtzig.h: New files. + randmtzig.h: New files. 2006-03-24 John W. Eaton <jwe@octave.org> @@ -5938,7 +5938,7 @@ (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as singular if singularity is detected. (solve): Use optional argument to disable calculation of - condition number for all but fsolve, for speed. Add code to + condition number for all but fsolve, for speed. Add code to allow rectnagular matrices or matrices identified as singular to be treated. (lssolve): delete. @@ -5964,7 +5964,7 @@ (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update macros to allow mixed complex/real arguments. * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero - value. + value. (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. * SparseType.cc (SparseType::SparseType ()): Correct detection of permutated triangular matrices to avoid seg-faults. Disable @@ -5990,7 +5990,7 @@ * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. - + 2006-03-01 John W. Eaton <jwe@octave.org> * CMatrix.cc (ComplexMatrix::determinant): @@ -6005,7 +6005,7 @@ Store value internally with double and int instead of 2-element double vector. (DET::initialize2, DET::initialize10): Provide decls. - * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): + * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): Return bool value, not int. (DET::initialize2, DET::initialize10): New functions. @@ -6030,7 +6030,7 @@ 2006-02-20 David Bateman <dbateman@free.fr> - * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that + * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that matrix must be square in diagonal, permuted diagonal, triangular and permuted triangular back/forward substitution code. Change ambiguous use of no. rows and columns. @@ -6045,14 +6045,14 @@ 2006-02-15 John W. Eaton <jwe@octave.org> * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. - (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. + (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. 2006-02-13 David Bateman <dbateman@free.fr> * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, - ccolamd and cxsparse + ccolamd and cxsparse 2006-02-13 John W. Eaton <jwe@octave.org> @@ -6074,20 +6074,20 @@ 2006-02-09 David Bateman <dbateman@free.fr> - * SparseQR.cc: new file for real sparse QR class. - * SparseQR.h: declaration. - * SparseCmplxQR.cc: new file for complex sparse QR class. - * SparseCmplxQR.h: declaration. - * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. - (factorize, fsolve): Enable code code lssolve. - (lssolve): disable unused args, write based in above sparse QR class. - * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. - (factorize, fsolve): Enable code code lssolve. - (lssolve): disable unused args, write based in above sparse QR class. - * oct-sparse.h: fix location of colamd, ccolamd and metis headers. - Include CXSparse headers. - * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. - (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. + * SparseQR.cc: new file for real sparse QR class. + * SparseQR.h: declaration. + * SparseCmplxQR.cc: new file for complex sparse QR class. + * SparseCmplxQR.h: declaration. + * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. + (factorize, fsolve): Enable code code lssolve. + (lssolve): disable unused args, write based in above sparse QR class. + * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. + (factorize, fsolve): Enable code code lssolve. + (lssolve): disable unused args, write based in above sparse QR class. + * oct-sparse.h: fix location of colamd, ccolamd and metis headers. + Include CXSparse headers. + * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. + (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. 2006-02-08 John W. Eaton <jwe@octave.org> @@ -6111,18 +6111,18 @@ 2006-01-21 David Bateman <dbateman@free.fr> - * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. - (bool octave_idx_vector_comp): New function. - (template class octave_sort<octave_idx_vector_sort *>): Instantiate - indexed idx_vector sorting function. - * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. - (class octave_idx_vector_sort): New class for indexed idx_vector - sorting. - (bool octave_idx_vector_comp): Declaration. - * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of - unordered LHS indexes in assignment using new octave_idx_vector_sort - class. - (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. + * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. + (bool octave_idx_vector_comp): New function. + (template class octave_sort<octave_idx_vector_sort *>): Instantiate + indexed idx_vector sorting function. + * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. + (class octave_idx_vector_sort): New class for indexed idx_vector + sorting. + (bool octave_idx_vector_comp): Declaration. + * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of + unordered LHS indexes in assignment using new octave_idx_vector_sort + class. + (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. 2006-01-30 John W. Eaton <jwe@octave.org> @@ -6135,16 +6135,16 @@ * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in elements not being sorted in return matrix. Sort them, and make - solver select between two algorithms to further improve the + solver select between two algorithms to further improve the performance. * dSparse.cc: include oct-sort.h. * CSparse.cc: ditto. * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. - + 2005-12-28 David Bateman <dbateman@free.fr> * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is - faster in all cases, and significantly so for low density or small + faster in all cases, and significantly so for low density or small order problems. 2005-11-30 John W. Eaton <jwe@octave.org> @@ -6218,7 +6218,7 @@ Changes for GCC 4.1, tip from Arno J. Klaassen <arno@heho.snv.jussieu.fr>: - * dSparse.h (real (const SparseComplexMatrix&)): + * dSparse.h (real (const SparseComplexMatrix&)): Publish externally used friend function. (imag (const SparseComplexMatrix&)): Likewise. @@ -6230,7 +6230,7 @@ Publish externally used friend function. (imag (const ComplexNDArray&)): Likewise. - * dMatrix.h (operator * (const ComplexMatrix&)): + * dMatrix.h (operator * (const ComplexMatrix&)): Move decl outside class. No need to be friend. (real (const ComplexMatrix&)): Publish externally used friend function. (imag (const ComplexMatrix&)): Likewise. @@ -6242,13 +6242,13 @@ Likewise. 2005-10-23 David Bateman <dbateman@free.fr> - + * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero elements need to be removed. - + * oct-sparse.h.in: Include metis headers and some macros for long/int versions of cholmod. - + * CSparse.cc (tinverse): New private function for the inversion of an upper triangular matrix. (dinverse): ditto for diagonal matrices. @@ -6262,9 +6262,9 @@ * dSparse.h (tinverse, dinverse, inverse): ditto. * SparseType.cc: Fix complex constructor for hermitian matrices. - + * sparse-util.cc: New file for sparse utility functions. - * sparse-util.h: New file with declarations of sparse utility + * sparse-util.h: New file with declarations of sparse utility functions. * sparse-base-chol.cc: New file with sparse cholesky class based @@ -6282,7 +6282,7 @@ (INCLUDES): Include sparse-util.h (TEMPLATE_SRC): Include sparse-base-chol.cc (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc - + 2005-10-12 John W. Eaton <jwe@octave.org> * oct-env.cc (octave_env::have_x11_display): New function. @@ -6317,7 +6317,7 @@ * lo-cutils.c (octave_waitpid): New function. * lo-utils.h: Provide decl. Include syswait.h here, not in oct-syscalls.cc - + * syswait.h [__MINGW32__]: Define WAITPID here instead of defining waitpid in src/sysdep.h. Make this header C-compatible. @@ -6335,7 +6335,7 @@ 2005-09-15 David Bateman <dbateman@free.fr> - * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc + * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc headers. Remove include of umfpack.h. * CSparse.cc : ditto. * SparsedbleLU.cc : ditto. @@ -6345,7 +6345,7 @@ * COLAMD.files : delete. * COLAMD.README : delete. * Makefile.in: Remove COLAMD. Add LIBGLOB. - (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks + (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks under mingw. * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR @@ -6365,7 +6365,7 @@ 2005-09-04 David Bateman <dbateman@free.fr> * COLAMD: Update version of colamd to v2.4. - * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of + * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of colamd.c for long version. 2005-08-25 David Bateman <dbateman@free.fr> @@ -6481,13 +6481,13 @@ * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of UMFPACK for 64-bit. - * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with + * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with UMFPACK_ZNAME(*). * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto * dSparse.h (UMFPACK_DNAME): Define macro to pick version of UMFPACK for 64-bit. - * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with + * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with UMFPACK_DNAME(*). * SparsedbleLU.cc (UMFPACK_DNAME): ditto @@ -6510,10 +6510,10 @@ * SparseType.h: Simplify the permutation code. (SparseType(const matrix_type), SparseType - (const matrix_type, const octave_idx_type, const octave_idx_type*), - SparseType(const matrix_type, const octave_idx_type, + (const matrix_type, const octave_idx_type, const octave_idx_type*), + SparseType(const matrix_type, const octave_idx_type, const octave_idx_type)): Declarations. - + 2005-04-25 John W. Eaton <jwe@octave.org> * str-vec.cc (string_vector::delete_c_str_vec): Correctly free @@ -6541,7 +6541,7 @@ * SparseType.cc (transpose): New function. * SparseType.h (transpose): Definition. - + 2005-04-11 John W. Eaton <jwe@octave.org> * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to @@ -6549,9 +6549,9 @@ 2005-04-10 David Bateman <dbateman@free.fr> - * Makefile.in: include oct-types in INCLUDES so that it is + * Makefile.in: include oct-types in INCLUDES so that it is installed - + 2005-04-08 John W. Eaton <jwe@octave.org> * Makefile.in (clean): Use exact filenames instead of *.xxx. @@ -6691,7 +6691,7 @@ * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements in the sparse matrix. - + 2005-02-25 John W. Eaton <jwe@octave.org> Sparse merge. @@ -6701,7 +6701,7 @@ * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse - solver into separate functions for the diagonal, upper, lower + solver into separate functions for the diagonal, upper, lower triangular, tridiagonal, banded and full cases. (SparseComplexMatrix::solve): rewrite to call the above function. One version that probes the matrix type and another that assumes the type @@ -6732,10 +6732,10 @@ triangular_col_perm, sparse_info, matrix_type): Likewise * Sparse.cc (type, sparse_info, band_size): Remove type code - + * SparseType.h: New class for the matrix type used in solvers * SparseType.cc: methods of sparse matrix type class - + * Makefile.in: Add SparseType.cc 2005-02-01 David Bateman <dbateman@free.fr> @@ -6756,18 +6756,18 @@ * MSparse.h (int type (int) const, bool is_dense (void) const): ditto * dSparse.h (int type (int) const, bool is_dense (void) const): ditto * CSparse.h (int type (int) const, bool is_dense (void) const): ditto - * boolSparse.h (int type (int) const, bool is_dense (void) const): + * boolSparse.h (int type (int) const, bool is_dense (void) const): ditto - * Sparse.cc (int Sparse<T>::type (int) const, + * Sparse.cc (int Sparse<T>::type (int) const, bool Sparse<T>::is_dense (void) const): New functions definition - + * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, so it actually is cached, but disable * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni for compatiability - + 2005-01-18 David Bateman <dbateman@free.fr> * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): @@ -6778,35 +6778,35 @@ * Sparse.h : Reverse definitions of numel and nelem. * Sparse.cc (assign1): Use numel and not nelem * Sparse-op-def.h: Replace all uses of nelem with numel - + 2005-01-07 David Bateman <dbateman@free.fr> * dbleDET.h: Make SparseMatrix a friend of the class DET - * CmplexDET.h: Make SparseComplexMatrix a friend of the class + * CmplexDET.h: Make SparseComplexMatrix a friend of the class ComplexDET - * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET + * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET by DET * dSparse.h (determinant): ditto - * CSparse.cc (SparseComplexMatrix::determinant): Replace use of + * CSparse.cc (SparseComplexMatrix::determinant): Replace use of SparseComplexDET by ComplexDET * CSparse.h (determinant): ditto - * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, + * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, SparseCmplxDET.cc: delete files * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h andSparseCmplxDET.cc. - * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in + * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in local variable to avoid variable shadowing. * dSparse.cc (SparseMatrix::solve): ditto. - - * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc + + * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h - MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc - Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc - SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc + MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc + Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc + SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc sparse-sort.h: Remove additional licensing clause with authors permission. - + 2004-12-30 John W. Eaton <jwe@octave.org> * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): @@ -6833,7 +6833,7 @@ * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. - + * Sparse.h (Sparse::SparseRep): Order data members and initializer lists consistently. @@ -6848,7 +6848,7 @@ (DISTDIRS): New variable. (dist): Handle $(DISTDIRS). - Merge of sparse code from David Bateman <dbateman@free.fr> and + Merge of sparse code from David Bateman <dbateman@free.fr> and Andy Adler <adler@site.uottawa.ca>. * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. @@ -6897,7 +6897,7 @@ SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, SparsedbleLU.cc: New files. * Makefile.in (MATRIX_SRC): Add them to the list. - + * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, @@ -7222,7 +7222,7 @@ * oct-inttypes.h (pow (constT, T)): New template. - * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, + * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. 2004-08-31 John W. Eaton <jwe@octave.org> @@ -7307,13 +7307,13 @@ 2004-08-23 David Bateman <dbateman@free.fr> - * dim-vector.h (dim_vector::concat): Correct incrementation for + * dim-vector.h (dim_vector::concat): Correct incrementation for non-existent dimensions. 2004-08-09 John W. Eaton <jwe@octave.org> * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx - (const octave_int<U>&)): New member function. + (const octave_int<U>&)): New member function. (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), idx_vector::idx_vector_rep::tree_to_mat_idx (int)): Now member functions instead of static in idx-vector.cc. @@ -7352,22 +7352,22 @@ 2004-07-23 David Bateman <dbateman@free.fr> * Array.cc, Array.h (cat_ra): Delete. - * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc + * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc (INSTANTIATE_ARRAY_CAT): Delete. - * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, + * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. - + * Array.cc (Array<T>::insert): Copy data in NDArray version. - * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, + * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, chNDArray.h (concat): New function used for concatenation that does an indexed copy of one array into another. * dim-vector.h (concat): New function to concatenate dim_vectors. * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, - chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for + chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for insertion of one NDArray into another. * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New @@ -7413,7 +7413,7 @@ (ComplexNDArray::ComplexNDArray (const NDArray&), (ComplexNDArray::ComplexNDArray (const boolNDArray&), (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. - + (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. * MArrayN.h: @@ -7461,11 +7461,11 @@ 2004-04-30 David Bateman <dbateman@free.fr> - * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): + * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): New arg, fill_value. (dim_vector::resize): Allow optional fill_value argument. - * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): + * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): Don't chop trailing dimensions of Array<idx_vector> if there is more than one element in idx_vector. Resize the return value to the size of Array<idx_vector>. @@ -7502,20 +7502,20 @@ 2004-04-02 David Bateman <dbateman@free.fr> - * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, + * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, besselh2, airy, biry, betainc, gammainc, do_bessel): New N-d array versions. (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. - * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, + * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, besselh2, airy, biry, betainc, gammainc): Provide decls. - + * dNDArray.cc (NDArray::min, NDArray::max, min, max): New functions. * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): New functions. - * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): + * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): Provide decls. 2004-03-17 David Hoover <jazzdaq@yahoo.com> @@ -7585,11 +7585,11 @@ (Range::print_range): Delete. 2004-03-02 David Bateman <dbateman@free.fr> - + * oct-fftw.cc: Only two versions of plan, and avoid endless changes between them. Faster for small fft's. (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): - New member variables. + New member variables. (octave_fftw_planner::ialign, octave_fftw_planner::oalign, octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. Change all uses. @@ -7600,15 +7600,15 @@ * Array.cc (Array<T>::insertN): Eliminate N-d indexing. - * mx-inlines.cc (MX_ND_CAT): Delete macro. - - * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. - * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. - * chNDArray.cc (charNDArray<T>::cat): Ditto. - * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. - - * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. - * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. + * mx-inlines.cc (MX_ND_CAT): Delete macro. + + * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. + * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. + * chNDArray.cc (charNDArray<T>::cat): Ditto. + * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. + + * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. + * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -7628,7 +7628,7 @@ 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> - * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): + * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): Fix thinko in extending dimensions. 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -7652,7 +7652,7 @@ 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> - * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): + * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): Sprinkle with OCTAVE_QUIT. 2004-02-16 David Bateman <dbateman@free.fr> @@ -7682,7 +7682,7 @@ ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New fourier transform functions for complex Nd arrays. * CNArray.h: Provide decls. - + 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> * Array.cc (Array<T>::insert (const Array<T>&, int, int)): @@ -7760,7 +7760,7 @@ Don't skip reshaping and resizing if RHS is empty. * Array.cc (Array<T>::assignN): Simplify loop for array assignment. - Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. + Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. Delete unused variables is_colon and is_colon_equiv. Correctly resize for expressions like x(:,:,2) = ones(3,3) when LHS is not yet defined. @@ -7891,10 +7891,10 @@ 2004-01-06 David Bateman <dbateman@free.fr> - * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, + * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, ComplexNDArray::too_large_for_float): New functions - + * CNDArray.cc (operator <<, operator >>): New IO operators. * CNDArray.h: Provide decls. * dNDArray.cc (operator <<, operator >>): New IO operators. @@ -8437,7 +8437,7 @@ by user. 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> - + * lo-specfun.cc (xlgamma): Require nonnegative argument. 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -8475,7 +8475,7 @@ * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> - + * ArrayN-inline.h: New file. (index_in_bounds, increment_index): Move here. * ArrayN.cc: From here. @@ -8495,7 +8495,7 @@ 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> - * ArrayN.cc (operator <<): Corrected output. + * ArrayN.cc (operator <<): Corrected output. 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -8536,7 +8536,7 @@ * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): Pass true for resize_ok arg to freeze. - * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): + * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): Likewise. * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; @@ -8653,7 +8653,7 @@ * kpse.cc (xclosedir): Don't define or declare for Windows. (READABLE): Now a static function to avoid warnings from MinGW - compiler. + compiler. 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -8727,7 +8727,7 @@ * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> - + * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -8736,11 +8736,11 @@ Additional compatibility fix. 2003-02-13 Arno Klaassen <arno@scito.com> - - * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, + + * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: Sprinkle with Array<T>:: as necessary for gcc 3.4. - + 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): @@ -8793,7 +8793,7 @@ * oct-syscalls.cc (octave_syscalls::kill): New function. * oct-syscalls.h: Provide decl. - + 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -8901,7 +8901,7 @@ dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: - Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of + Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -9285,7 +9285,7 @@ * DASPK-opts.in, DASPK.h: Move include to .in file. * DASRT-opts.in, DASRT.h: Likewise. - * DASSL-opts.in, DASSL.h: Likewise. + * DASSL-opts.in, DASSL.h: Likewise. * LSODE-opts.in, LSODE.h: Likewise. * NLEqn-opts.in, NLEqn.h: Likewise. * ODESSA-opts.in, ODESSA.h: Likewise. @@ -9364,7 +9364,7 @@ 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> - * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): + * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Get rows and columns right in loop. (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. @@ -9384,7 +9384,7 @@ * LSODE.h, Quad.h: Replace options class definitions with included file. * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to - create OPTS_INC files from OPTS_INC_SRC files. + create OPTS_INC files from OPTS_INC_SRC files. (stamp-prereq): New target. (libraries): Depend on stamp-prereq. Include stamp-prereq along with $(MAKEDEPS). @@ -9436,7 +9436,7 @@ * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. * Makefile.in: Add them to the appropriate lists. - (LIBOCTAVE_CXX_SOURCES): + (LIBOCTAVE_CXX_SOURCES): 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -9538,7 +9538,7 @@ * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. -2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> +2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> * Array3.h (Array3<T>::checkelem): Improve error message. * ArrayN.h (ArrayN<T>::range_error): Likewise. @@ -9589,7 +9589,7 @@ 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> - * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition + * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition internally when the user requests it. * CmplxQRP.cc (ComplexQRP::init): Ditto. * dbleQR.cc (QR::init): Ditto. @@ -9609,7 +9609,7 @@ * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. (LS_DO_WRITE): Likewise. - + 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. @@ -9700,9 +9700,9 @@ * oct-fftw.h, oct-fftw.cc: New files. * Makefile.in (INCLUDES, SOURCES): Add new files. - * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, + * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, ifourier2d}): Use fftw if available. - * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): + * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): Likewise. 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -9739,7 +9739,7 @@ (octave_rl_get_blink_matching_paren_flag): Delete. * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), - tanh (const Complex&)): Declare and define if not + tanh (const Complex&)): Declare and define if not CXX_ISO_COMPLIANT_LIBRARY. 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -9756,9 +9756,9 @@ archive libraries containing templates. * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, - get_zero_len_size, all_colon_equiv): Inline. + get_zero_len_size, all_colon_equiv): Inline. (ArrayN<T>::index): Rename idx to arr_idx. - * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, + * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. @@ -10031,7 +10031,7 @@ * MArray-defs.h: Many new macros to make declaration and definition of operators more consistent. - + * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, CRowVector.h, dMatrix.h, CMatrix.h: Use them. @@ -10143,7 +10143,7 @@ 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> - * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): + * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): Allow A(idx) = RHS if idx is a boolean index with the same shape as A, even when do_fortran_indexing is not enabled. (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). @@ -10418,7 +10418,7 @@ * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. (DEFINE_OCTAVE_ALLOCATOR): Ditto. - * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): + * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): Add volatile qualifier to void* arg. Cast volatile void* arg to volatile char*. @@ -10474,7 +10474,7 @@ Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> - * oct-env.cc (octave_env::do_get_home_directory): + * oct-env.cc (octave_env::do_get_home_directory): If HOME can't be found, set it to "/". (octave_env::do_get_user_name) If user name can't be found, set it to "unknown". @@ -10527,7 +10527,7 @@ * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result have the same size as the operands. - + Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> * DASSL.cc (DASSL::do_integrate): If an exception occurs in the @@ -10639,7 +10639,7 @@ Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> * dMatrix.cc (Matrix::expm): Skip trace normalization step if the - trace is negative. + trace is negative. * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if the real part of the trace is negative. @@ -10691,7 +10691,7 @@ Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> - * CRowVector.cc (linspace): Removed attempt for implicit conversion + * CRowVector.cc (linspace): Removed attempt for implicit conversion to complex<double>(int) instead of complex<double>(double). * lo-mappers.cc (atanh): Ditto. @@ -11048,7 +11048,7 @@ (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): - Fix typo in last change. + Fix typo in last change. * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): Convert from friend (moved from dColVector.cc). @@ -11269,7 +11269,7 @@ * file-ops.cc (file_stat::is_blk, file_stat::is_chr, file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, file_stat::is_reg, file_stat::is_sock): Just return false if the - underlying macro is not defined. + underlying macro is not defined. * oct-math.h (lgamma, gamma): Delete declarations. (asinh, acosh, atanh, erf, erfc): Declare arg types too. @@ -11309,7 +11309,7 @@ * Array3.h (Array3::checkelem): Tag bogus return value with GCC_ATTRIBUTE_UNUSED. * Array2.h (Array2::checkelem): Likewise. - + Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * Quad.h (Quad): Define virtual destructor. @@ -11579,7 +11579,7 @@ * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. - + * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. (INSTANTIATE_MARRAY2_FRIENDS): Likewise. (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. @@ -11749,7 +11749,7 @@ NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, DAEFunc.h, CollocWt.h, Bounds.h: Clean up constructors, assigment operator. - + * dRowVector.cc (RowVector::transpose): Use magic of reference counting to avoid duplicating the data immediately. * dColVector.cc (ColumnVector::transpose): Likewise. @@ -12153,7 +12153,7 @@ (ComplexRowVector::operator* (const Complex&, const RowVector&), (ComplexRowVector::operator/ (const Complex&, const RowVector&)): Actually do something. - + * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. @@ -12161,7 +12161,7 @@ * Quad.cc (Quad_options::Quad_options (double, double)): New function. * (Quad::Quad (integrand_fcn, double, double): Properly initialize tolerances. - + * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. * LPsolve.cc (LPsolve::minimize): Likewise. * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. @@ -12185,7 +12185,7 @@ * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. (dassl_j): Likewise. - + * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, Array.cc, CollocWt.cc, FEGrid.h, LinConst.h:
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -408,7 +408,7 @@ image/white.m, image/winter.m: Add demos. 2009-10-20 Soren Hauberg <hauberg@gmail.com> - + * general/interp2.m: improved error checking and support for bicubic 2009-10-19 Soren Hauberg <hauberg@gmail.com> @@ -422,7 +422,7 @@ 2009-10-15 David Bateman <dbateman@free.fr> * plot/__go_draw_axes__.m: Allow line and surface markerfacecolor - and markeredgecolor properties to be used and set the marker colors + and markeredgecolor properties to be used and set the marker colors appropriately. 2009-10-14 Jaroslav Hajek <highegg@gmail.com> @@ -605,7 +605,7 @@ * geometry/griddata.m: Linearize arrays. -2009-08-04 Pieter Eendebak <pieter.eendebak@gmail.com> +2009-08-04 Pieter Eendebak <pieter.eendebak@gmail.com> * set/setxor.m: Added test for cell arrays of strings. @@ -614,7 +614,7 @@ * plot/__gnuplot_get_var__.m: If read fails to return data, sleep before trying again. -2009-08-04 Pieter Eendebak <pieter.eendebak@gmail.com> +2009-08-04 Pieter Eendebak <pieter.eendebak@gmail.com> * set/setxor.m: Support cell arrays of strings. @@ -794,7 +794,7 @@ 2009-06-09 David Bateman <dbateman@free.fr> - * general/quadgk.m: Add test case and fixed doubly infinite + * general/quadgk.m: Add test case and fixed doubly infinite waypoint transform for x = 0 case. 2009-06-09 Marco Caliari <marco.caliari@univr.it> @@ -813,7 +813,7 @@ 2009-06-04 Ben Abbott <bpabbott@mac.com> - * plot/__go_draw_axes__.m: Change strncmpi(scale,'lo') to + * plot/__go_draw_axes__.m: Change strncmpi(scale,'lo') to strcmp(scale,'log'). * plot/__go_draw_axes__.m: For log-scale axes use format '10^{%T}'. @@ -822,7 +822,7 @@ * plot/colorbar.m: Colorbar 'handlevisibility' should be 'on'. Add additional demos which illustrate problems with the present implementation. - * plot/__gnuplot_has_feature__.m: Change version for + * plot/__gnuplot_has_feature__.m: Change version for "x11_figure_position" from ">=4.3.0" to ">=4.2.5". * plot/__scatter__.m: If the color spec is empty, set using __next_line_color__. @@ -890,7 +890,7 @@ 2009-05-27 S�ren Hauberg <hauberg@gmail.com> - * geometry/delaunay.m: Support cellstr's as options. + * geometry/delaunay.m: Support cellstr's as options. 2009-05-27 Jaroslav Hajek <highegg@gmail.com> @@ -898,7 +898,7 @@ 2009-05-26 S�ren Hauberg <hauberg@gmail.com> - * help/__makeinfo__.m: Support several @seealso's in one text. + * help/__makeinfo__.m: Support several @seealso's in one text. 2009-05-26 John W. Eaton <jwe@octave.org> @@ -907,7 +907,7 @@ 2009-05-26 Carlo de Falco <kingcrimson@tiscali.it> * pkg/pkg.m: Add "version" field to the structure returned by "pkg - describe". + describe". 2009-05-25 Ben Abbott <bpabbott@mac.com> @@ -945,7 +945,7 @@ 2009-05-17 Rik Wehbring <rdrider0-list@yahoo.com> - * *.m: Simplify Texinfo documentation in .m scripts by removing + * *.m: Simplify Texinfo documentation in .m scripts by removing redundant @iftex calls 2009-05-17 Jaroslav Hajek <highegg@gmail.com> @@ -976,7 +976,7 @@ 2009-04-30 Ben Abbott <bpabbott@mac.com> - * plot/__gnuplot_has_feature__.m: Change version for + * plot/__gnuplot_has_feature__.m: Change version for "x11_figure_position", >4.2.4 to >=4.3.0. 2009-04-30 Ben Abbott <bpabbott@mac.com> @@ -1029,7 +1029,7 @@ 2009-04-14 David Bateman <dbateman@free.fr> * plot/__patch__.m: Set default facecolor to [0,1,0]. - + 2009-04-12 Aravindh Krishnamoorthy <aravindh.k.dev@gmail.com> * special-matrix/hadamard.m: Fix a documentation mistake. @@ -1475,7 +1475,7 @@ 2009-02-19 Ben Abbott <bpabbott@mac.com> * plot/gnuplot_drawnow.m: Only send figure position info to gnuplot - when the plot stream is first opened. Revert usage of hidden axes + when the plot stream is first opened. Revert usage of hidden axes to store prior figure "position" property. 2009-02-19 John W. Eaton <jwe@octave.org> @@ -1608,7 +1608,7 @@ 2009-02-12 Soren Hauberg <hauberg@gmail.com> * help/gen_doc_cache.m: Change API so we only handle one directory per - call to this function. + call to this function. 2009-02-12 Soren Hauberg <hauberg@gmail.com> @@ -1659,7 +1659,7 @@ * help/which.m: Still print something sensible if type is empty. 2009-02-04 Soren Hauberg <hauberg@gmail.com> - Thomas Treichl <Thomas.Treichl@gmx.net> + Thomas Treichl <Thomas.Treichl@gmx.net> * miscellaneous/Makefile.in (SOURCES): Add bzip2.m to the list. @@ -1701,13 +1701,13 @@ * optimization/fsolve.m: remove redundant line. 2009-02-03 Jaroslav Hajek <highegg@gmail.com> - + * optimization/Makefile.in: Add missing source. 2009-02-02 Rob Mahurin <rob@utk.edu> * general/interpft.m: Increase tolerance in tests, for FFTPACK. - + 2009-02-03 Jaroslav Hajek <highegg@gmail.com> * optimization/__all_opts__.m: Yield empty list in recursive calls. @@ -1751,7 +1751,7 @@ 2009-01-29 Kai Habel <kai.habel@gmx.de> - * plot/__go_draw_axes__.m: Add support for transparent patches. + * plot/__go_draw_axes__.m: Add support for transparent patches. 2009-01-29 S�ren Hauberg <hauberg@gmail.com> @@ -1762,7 +1762,7 @@ 2009-01-29 Kai Habel <kai.habel@gmx.de> - * plot/Makefile.in (SOURCES): Include diffuse.m, specular.m, and + * plot/Makefile.in (SOURCES): Include diffuse.m, specular.m, and surfl.m in the list. 2009-01-28 Ben Abbott <bpabbott@mac.com> @@ -1887,7 +1887,7 @@ 2009-01-18 Thorsten Meyer <thorsten.meyier@gmx.de> * miscellaneous/doc.m: Add test for existence of info file. - + 2009-01-21 John W. Eaton <jwe@octave.org> * plot/__axis_label__.m: Set properties in existing axis label @@ -1978,7 +1978,7 @@ 2009-01-14 John W. Eaton <jwe@octave.org> - * linear-algebra/expm.m: + * linear-algebra/expm.m: * optimization/fsolve.m: Doc fix. @@ -2045,7 +2045,7 @@ * strings/strvcat.m: Remove. * strings/Makefile.in (SOURCES): Remove strvcat.m. - + 2009-01-12 John W. Eaton <jwe@octave.org> * plot/diffuse.m, plot/surfl.m, plot/specular.m: Style fixes. @@ -2061,9 +2061,9 @@ 2009-01-09 Kai Habel <kai.habel@gmx.de> - * plot/surfl.m: New function - * plot/diffuse.m: Ditto. - * plot/specular.m: Ditto. + * plot/surfl.m: New function + * plot/diffuse.m: Ditto. + * plot/specular.m: Ditto. 2009-01-05 John W. Eaton <jwe@octave.org> @@ -2072,7 +2072,7 @@ 2009-01-01 Thorsten Meyer <thorsten.meyier@gmx.de> * miscellaneous/__xzip__.m: Fix error messages, add tests. - + 2008-12-26 Thorsten Meyer <thorsten.meyier@gmx.de> * general/int2str.m, general/num2str.m, strings/base2dec.m, @@ -2082,12 +2082,12 @@ strings/strcat.m, strings/strcmpi.m, strings/strfind.m, strings/strjust.m, strings/strmatch.m, strings/strncmpi.m, strings/strrep.m, strings/strtok.m, strings/strtrim.m, - strings/strtrunc.m, strings/strvcat.m, strings/substr.m: + strings/strtrunc.m, strings/strvcat.m, strings/substr.m: Fix documentation strings, add examples, references and tests. * scripts/general/int2str.m: Add missing semicolon. * scripts/strings/regexptranslate.m: add nargin check. * scripts/strings/str2double.m: fix nargin check. - + 2008-12-29 David Bateman <dbateman@free.fr> * goemetry/voronoi.m: Speed up and handle dense grids. @@ -2172,19 +2172,19 @@ 2008-12-07 Thorsten Meyer <thorsten.meyier@gmx.de> - * strings/lower.m: Remove - * strings/upper.m: Remove - * strings/Makefile.in: Remove lower.m, upper.m - + * strings/lower.m: Remove + * strings/upper.m: Remove + * strings/Makefile.in: Remove lower.m, upper.m + 2008-12-02 Thorsten Meyer <thorsten.meyier@gmx.de> - * strings/str2mat.m: Make it a simple wrapper around - char() and move it to scripts/deprecated/str2mat.m, remove - obsolete tests, move remaining test to src/strfns.cc (Fchar). - * strings/Makefile.in: Remove str2mat.m. - * deprecated/Makefile.in: Add str2mat.m. - * strings/strvcat.m: Remove reference to str2mat. - + * strings/str2mat.m: Make it a simple wrapper around + char() and move it to scripts/deprecated/str2mat.m, remove + obsolete tests, move remaining test to src/strfns.cc (Fchar). + * strings/Makefile.in: Remove str2mat.m. + * deprecated/Makefile.in: Add str2mat.m. + * strings/strvcat.m: Remove reference to str2mat. + 2008-11-28 David Bateman <dbateman@free.fr> * plot/__go_draw_axes__.m: Set two point clipping mode to be on. @@ -2195,12 +2195,12 @@ 2008-11-29 Thorsten Meyer <thorsten.meyier@gmx.de> - * miscellaneous/gzip.m: Remove @seealso reference to __xzip__, - improve tests - miscellaneous/bzip2.m: Remove @seealso reference to __xzip__, - fix handling of output argument, add test - miscellaneous/__xzip__.m: Improve error messages, fix cleanup - of temporary directories, remove tab characters + * miscellaneous/gzip.m: Remove @seealso reference to __xzip__, + improve tests + miscellaneous/bzip2.m: Remove @seealso reference to __xzip__, + fix handling of output argument, add test + miscellaneous/__xzip__.m: Improve error messages, fix cleanup + of temporary directories, remove tab characters 2008-11-24 Ben Abbott <bpabbott@mac.com> @@ -2242,18 +2242,18 @@ 2008-11-07 Thorsten Meyer <thorsten.meyier@gmx.de> - * mkdoc: do not remove white space before @ within @example - environment + * mkdoc: do not remove white space before @ within @example + environment 2008-11-05 Thorsten Meyer <thorsten.meyier@gmx.de> - * plot/subplot.m: fix texi bug + * plot/subplot.m: fix texi bug 2008-11-04 Thorsten Meyer <thorsten.meyier@gmx.de> - * miscellaneous/unpack.m: return directly after recursive handling - of cell-strings - + * miscellaneous/unpack.m: return directly after recursive handling + of cell-strings + 2008-11-03 Ben Abbott <bpabbott@mac.com> * plot/__go_draw_axes__.m: xticklabel should accept a numeric vector. @@ -2264,7 +2264,7 @@ * optimization/__dogleg__.m: New function file. * optimization/fsolve.m: New function file. * optimization/Makefile.in: Include the new sources. - + 2008-09-28 Jaroslav Hajek <highegg@gmail.com> * optimization/fzero.m: Replace tabs by spaces. @@ -2292,10 +2292,10 @@ 2008-10-25 Thorsten Meyer <thorsten.meyier@gmx.de> - * miscellaneous/bzip2.m, miscellaneous/__xzip__.m: new commands. - * miscellaneous/gzip.m: change to use __xzip__ for actual compression, - add tests. - + * miscellaneous/bzip2.m, miscellaneous/__xzip__.m: new commands. + * miscellaneous/gzip.m: change to use __xzip__ for actual compression, + add tests. + 2008-10-31 David Bateman <dbateman@free.fr> * plot/__contour__.m: Exclude infinite values when calculating contour @@ -2309,7 +2309,7 @@ * plot/legend.m: Add support for the "left" and "right" options. * plot/__go_draw_axes__.m: If the axes property keyreverse is set, reverse the key and labelling text. - + * plot/__clabel__.m, plot/clabel.m: New functions. * plot/Makefile.in (SOURCES): Add them here. * plot/__contour__.m: Rewrite to use contour groups. @@ -2326,7 +2326,7 @@ deprecated/polyinteg.m: Remove "and" from @seealso string. * specfun/betaln.m: Change @seealso reference from deprecated betai to betainc. - * plot/plot.m, plot/xlabel.m, plot/ylabel.m, plot/zlabel.m, + * plot/plot.m, plot/xlabel.m, plot/ylabel.m, plot/zlabel.m, plot/plot3.m: Fix @seealso references to ylabel and zlabel. * general/issymmetric.m, image/imagesc.m, specfun/realpow.m, polynomial/polyfit.m, time/eomday.m: Remove @seealso references to @@ -2363,18 +2363,18 @@ * plot/__errplot__.m: Add errorbar series objects. * plot/errbar.m: Add some demos. - + * plot/__add_line_series__.m: Remove * plot/Makefile.in (SOURCES): Remove it here too. * plot/__add_datasource__.m: Allow for more than one character in source name. * plot/refreshdata.m: Ditto. - * plot/__plt2mm__.m, plot/__plt2mv__.m, plot/__plt2ss__.m, - plot/__plt2sv__.m, plot/__plt2vm__.m, plot/__plt2vv__.m, + * plot/__plt2mm__.m, plot/__plt2mv__.m, plot/__plt2ss__.m, + plot/__plt2sv__.m, plot/__plt2vm__.m, plot/__plt2vv__.m, plot/__plt2vs__.m, plot3.m: Remove previous line series changes. * plot/__scatter__.m: Add scatter series objects and data sources. * plot/legend.m: Update type in loop and remove debugging messages. - + 2008-10-21 Ben Abbott <bpabbott@mac.com> * specfun/legendre.m: Warn once on under/overflow. @@ -2401,7 +2401,7 @@ 2008-10-20 David Bateman <dbateman@free.fr> * testfun/rundemos.m: Pause between files, as demo itself doesn't. - + * plot/fill.m, plot/quiver.m: Quiet the demos. * plot/stair.m: Treat a line style argument correctly. @@ -2457,12 +2457,12 @@ * plot/newplot.m: Don't preserve axes properties here, but rather do it in the graphics handle code so that the preservation can be done after callbacks are executed. - + * plot/__go_draw_axes__.m: If current plot is an image, don't flag the plot as binary, as the binary specification is already in the "usingclause". - - * plot/__go_draw_figure__.m: Always use multiplot and create an + + * plot/__go_draw_figure__.m: Always use multiplot and create an enclosing axis to ensure bounding box of postscript is correct. 2008-10-16 Ben Abbott <bpabbott@mac.com> @@ -2480,7 +2480,7 @@ * plot/__go_draw_axes__.m (do_tics_1): New args, fontname and fontsize. Pass fontspec for tic marks to gnuplot. (do_tics): Pass axes fontname and fontsize to do_tics_1. - + * plot/newplot.m: Perserve fontangle, fontname, fontsize, fontunits, fontweight, position, outerposition, and activepositionproperty axes properties when replacing plot. @@ -2524,7 +2524,7 @@ * plot/subplot.m: Also skip axes that are tagged as being a colorbar. Don't break in search of overlapping axes to delete. Set both the position and the outerposition. - + 2008-10-09 Ben Abbott <bpabbott@mac.com> * plot/__axis_label__.m: Inherit font properties from axes. @@ -2533,7 +2533,7 @@ * general/loadobj.m, general/saveobj.m, general/display: New functions * general/Makefile.in (SOURCES): Add then here. - + 2008-10-08 John W. Eaton <jwe@octave.org> * miscellaneous/fileparts.m: Handle "/file" properly. @@ -2664,8 +2664,8 @@ 2008-09-18 Kris Thielemans <kris.thielemans@csc.mrc.ac.uk> * image/imshow.m: Fix for display_range. - - * general/interpn.m: Fixe for extrapval and documentation of + + * general/interpn.m: Fixe for extrapval and documentation of extrapval. 2008-09-17 David Bateman <dbateman@free.fr> @@ -2700,8 +2700,8 @@ 2008-09-08 Kai Habel <kai.habel@gmx.de> - * plot/contourf.m: Fix case for equal-sized matrices - of X and Y. + * plot/contourf.m: Fix case for equal-sized matrices + of X and Y. 2008-09-02 David Bateman <dbateman@free.fr> @@ -2736,7 +2736,7 @@ * plot/__add_line_series__.m, plot/ishghandle.m, plot/linkprop.m, plot/refresh.m, plot/refreshdata.m: New functions * Makefile.in (SOURCES): Add them here. - + * plot/__area__.m, plot/__bars__.m, plot/__quiver__.m, plot/__stem__.m, plot/stairs.m, plot/stem.m: Add data sources. @@ -2765,7 +2765,7 @@ * plot/area.m: Update documentation to correspond to the area series usage. * plot/__bar.m: Pass the original rather than scaled width to - __bars__. + __bars__. * plot/__bars__.m: Convert to use bar series objects. * plot/bar.m, plor/barh.m: Update documentation to correspond to the bar series usage. @@ -2782,7 +2782,7 @@ * image/imwrite.m: Add ras and tiff to the list of accepted formats. Handle parameter-value options. Untabify. - + 2008-08-25 David Bateman <dbateman@free.fr> * plot/__stem__.m: Use property inheritance and don't explicitly @@ -2806,7 +2806,7 @@ contain NaN values. 2008-08-21 Thomas Treichl <Thomas.Treichl@gmx.net> - + * optimization/sqp.m: Increase test script tolerance. 2008-08-21 David Bateman <dbateman@free.fr> @@ -2814,7 +2814,7 @@ * plot/ezplot.m : New function. * plot/Makefile.in (SOURCES): Add ezplot.m to the list. * plot/__ezplot__.m: Adapt to allow for use with the ezplot function. - + 2008-08-20 Jaroslav Hajek <highegg@gmail.com> * pkg/pkg.m (configure_make): Pass handle to is_architecture_dependent @@ -2884,7 +2884,7 @@ * plot/contourf.m: Allow X,Y to be unequal vectors. * plot/shading.m: Clarify help string. - + * general/genvarname.m: Trivial documentation fix. 2008-07-28 John W. Eaton <jwe@octave.org> @@ -2920,7 +2920,7 @@ * deprecated/loadimage.m: New file. * deprecated/Makefile.in (SOURCES): Add it to the list. - * image/loadimage.m: Delete. + * image/loadimage.m: Delete. * image/Makefile.in (SOURCES): Remove it from the list. * image/imread.m: Incorporate loadimage functionality here. Simplify. @@ -3073,7 +3073,7 @@ 2008-04-30 Jaroslav Hajek <highegg@gmail.com> - * specfun/log2.m: Delete. + * specfun/log2.m: Delete. * specfun/Makefile.in (SOURCES): Delete it from the list. 2008-04-29 David Bateman <dbateman@free.fr> @@ -3107,7 +3107,7 @@ 2008-04-15 David Bateman <dbateman@free.fr> * plot/__patch__.m: Fix for NaN values in faces of patches. - + 2008-04-14 David Bateman <dbateman@free.fr> * plot/rose.m: Add missing comment mark that causes issues with @@ -3298,7 +3298,7 @@ * plot/__go_draw_axes__.m: Conditionally "set pm3d implict" for 2D plot or 3D plots with more than one line. - + * deprecated/splchol.m deprecated/lchol.m deprecated/spfind.m deprecated/spchol.m deprecated/spmin.m deprecated/spmax.m deprecated/spdet.m deprecated/splu.m deprecated/spqr.m @@ -3327,7 +3327,7 @@ * sparse/spaugment.m: New function * sparse/Makefile.in (SOURCES): Add it here. - + * plot/__gnuplot_ginput__.m: Use the gnuplot stream itself for communication rather than a chat file if mkfifo is not available. * plot/gnuplot_drawnow.m: Open stream with popen2 to allow two way @@ -3347,14 +3347,14 @@ * plot/__go_draw_axes__.m: Set the tick direction in the main call the set tics rather than separately to avoid issues with multiple ticks in plotyy. - + * plot/gtext.m: New function to place text on a plot. * plot/waitforbuttonpress.m: New function. * plot/Makefile.in (SOURCES): Add them to the list. * plot/__gnuplot_ginput__.m: Bug fix for nargin==1. Workaround for missing mkfifo under Windows. * plot/ginput.m: Eliminate setting of n. - + * plot/ginput.m: New function. * plot/__gnuplot_ginput__.m: New function based on a version of ginput.m from Petr Mikulik <mikulik@physics.muni.cz>. @@ -3455,7 +3455,7 @@ * statistics/base/__quantile__.m, statistics/base/quantile.m, statistics/base/prctile.m: New functions. * statistics/base/Makefile.in (SOURCES): Add them to the list. - + 2008-03-25 S�ren Hauberg <hauberg@gmail.com> * polynomial/convn.m: New function. @@ -3465,7 +3465,7 @@ * image/contrast.m: New function. * image/Makefile.in (SOURCES): Add it to the list. - + 2008-03-24 Thomas Weber <thomas.weber.mail@gmail.com> * pkg/pkg.m: Allow installation of already extracted packages. @@ -3516,7 +3516,7 @@ * plot/__go_draw_axes__.m: Additional correction for symbol codes. 2008-03-19 Ben Abbott <bpabbott@mac.com> - + * statistics/base/mode.m: Add NDArray tests. 2008-03-19 Jaroslav Hajek <highegg@gmail.com> @@ -3546,8 +3546,8 @@ 2008-03-14 Kai Habel <kai.habel@gmx.de> - * plot/__go_draw_axes__.m: Expicitly set gnuplot user - style to default to avoid wrong mesh color in some cases. + * plot/__go_draw_axes__.m: Expicitly set gnuplot user + style to default to avoid wrong mesh color in some cases. 2008-03-12 David Bateman <dbateman@free.fr> @@ -3563,9 +3563,9 @@ 2008-03-11 Kai Habel <kai.habel@gmx.de> - * plot/__go_draw_axes__.m: Plot surfaces in front of axes. - Allow plotting of uniform colored mesh plots with and - w/o hidden line removal. + * plot/__go_draw_axes__.m: Plot surfaces in front of axes. + Allow plotting of uniform colored mesh plots with and + w/o hidden line removal. 2008-03-11 David Bateman <dbateman@free.fr> @@ -3622,7 +3622,7 @@ * polynomial/polyfit.m: Modified tests to respect a relative tolerance. * plot/print.m: Accept a figure handle as an optional input. - + 2008-02-29 John W. Eaton <jwe@octave.org> * plot/print.m: Handle gif and jpg devices. @@ -3635,7 +3635,7 @@ 2008-02-28 Kai Habel <kai.habel@gmx.de> * plot/__go_draw_axes__.m: If facecolor property of a surface is - "none", don't use pm3d mode and set linestyle correctly. + "none", don't use pm3d mode and set linestyle correctly. 2008-02-25 Ben Abbott <bpabbott@mac.com> @@ -3678,7 +3678,7 @@ * sparse/pcg.m, sparse/spdiags, spstats.m: Remove references to spdiag. - + 2008-02-22 John W. Eaton <jwe@octave.org> * miscellaneous/fullfile.m: Improve handling of empty args and @@ -3733,7 +3733,7 @@ * pkg/pkg.m: Handle 'describe' command. (parse_pkg_idx, print_package_description): New subfunctions. - + 2008-02-19 Bill Denney <bill@denney.ws> * time/datestr.m: Avoid confusion for datenum vectors that are 6 @@ -3751,7 +3751,7 @@ 2008-02-15 Rolf Fabian <r.fabian@jacobs-university.de> * linear-algebra/cond.m: New optional second argument to - specify 1-norm, inf-norm, or frobenius-norm. + specify 1-norm, inf-norm, or frobenius-norm. 2008-02-12 Kostas Poulios <poulios.konstantinos@googlemail.com> @@ -3816,7 +3816,7 @@ * general/interpn.m: Compatibility fix. Don't ndgrid vector abscissa. - + 2008-01-25 David Bateman <dbateman@free.fr> * general/__splinen__.m: Treat mixed orientation vectors. @@ -3839,7 +3839,7 @@ * linear-algebra/cond.m, linear-algebra/trace.m: Move tests here from test/test_linalg.m. - + * general/diff.m, general/fliplr.m, general/flipud.m, general/logspace.m, general/rot90.m, general/shift.m, general/tril.m, general/triu.m, linear-algebra/vec.m, linear-algebra/vech.m, @@ -3847,10 +3847,10 @@ special-matrix/invhilb.m, special-matrix/sylvester_matrix.m, special-matrix/toeplitz.m, special-matrix/vander.m: Move tests here from test/test_matrix.m. - + * general/isscalar.m, general/issquare.m, general/isvector.m: Move tests here from test/test_number.m. - + * deprecated/polyinteg.m, polynomial/compan.m, polynomial/conv.m, polynomial/deconv.m, polynomial/poly.m, polynomial/polyderiv.m, polynomial/polyfit.m, polynomial/polyreduce.m, polynomial/polyval.m, @@ -3908,7 +3908,7 @@ 2008-01-17 Tetsuro KURITA <tkurita@mac.com> * plot/print.m: Handle PDF output. - * plot/drawnow.m: Add "PDF" in a list of enhanced_terminals. + * plot/drawnow.m: Add "PDF" in a list of enhanced_terminals. 2008-01-17 John W. Eaton <jwe@octave.org> @@ -3960,7 +3960,7 @@ 2008-01-15 Michael Goffioul <michael.goffioul@gmail.com> - * plot/drawnow.m, plot/__go_draw_figure__.m, plot/__go_draw_axes__.m: + * plot/drawnow.m, plot/__go_draw_figure__.m, plot/__go_draw_axes__.m: Call __get__ instead of get. 2008-01-15 Ben Abbott <bpabbott@mac.com> @@ -4110,7 +4110,7 @@ 2007-12-17 Ben Abbott <bpabbott@mac.com> - * miscellaneous/run.m: Replace script with f when looking for + * miscellaneous/run.m: Replace script with f when looking for file to run. 2007-12-14 David Bateman <dbateman@free.fr> @@ -4135,7 +4135,7 @@ * plot/pie.m: Avoid calling "exist". - * linear-algebra/condest.m: Use nargin instead of size(varargin,2). + * linear-algebra/condest.m: Use nargin instead of size(varargin,2). Condense argument processing logic. Allow 6 arguments. Use issquare. Avoid calling "exist". @@ -4396,11 +4396,11 @@ * plot/plotyy.m: New function * plot/Makefile.in (SOURCES): Add it here. * plot/__go_draw_axes__.m: Force axis margins for plotyy. Set text - color for {x|y|z}label and {x|y|z}tics. Also force the label of + color for {x|y|z}label and {x|y|z}tics. Also force the label of {x|y}label to respect the axis position. * plot/xlabel.m, plot/ylabel.m, plot/zlabel.m: Accept an axis handle as the first argument. - + * pkg/pkg.m (pkg:install): When loading the installed packages index into installed_pkgs_lst and not descriptions.. @@ -4430,7 +4430,7 @@ save the real values so that colorbar corresponds to the contour levels. - * plot/stem.m: Set marker color the same as the line color. Draw + * plot/stem.m: Set marker color the same as the line color. Draw a single discontinous line object for the stems. * plot/sphere.m: New function ported from JHandles. @@ -4449,7 +4449,7 @@ rendered in. * plot/__patch__.m: Set clim correctly. - * plot__go_draw_axes__.m: Allow patch objects to have markers, and + * plot__go_draw_axes__.m: Allow patch objects to have markers, and the marker color is determined by the cmap. * plot/scatter.m: New function to 2D scatter plots. * plot/scatter3.m: New function to 3D scatter plots. @@ -4477,7 +4477,7 @@ * image/gmap40.m: New gnuplot 4.0 specific colormap fucntion. * image/Makefile.in (SOURCES): Include it. * plot/__bar__.h: Allow axis handles to be passed. Set the color - of the bars for the colormap. + of the bars for the colormap. * plot/bar.m, plot/barh.m: Document that axis handles can be passed. * plot/__contour.m: Avoid possible divide by zero error. @@ -4485,7 +4485,7 @@ * plot/surface.m: Don't attempt to set additional arguments if there are none. * plot/Makefile.in (SOURCES): Include __bars__.m - + 2007-11-19 Michael Goffioul <michael.goffioul@gmail.com> * plot/__bar__.m: put bar creation code into separate function @@ -4544,7 +4544,7 @@ "none". Allow the edgecolor to be determined by the cdata in the same manner as the facecolor. Fail if facecolor is not "none" and a 3-D plot is desired, rather than ignoring zdata. Make the - storage of 3D/4D data consistent between line, surface and patch + storage of 3D/4D data consistent between line, surface and patch objects. * plot/meshc.m: Use new __contour__.m to plot the contours. * plot/surfc.m: Use new __contour__.m to plot the contours. @@ -4745,7 +4745,7 @@ * plot/__go_draw_axes__.m: Fix surfaces for gnuplot 4.0 and for the meshc.m function. * plot/meshc.m: Also use the surface function. - + * plot/meshc.m, plot/quiver.m, plot/surfc.m, : New files. * plot/Makefile.in (SOURCES): Add them to the list. Also add pcolor.m, shading.m, surf.m, and surface.m to the list. @@ -4851,7 +4851,7 @@ 2007-10-22 David Bateman <dbateman@free.fr> - * miscellaneous/cputime.m, time/tic.m, time/toc.m: Delete. + * miscellaneous/cputime.m, time/tic.m, time/toc.m: Delete. * miscellaneous/Makefile.in (SOURCES): remove cputim.m * time/Makefile.in (SOURCES): Remov tic.m and toc.m @@ -4893,7 +4893,7 @@ 2007-10-15 Kim Hansen i<kimhanse@gmail.com> - * testfun/assert.m: Correct documentation of absolution versus + * testfun/assert.m: Correct documentation of absolution versus relative error tolerance and add tests. 2007-10-14 David Bateman <dbateman@free.fr> @@ -4935,7 +4935,7 @@ 2007-10-11 Thomas Treichl <Thomas.Treichl@gmx.net> - * toplev.cc (Foctave_config_info): Add field "mac". + * toplev.cc (Foctave_config_info): Add field "mac". * miscellaneous/ismac.m: New function. * miscellaneous/Makefile.in (SOURCES): Add it to the list. @@ -5085,7 +5085,7 @@ 2007-10-05 Peter A. Gustafson <petegus@umich.edu> - * plot/__go_draw_axes__.m: Add cbrange to the plot stream + * plot/__go_draw_axes__.m: Add cbrange to the plot stream for surface plots. 2007-10-05 John W. Eaton <jwe@octave.org> @@ -5120,7 +5120,7 @@ * miscellaneous/dir.m: Create empty struct with field names. Include datenum in struct. - + 2007-10-02 David Bateman <dbateman@free.fr> * miscellaneous/ls.m: If nargout return string array of files @@ -5135,7 +5135,7 @@ * linear-algebra/norm.m: Inline the isvector(x) calculation for speed with small vectors. - * pkg/pkg.m (archprefix): Set using octave_config_info("libexecdir") + * pkg/pkg.m (archprefix): Set using octave_config_info("libexecdir") rather than OCTAVE_HOME(). 2007-09-30 Ben Abbott <bpabbott@mac.com> @@ -5165,7 +5165,7 @@ files to a new location if user is root. (pkg:rm_rf): Check if file or directory exists before removing. (pkg:dirempty): Check if directory exists before checking. - + * plot/___patch__.m: Allow face colors to be passed as strings * plot/__plt_get_axis_arg__.m: Treat case of empty "varargin" @@ -5288,7 +5288,7 @@ polyinteg.m. * deprecated/polyinteg.m: Move version here. * deprecated/Makefile.in (SOURCES): Add polyinteg.m. - + * geometry/voronoi.m: Add large box around data to get a good approximation of the rays to infinity. @@ -5317,7 +5317,7 @@ * geometry/inpolygon.m: New file. * geometry/Makefile.in (SOURCES): Add inpolygon.m. - + 2007-08-29 Peter A. Gustafson <petegus@umich.edu> * plot/__go_draw_axes__.m: Disable linetype in do_linestyle_command. @@ -5341,17 +5341,17 @@ 2007-08-24 David Bateman <dbateman@free.fr> - * geometry/convhull.m, geometry/delaunay.m, geometry/delaunay3.m, - geometry/griddata.m, geometry/voronoi.m, geometry/voronoin.m: New - functions ported from octave-forge. + * geometry/convhull.m, geometry/delaunay.m, geometry/delaunay3.m, + geometry/griddata.m, geometry/voronoi.m, geometry/voronoin.m: New + functions ported from octave-forge. * geometry/delaunayn.m, geometry/dsearch.m, geometry/dsearchn.m, - geometry/griddata3.m, geometry/griddatan.m, geometry/trimesh.m, - geometry/triplot.m, geometry/tsearchn.m: - New functions. + geometry/griddata3.m, geometry/griddatan.m, geometry/trimesh.m, + geometry/triplot.m, geometry/tsearchn.m: + New functions. * geometry/voronoi.m: Remove duplicate edges from Voronoi diagram. * geometry/Makefile.in (SOURCES): Add functions above. * configure.in (AC_CONFIG_FILES): Add new file geometry/Makefile. - + 2007-08-23 John W. Eaton <jwe@octave.org> * pkg/pkg.m: Avoid using installed_packages for both function and @@ -5405,7 +5405,7 @@ * Makefile.in, audio/Makefile.in, control/Makefile.in, control/base/Makefile.in, control/hinf/Makefile.in, - control/obsolete/Makefile.in, control/system/Makefile.in, + control/obsolete/Makefile.in, control/system/Makefile.in, control/util/Makefile.in, deprecated/Makefile.in, elfun/Makefile.in, finance/Makefile.in, general/Makefile.in, image/Makefile.in, io/Makefile.in, linear-algebra/Makefile.in, @@ -5429,9 +5429,9 @@ * image/flag.m: New colormap function. * images/Makefile.in: Include it in SOURCES. - * image/autumn.m image/bone.m image/cool.m image/copper.m - image/hot.m image/hsv.m image/jet.m image/pink.m image/prism.m - image/rainbow.m image/spring.m image/summer.m image/white.m + * image/autumn.m image/bone.m image/cool.m image/copper.m + image/hot.m image/hsv.m image/jet.m image/pink.m image/prism.m + image/rainbow.m image/spring.m image/summer.m image/white.m image/winter.m, image/brighten.m: Use isscalar and not is_scalar. * image/gray.m, image/ocean.m: Use the same means of finding the number of colormap elements as the other colormap functions. @@ -5447,21 +5447,21 @@ * general/del2.m: New function for discrete laplacian operator. * general/Makefile.in: Include rat.m and del2.m in SOURCES. - * image/autumn.m image/bone.m image/cool.m image/copper.m - image/hot.m image/hsv.m image/jet.m image/pink.m image/prism.m - image/rainbow.m image/spring.m image/summer.m image/white.m + * image/autumn.m image/bone.m image/cool.m image/copper.m + image/hot.m image/hsv.m image/jet.m image/pink.m image/prism.m + image/rainbow.m image/spring.m image/summer.m image/white.m image/winter.m, image/brighten.m: Port image functions from octave-forge. * image/Makefile.in: Add ported functions to SOURCES. * image/gray.m, image/ocean.m: Don't set the colormap for compatibility with matlab. - + * plot/meshc.m, plot/peaks.m: Port plotting function from octave-forge * plot/Makefile.in: Add ported functions to SOURCES. * plot/__go_draw_axes__.m: Set the palette for the surfaces if using gnuplot 4.2 or greater. - + 2007-07-23 Claudio Belotti <c.belotti@imperial.ac.uk> * general/cart2sph.m: Fix unbalanced paranthesis. @@ -5497,7 +5497,7 @@ compatibility. * deprecated/gamma_cdf.m, deprecated/gamma_inv.m, - deprecated/gamma_pdf.m, deprecated/gamma_rnd.m, + deprecated/gamma_pdf.m, deprecated/gamma_rnd.m, deprecated/exponential_cdf.m, deprecated/exponential_inv.m, deprecated/exponential_pdf.m, deprecated/exponential_rnd.m: Preserve backward compatibility. @@ -5509,7 +5509,7 @@ 2007-07-06 David Bateman <dbateman@free.fr> - * general/accumarray.m: New function to create an array by + * general/accumarray.m: New function to create an array by accumulating the elements. 2007-06-29 Marcus W. Reble <reble@wisc.edu> @@ -5565,7 +5565,7 @@ * statistics/base/var.m: Put N in @math in help text. - * statistics/base/qqplot.m, statistics/base/ppplot.m, + * statistics/base/qqplot.m, statistics/base/ppplot.m, statistics/tests/kolmogorov_smirnov_test.m: Write about possible values of 'dist' in help text. @@ -5735,7 +5735,7 @@ * general/interp3.m: New function for 3-dimensional, linear, nearest and spline interpolation. * polynomial/spline.m: Change examples to use new graphics interface. - + 2007-06-12 Steve M. Robbins <steve@sumost.ca> * statistics/tests/wilcoxon_test.m: Error if N <= 25. @@ -5748,7 +5748,7 @@ * pkg/pkg.m (pkg:installed_packages): truncate start of package directory if need to, so that it fits on a line. - + 2007-06-07 David Bateman <dbateman@free.fr> * pkg/pkg.m (pkg): For rebuild target, force package order in @@ -5775,7 +5775,7 @@ * polynomial/spline.m: Add a small tolerance to spline tests. * pkg/pkg.m: Protect against multiple actions being define. - + 2007-06-01 David Bateman <dbateman@free.fr> * pkg.m (pkg:is_superuser): Remove function used in one place and @@ -5785,10 +5785,10 @@ 2007-05-31 David Bateman <dbateman@free.fr> - * miscellaneous/copyfile.m: Split copying of multiple files to a + * miscellaneous/copyfile.m: Split copying of multiple files to a directory over several copy command to limit the line length. * miscellaneous/movefile.m: Ditto. - + * pkg.m: Add build option to allow binary Octave packages to be built from source packages. Probe absolute path of prefix, global and local lists. Use strcat, rather that [] for strings. @@ -5809,7 +5809,7 @@ * pkg.m (pkg:load_packages): Correctly load a mix of packages with and without architecture dependent directories. (pkg:installed_packages): Probe the global_list file even if it is - the same as the local_list. + the same as the local_list. 2007-05-29 John W. Eaton <jwe@octave.org> @@ -5846,7 +5846,7 @@ (rebuild): New subfunction to rebuild package database from installed packages. Also allows changing of autoload status (install): Warn use if attempting to install from non existent - file. + file. (issuperuser): Use 'geteuid() == 0' instead of 'strcmp (getenv( "USER", "root"))' for root test. @@ -5854,21 +5854,21 @@ * miscellaneous/copyfile.m: check for cp.exe on Windows platforms and replace "\" characters with "/". - * pkg/pkg.m: Use shell rather than system throughout. Replace "\" + * pkg/pkg.m: Use shell rather than system throughout. Replace "\" characters with "/" throughout. (shell): New subfunction that wraps system and is careful with the shell on windows platforms. (configure_make): Explictly pass complier etc to configure process. (issuperuser): Force default to global install for Windows machines. - + 2007-05-19 Kristan Onu * plot/Makefile.in (SOURCES): Remove hbar.m and add barh.m. 2007-05-18 David Bateman <dbateman@free.fr> - * pkg/pkg.m (install): More verbosity. + * pkg/pkg.m (install): More verbosity. (configure_make): Ditto. (create_pkgadddel): Install in architecture dependent directory if it exists to address issues with autoload/mfilename. @@ -6029,7 +6029,7 @@ * bar.m: Convert to use __bar__. * hbar.m: New function * hist.m: Explicitly set the width of the bar plot. - + 2007-04-17 John W. Eaton <jwe@octave.org> * plot/stem.m (stem_line_spec): Pass false as third arg to __pltopt__. @@ -6274,7 +6274,7 @@ * plot/__go_draw_axes__.m: Handle some colors with older gnuplot. * testfun/speed.m: Documentation and example fix. - + 2007-03-21 John W. Eaton <jwe@octave.org> * plot/subplot.m: If we find an existing subplot region, set @@ -6399,7 +6399,7 @@ * plot/__go_draw_axes__.m: Rename from __uiobject_draw_axes.m. * plot/__go_draw_figure__.m: Rename from __uiobject_draw_figure.m. * plot/Makefile.in (SOURCES_M): Rename in list. - + * image/__img__.m: Use __go_image__ to create image graphics handle. @@ -6567,16 +6567,16 @@ 2007-02-23 David Bateman <dbateman@free.fr> - * statistics/distributions/discrete_rnd.m, - statistics/distributions/geornd.m, - statistics/distributions/lognnd.m, - statistics/distributions/nbinrnd.m, + * statistics/distributions/discrete_rnd.m, + statistics/distributions/geornd.m, + statistics/distributions/lognnd.m, + statistics/distributions/nbinrnd.m, statistics/distributions/wblrnd.m: Accelerate distributions. - - * statistics/distributions/unidcdf.m, - statistics/distributions/unidinv.m, - statistics/distributions/unidpdf.m, - statistics/distributions/unidrnd.m: New functions based on + + * statistics/distributions/unidcdf.m, + statistics/distributions/unidinv.m, + statistics/distributions/unidpdf.m, + statistics/distributions/unidrnd.m: New functions based on discrete_cdf, etc. * statistics/distributions/pascal_cdf.m, @@ -6606,13 +6606,13 @@ * miscellaneous/doc.m: Find doc.info file correctly in user directories. - * statistics/distributions/frnd.m, statistics/distributions/exprnd.m, - statistics/distributions/gamrnd.m, statistics/distributions/trnd.m, + * statistics/distributions/frnd.m, statistics/distributions/exprnd.m, + statistics/distributions/gamrnd.m, statistics/distributions/trnd.m, statistics/distributions/poissrnd.m, statistics/distributions/chi2rnd.m, statistics/distributions/betarnd.m: Convert to use randg, rande and randp to accelerate. - * pkg/pkg.m (fix_depends): Support > and < operators as well. + * pkg/pkg.m (fix_depends): Support > and < operators as well. 2007-02-22 John W. Eaton <jwe@octave.org> @@ -6828,7 +6828,7 @@ 2007-01-30 David Bateman <dbateman@free.fr> * pkg/pkg.m (pkg, isautoload, install, load_packages): Add ability - to flag a package as to be autoloaded. Add install flags -noauto, + to flag a package as to be autoloaded. Add install flags -noauto, -auto to force autoload behavior. (installed_packages): Make list of installed packages unique. @@ -6910,7 +6910,7 @@ horizontalalignment properties. * plot/figure.m: Set options for f we just constructed or were - given as an argument, not gcf. Only return handle if nargout > 0. + given as an argument, not gcf. Only return handle if nargout > 0. * plot/drawnow.m: Handle visible field for figure here. * plot/__uiobject_figure_ctor__.m: Set default visible field. @@ -6979,10 +6979,10 @@ * include-globals.awk: New file. - * plot/__uiobject_alloc__.in, plot/__uiobject_figures__.in, - plot/__uiobject_free__.in, plot/__uiobject_get_figure_handle__.in, - plot/__uiobject_get_handle__.in, plot/__uiobject_grow_list__.in, - plot/__uiobject_handle2idx__.in, plot/__uiobject_init_figure__.in, + * plot/__uiobject_alloc__.in, plot/__uiobject_figures__.in, + plot/__uiobject_free__.in, plot/__uiobject_get_figure_handle__.in, + plot/__uiobject_get_handle__.in, plot/__uiobject_grow_list__.in, + plot/__uiobject_handle2idx__.in, plot/__uiobject_init_figure__.in, plot/__uiobject_init_root_figure__.in, plot/__uiobject_make_handle__.in, plot/get.in, plot/set.in: Rename from corresponding .m files. @@ -7286,7 +7286,7 @@ * plot/plot3.m, plot/mesh.m, plot/contour.m: Don't send "set noparametric" to gnuplot.. - + * plot/__plotopt__.m, plot/__pltopt1__.m, plot/__plt1__.m, plot/__plt2__.m, plot/__plt2mm__.m, plot/__plt2mv__.m, plot/__plt2ss__.m, plot/__plt2vm__.m, plot/__plt2vv__.m: Accept @@ -7363,7 +7363,7 @@ 2006-10-25 John W. Eaton <jwe@octave.org> * plot/__gnuplot_version__.m: New function, originally from - Daniel J Sebald <daniel.sebald@ieee.org> by way of + Daniel J Sebald <daniel.sebald@ieee.org> by way of Quentin Spencer <qspencer@ieee.org>. 2006-10-25 S�ren Hauberg <soren@hauberg.org> @@ -7747,7 +7747,7 @@ 2006-09-22 Michael Creel <michael.creel@uab.es> - * deprecated/chisquare_pdf.m: Typo in documentation. + * deprecated/chisquare_pdf.m: Typo in documentation. 2006-09-22 S�ren Hauberg <soren@hauberg.org> @@ -7756,7 +7756,7 @@ 2006-09-22 David Bateman <dbateman@free.fr> * miscellaneous/parseparams.m: Correct texinfo doc. - + 2006-09-15 David Bateman <dbateman@free.fr> * pkg/pkg.m (prepare_installation): Don't create package @@ -7822,7 +7822,7 @@ (extract_pkg, create_pkg): Generalized versions of deleted functions (copy_files): Install both bin/ and doc/ directories, adding the bin/ to the EXEC_PATH when the package is loaded. - + 2006-08-24 John W. Eaton <jwe@octave.org> * image/saveimage.m: Use logical indexing instead of @@ -7851,7 +7851,7 @@ 2006-08-22 David Bateman <dbateman@free.fr> - * pkg/pkg.m (extract_pkgadd, create_pkgadd): New functions to + * pkg/pkg.m (extract_pkgadd, create_pkgadd): New functions to Search inst/*.m and src/*.m files in the package for PKG_ADD directives and append user supplied PKG_ADD. (pkg): Call create_pkgadd after copying files. @@ -7891,7 +7891,7 @@ * sparse/spy.m, control/base/bode.m, control/base/__stepimp__.m, signal/freqz_plot.m: Adapt to new automatic_replot definition. - + 2006-08-14 S�ren Hauberg <soren@hauberg.org> * pkg/pkg.m: Don't pass function name to print_usage. @@ -8138,7 +8138,7 @@ * general/isequal.m, general/__isequal__.m, general/cell2mat.m, general/isequalwithequalnans.m, general/blkdiag.m, strings/strfind.m, miscellaneous/doc.m: Update FSF address. - + 2006-03-27 Don Bindner <dbindner@truman.edu> * plot/meshgrid.m: If nargout == 3 and vectors are supplied, @@ -8337,7 +8337,7 @@ * time/toc.m: Move here from miscellaneous/toc.m. 2006-02-26 Keith Goodman <kwgoodman@gmail.com> - + * miscellaneous/toc.m: Display "Elapsed time is X seconds" if user does not assign output of toc to a variable. @@ -8355,7 +8355,7 @@ * control/base/lqe.m: Doc fix. 2006-02-15 Keith Goodman <kwgoodman@gmail.com> - + * statistics/distributions/gamcdf.m: Doc fix. * statistics/distributions/gaminv.m: Doc fix. * statistics/distributions/gampdf.m: Doc fix. @@ -8415,7 +8415,7 @@ 2006-01-12 David Bateman <dbateman@free.fr> - * general/blkdiag.m: Compatible behavior for empty matrices + * general/blkdiag.m: Compatible behavior for empty matrices * statistics/base/unidrnd.m: Documentation buglet. 2005-12-14 David Bateman <dbateman@free.fr> @@ -8453,7 +8453,7 @@ 2005-12-12 Michael Zeising <michael@michaels-website.de> - * audio/wavread.m, audio/wavwrite.m: + * audio/wavread.m, audio/wavwrite.m: Correct scaling for 8-bit linear pcm samples. Improve scaling for all other linear pcm resolutions. @@ -9147,7 +9147,7 @@ 2005-01-05 David Bateman <dbateman@free.fr> * Makefile.in: include sparse directory in SUBDIRS. - + 2004-12-30 John W. Eaton <jwe@octave.org> * sparse/nzmax.m: Delete (there is an nzmax function in @@ -9155,7 +9155,7 @@ 2004-12-28 John W. Eaton <jwe@octave.org> - Merge of sparse code from David Bateman <dbateman@free.fr> and + Merge of sparse code from David Bateman <dbateman@free.fr> and Andy Adler <adler@site.uottawa.ca>. * sparse/colperm.m, sparse/nonzeros.m, sparse/nzmax.m, @@ -9251,7 +9251,7 @@ * miscellaneous/fileparts.m: Allow filenames with no extension. From Julius Smith <jos@ccrma.stanford.edu>. - + 2004-11-08 John W. Eaton <jwe@octave.org> * plot/__plt2vm__.m: Delete debugging statement. @@ -9269,23 +9269,23 @@ 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> * control/base/analdemo.m, control/base/are.m, control/base/bddemo.m, - control/base/controldemo.m, control/base/damp.m, control/base/dare.m, + control/base/controldemo.m, control/base/damp.m, control/base/dare.m, control/base/dcgain.m, control/base/dgram.m, control/base/dlyap.m, control/base/dre.m, control/base/frdemo.m, control/base/gram.m, control/base/impulse.m, control/base/lqp.m, control/base/obsv.m, control/base/pzmap.m, control/base/rldemo.m, control/hinf/h2norm.m, control/hinf/hinfsyn.m, control/hinf/hinfsyn_ric.m, - control/hinf/is_dgkf.m, control/system/c2d.m, + control/hinf/is_dgkf.m, control/system/c2d.m, control/system/is_detectable.m, control/system/is_sample.m, control/system/is_siso.m, control/system/is_stable.m, control/system/ss2sys.m, control/system/ss.m, control/system/sys2ss.m, - control/system/sys2tf.m, control/system/sys2zp.m, + control/system/sys2tf.m, control/system/sys2zp.m, control/system/sysappend.m, control/system/sysconnect.m, control/system/sysdisc.m, control/system/sysdup.m, control/system/sysgetsignals.m, control/system/sysmult.m, control/system/syssetsignals.m, control/system/syssub.m, control/system/tf2sys.m, control/system/ugain.m, - control/system/zp2ss.m, control/system/zp2sys.m, + control/system/zp2ss.m, control/system/zp2sys.m, control/system/zp2tf.m, control/util/axis2dlim.m, polynomial/roots.m, special-matrix/toeplitz.m: Fix typos in doc strings. @@ -9312,36 +9312,36 @@ control/base/obsv.m, control/base/place.m, control/base/pzmap.m, control/base/__stepimp__.m, control/base/step.m, control/base/tzero2.m control/base/tzero.m, control/hinf/dhinfdemo.m, control/hinf/h2norm.m, - control/hinf/h2syn.m, control/hinf/hinfdemo.m, - control/hinf/hinfnorm.m, control/hinf/hinfsyn_chk.m, - control/hinf/hinfsyn.m, control/hinf/is_dgkf.m, + control/hinf/h2syn.m, control/hinf/hinfdemo.m, + control/hinf/hinfnorm.m, control/hinf/hinfsyn_chk.m, + control/hinf/hinfsyn.m, control/hinf/is_dgkf.m, control/obsolete/syschnames.m, control/obsolete/syschnames.m, - control/system/c2d.m, control/system/is_abcd.m, + control/system/c2d.m, control/system/is_abcd.m, control/system/is_controllable.m, control/system/is_detectable.m, control/system/is_observable.m, control/system/is_stable.m, - control/system/jet707.m, control/system/ord2.m, - control/system/starp.m, control/system/sys2fir.m, - control/system/sys2ss.m, control/system/sys2tf.m, - control/system/sys2zp.m, control/system/syscont.m, + control/system/jet707.m, control/system/ord2.m, + control/system/starp.m, control/system/sys2fir.m, + control/system/sys2ss.m, control/system/sys2tf.m, + control/system/sys2zp.m, control/system/syscont.m, control/system/sysdisc.m, control/system/sysdup.m, control/system/sysgettype.m, control/system/sysgroup.m, control/system/sysmult.m, control/system/sysprune.m, control/system/sysreorder.m, control/system/sysscale.m, control/system/syssetsignals.m, control/system/sysupdate.m, - control/system/tf2ss.m, control/system/tf2sys.m, - control/system/zp2ss.m, control/system/zp2sys.m, + control/system/tf2ss.m, control/system/tf2sys.m, + control/system/zp2ss.m, control/system/zp2sys.m, control/util/axis2dlim.m, control/util/prompt.m, - control/util/zgfmul.m, control/util/zginit.m, - control/util/__zgpbal__.m, control/util/zgscal.m: - Use @var, @strong, @command, @math, @acronym, @table and @cite + control/util/zgfmul.m, control/util/zginit.m, + control/util/__zgpbal__.m, control/util/zgscal.m: + Use @var, @strong, @command, @math, @acronym, @table and @cite in doc strings. - * control/base/bode_bounds.m, control/base/ctrb.m, control/base/dre.m, + * control/base/bode_bounds.m, control/base/ctrb.m, control/base/dre.m, control/base/dgram.m, control/base/dlyap.m, control/base/ltifr.m, control/base/nyquist.m, control/base/obsv.m, control/base/tzero.m, control/hinf/dgkfdemo.m, control/hinf/dhinfdemo.m, control/hinf/h2norm.m, control/hinf/h2syn.m, control/hinf/hinf_ctr.m, - control/hinf/hinfdemo.m, control/hinf/hinfnorm.m, + control/hinf/hinfdemo.m, control/hinf/hinfnorm.m, control/hinf/hinfsyn_chk.m, control/hinf/hinfsyn.m, control/hinf/wgt1o.m, control/obsolete/syschnames.m, control/system/c2d.m, control/system/fir2sys.m, @@ -9351,33 +9351,33 @@ New @tex section(s) in doc strings for better formating of printed output. - * control/base/__freqresp__.m, control/base/nyquist.m, + * control/base/__freqresp__.m, control/base/nyquist.m, control/base/__stepimp__.m, control/hinf/hinfdemo.m, control/obsolete/syschnames.m, control/system/sysprune.m: Use proper double quote marks for TeX. * control/base/DEMOcontrol.m: Add missing ; - * control/base/nichols.m, control/base/rlocus.m, + * control/base/nichols.m, control/base/rlocus.m, control/obsolete/minfo.m, control/system/is_digital.m, - control/system/ss2zp.m, control/system/sysmin.m, - control/system/tf2zp.m, control/util/sortcom.m: + control/system/ss2zp.m, control/system/sysmin.m, + control/system/tf2zp.m, control/util/sortcom.m: Convert documentation to use or more completely use Texinfo. - * control/base/rlocus.m, control/hinf/dhinfdemo.m, - control/hinf/hinfdemo.m, control/system/ord2.m, + * control/base/rlocus.m, control/hinf/dhinfdemo.m, + control/hinf/hinfdemo.m, control/system/ord2.m, control/system/parallel.m, control/system/ss2tf.m, control/system/starp.m: Use "@group ... @end group" to avoid ascii art splitting over a page boundary. - - * control/hinf/dgkfdemo.m, control/hinf/dhinfdemo.m, - control/hinf/h2norm.m, control/hinf/h2syn.m, control/hinf/hinf_ctr.m, - control/hinf/hinfdemo.m, control/hinf/hinfnorm.m, + + * control/hinf/dgkfdemo.m, control/hinf/dhinfdemo.m, + control/hinf/h2norm.m, control/hinf/h2syn.m, control/hinf/hinf_ctr.m, + control/hinf/hinfdemo.m, control/hinf/hinfnorm.m, control/hinf/hinfsyn_chk.m, control/hinf/hinfsyn.m, control/hinf/wgt1o.m, control/system/buildssic.m: Use {\cal H}_\infty for H-infinity and likewise for H-2 to the TeX documentation. - + * control/system/is_stabilizable.m: Add Copyright so that help is displayed correctly. @@ -9388,7 +9388,7 @@ * general/rotdim.m: New function for rotation of an N-d array in an arbitrary plane. - * general/flipdim.m: New function to flip an N-d array about an + * general/flipdim.m: New function to flip an N-d array about an arbitrary axis. 2004-09-15 David Bateman <dbateman@free.fr> @@ -9419,7 +9419,7 @@ 2004-08-31 David Bateman <dbateman@free.fr> - * general/bitcmp.m, general/bitget.m, general/bitset.m: Remove + * general/bitcmp.m, general/bitget.m, general/bitset.m: Remove limitation on the use of int64 and uint64 types, and the use of the eval. @@ -9627,7 +9627,7 @@ that results in NaN in places where it should not have had. * statistics/distributions/discrete_rnd.m: New argument formats to - allow creating arbitrary matrices, compatiable with the other + allow creating arbitrary matrices, compatiable with the other *_rnd.m functions. Maintain compatibility with previous format. * statistics/distributions/empirical_rnd.m: New argument formats @@ -9640,7 +9640,7 @@ statistics/distributions/hypergeometric_pdf.m, statistics/distributions/wiener_rnd.m: Error for non-scalar arguments. - + * statistics/distributions/pascal_rnd.m: Correct for n = 1 bug, where all elements were equal. @@ -9690,16 +9690,16 @@ statistics/base/moment.m, statistics/base/range.m: Update for N-d arrays. * signal/fftshift.m: Fix dimensioning error. - + * statistics/base/std.m: Use repmat not ones(nr,1)*mean to allow N-d arrays. - + * general/mod.m, general/mod.m: Allow N-d arrays with one scalar arg. * signal/fftshift.m: Update for N-d arrays, allow optional dim arg. - + * specfun/erfinv.m, general/repmat.m: Update for N-d arrays. - + * control/base/bode.m, control/base/lqg.m, control/system/ss2sys.m, control/system/cellidx.m, control/system/dmr2d.m control/system/ss.m, control/system/sysprune.m: Doc update for usage of cell arrays. @@ -9903,7 +9903,7 @@ 2003-11-14 Gabriele Pannocchia <g.pannocchia@ing.unipi.it> * control/base/dare.m: Check positive (semi)definiteness and - dimensions of r (and q). + dimensions of r (and q). * control/base/dlqr.m: Check stabilizability of (A,B), detectability of (A,Q), and whether (A,Q) has non minimal modes near unit circle. @@ -9984,7 +9984,7 @@ * miscellaneous/dump_prefs.m: Delete define_all_return_values and default_return_value from the list. Add warn_undefined_return_values to the list. - + 2003-07-13 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -10019,7 +10019,7 @@ control/system/ugain.m, control/util/prompt.m, control/util/run_cmd.m, control/util/zgrownorm.m, control/util/zgshsr.m: - Improve conformance to Octave coding style. + Improve conformance to Octave coding style. * miscellaneous/dump_prefs.m: Add warn_resize_on_reange_error to the list. @@ -10165,7 +10165,7 @@ 2003-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> - * general/int2str.m: Do a better job with 0, Inf, and NaN, + * general/int2str.m: Do a better job with 0, Inf, and NaN, 2003-01-11 Paul Kienzle <pkienzle@users.sf.net> @@ -10378,7 +10378,7 @@ * plot/errorbar.m: Use __errcomm__.m. * plot/__errplot__.m: Minor cleanups. - * plot/__pltopt__.m: Handle boxxyerrorbars plot style. + * plot/__pltopt__.m: Handle boxxyerrorbars plot style. * plot/__pltopt1__.m: Likewise. 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -10441,7 +10441,7 @@ * audio/lin2mu.m: Accept matrices and [-1,1] normalized audio. Use optional parameter to specify the number of bits in the input. - * audio/mu2lin.m: Accept matrices, return n-bit integers or + * audio/mu2lin.m: Accept matrices, return n-bit integers or floats in the range [-1,1], 2x speedup. * strings/index.m, strings/rindex.m: Vectorize for speed. @@ -10506,9 +10506,9 @@ Code tidying. 2002-03-07 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> - + * statistics/base/center.m: Accept and return empty matrix. - + 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> * specfun/erfinv.m: Fix usage message. @@ -10598,7 +10598,7 @@ 2000-12-15 Ben Sapp <bsapp@lanl.gov> * control/system/c2d.m: Allow option of matched pole/zero - equivalent for conversion. + equivalent for conversion. 2000-12-15 Matthew W. Roberts <matt@lehi.tamu.edu> @@ -10679,7 +10679,7 @@ 2000-06-06 John W. Eaton <jwe@bevo.che.wisc.edu> * general/logical.m: Return arg if it is empty. Better error - message for non-numeric types. + message for non-numeric types. 2000-05-31 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> @@ -10699,7 +10699,7 @@ 2000-05-13 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> * strings/strrep.m: Avoid for loop for speed. - * plot/axis.m: Handle string options for Matlab compatibility. + * plot/axis.m: Handle string options for Matlab compatibility. 2000-04-04 John Smith <john@arrows.demon.co.uk> @@ -10716,7 +10716,7 @@ 2000-03-22 John W. Eaton <jwe@bevo.che.wisc.edu> - * plot/title.m, plot/bottom_title.m, plot/top_title.m: + * plot/title.m, plot/bottom_title.m, plot/top_title.m: Undo string escapes in text twice(!) before sending to gnuplot. * image/saveimage.m: Add comment to file saying who created it and @@ -12095,7 +12095,7 @@ Wed Oct 28 11:51:14 1998 John W. Eaton <jwe@bevo.che.wisc.edu> - * general/is_square.m: + * general/is_square.m: * general/isempty.m, general/is_matrix.m: Delete. @@ -12113,7 +12113,7 @@ Fri Oct 23 00:21:55 1998 John W. Eaton <jwe@bevo.che.wisc.edu> * configure.in: Add finance/Makefile, statistics/base/Makefile, - statistics/distributions/Makefile, statistics/models/Makefile, + statistics/distributions/Makefile, statistics/models/Makefile, and statistics/tests/Makefile to the list of files to create. * finance/Makefile.in, statistics/base/Makefile.in, @@ -12132,7 +12132,7 @@ ols.m skewness.m std.m - + New files, from Kurt Hornik's octave-ci package: * finance (new directory): @@ -12297,7 +12297,7 @@ weibull_pdf.m weibull_rnd.m wiener_rnd.m - + * statistics/models (new directory): logistic_regression.m @@ -12879,7 +12879,7 @@ * miscellaneous/bug_report.m: Don't redirect output to /dev/tty in system command. - + Fri Jul 12 12:24:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * __plr1__.m: Renamed from polar_int_1.m. @@ -13085,9 +13085,9 @@ Thu Sep 14 03:56:19 1995 John Eaton <jwe@bevo.che.wisc.edu> - * special-matrix/hankel.m: Compatibility fix. Complain if + * special-matrix/hankel.m: Compatibility fix. Complain if r(1) != c(nr), not if r(1) != c(1). - + * signal/filter.m: Doc fix. Wed Sep 13 03:19:05 1995 John Eaton <jwe@bevo.che.wisc.edu>
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -400,7 +400,7 @@ F__ftp_mget__): New functions. 2009-11-27 Jaroslav Hajek <highegg@gmail.com> - + * ov.cc (octave_value::octave_value (const index_vector&)): Take a copy if idx to allow mutation. @@ -664,7 +664,7 @@ draw line around zoom box. (Fl_Gl_Window::zoom_box_vertex): New function. (Fl_Gl_Window::pixel2status): Call canvas->redraw, not canvas->redraw_overlay. - + 2009-11-10 Shai Ayal <shaiay@users.sourceforge.net> * gl2ps-renderer.cc, gl2ps-renderer.h, gl2ps.c, gl2ps.h: New @@ -1143,7 +1143,7 @@ 2009-10-01 Jaroslav Hajek <highegg@gmail.com> - * DLD-FUNCTIONS/cellfun.cc + * DLD-FUNCTIONS/cellfun.cc (do_num2cell_helper, do_num2cell): New funcs. (Fnum2cell): Rewrite. (do_cellslices_nda): Do not leave trailing dims. @@ -1445,7 +1445,7 @@ * ov-class.cc (get_current_method_class): Simplify. (octave_class::in_class_method): Don't rely on multiple copies of methods. Don't declare as const. - (octave_class::octave_class (const Octave_map&, const std::string&, + (octave_class::octave_class (const Octave_map&, const std::string&, const octave_value_list&)): Call symbol_table::add_to_parent_map instead. * ov-class.h (octave_class::in_class_method): Don't declare as const. @@ -1504,7 +1504,7 @@ 2009-08-26 Rob Mahurin <rob@utk.edu> * syscalls.cc: Recommend waitpid() in popen2() documentation. - + 2009-08-25 John W. Eaton <jwe@octave.org> * graphics.cc (gnuplot_backend::send_quit): Wait for gnuplot process. @@ -1891,7 +1891,7 @@ (token_type): New enum values: scls_rec_token, meta_rec_token. (end_tok_type): New enum values: classdef_end, events_end, methods_end, properties_end. - + 2009-07-30 David Grundberg <individ@acc.umu.se> * symtab.h (symbol_table::parent_scope): Remove. @@ -2058,7 +2058,7 @@ constructor. (octave_fcn_handle::do_multi_index_op): New method decl. (octave_fcn_handle::is_overloaded): New method. - * ov-fcn-handle.cc + * ov-fcn-handle.cc (octave_fcn_handle::do_multi_index_op): New method. (octave_fcn_handle::subsref): Rewrite using do_multi_index_op. (octave_fcn_handle::make_fcn_handle): Construct overloaded handles if @@ -2069,8 +2069,8 @@ 2009-07-22 Jaroslav Hajek <highegg@gmail.com> - * symtab.cc (symbol_table::find, - symbol_table::find_function, + * symtab.cc (symbol_table::find, + symbol_table::find_function, symbol_table::symbol_record::find, symbol_table::fcn_info::find, symbol_table::fcn_info::fcn_info_rep::find, @@ -2100,7 +2100,7 @@ 2009-07-20 Jaroslav Hajek <highegg@gmail.com> * bitfcns.cc (DO_UBITSHIFT): Avoid overflow. - (DO_SBITSHIFT): Fix mask calculation. + (DO_SBITSHIFT): Fix mask calculation. 2009-07-17 Benjamin Lindner <lindnerb@users.sourceforge.net> @@ -2147,8 +2147,8 @@ cache on successful queries. 2008-07-01 David Bateman <dbateman@free.fr> - - * pr-output.cc (static inline std::string rational_approx (double, + + * pr-output.cc (static inline std::string rational_approx (double, int)): Test for underflow of fractional part of rational approximation earlier in the loop. @@ -2569,7 +2569,7 @@ * Makefile.in: Add CARBON_LIBS to OCTINTERP_LINK_DEPS. From Bernard Desgraups <bdesgraupes@orange.fr>. - + 2009-06-02 Jaroslav Hajek <highegg@gmail.com> * ov-base.cc (octave_base_value::numeric_assign): Gripe when no index @@ -2594,7 +2594,7 @@ 2009-05-26 John W. Eaton <jwe@octave.org> - * load-path.h, load-path.cc (load_path::files, load_path::do_files): + * load-path.h, load-path.cc (load_path::files, load_path::do_files): New arg, OMIT_EXTS. * help.cc (F__list_functions__): Call load_path::files with omit_exts set to true. @@ -2607,7 +2607,7 @@ * variables.cc (do_who): Use is_variable instead of is_defined. Also limit output to variables when using regexp pattern. * octave.cc (unmark_forced_vars): Delete. - (execute_eval_option_code): Don't add unmark_forced_vars to + (execute_eval_option_code): Don't add unmark_forced_vars to unwind_protect stack here. * toplev.cc (main_loop): Add symbol_table::unmark_forced_variables to the unwind_protect stack here. @@ -2702,9 +2702,9 @@ * toplev.h (octave_exit_func): New typedef. (octave_exit): Change to octave_exit_func. - + 2009-05-20 Jaroslav Hajek <highegg@gmail.com> - + * ov-typeinfo.cc: Don't include oct-obj.h. 2009-05-20 Jaroslav Hajek <highegg@gmail.com> @@ -2786,7 +2786,7 @@ * ov-class.cc (octave_class::load_binary, octave_class::load_hdf5, octave_class::load_ascii): Construct exemplar table and ensure inheritance is correct. - * ov-struct.cc (struct): Return struct from object. + * ov-struct.cc (struct): Return struct from object. 2009-05-07 John W. Eaton <jwe@octave.org> @@ -2803,7 +2803,7 @@ 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> - * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. + * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. 2009-05-07 John W. Eaton <jwe@octave.org> @@ -2967,7 +2967,7 @@ 2009-04-16 Jaroslav Hajek <highegg@gmail.com> * xpow.cc (same_sign): New helper function. - (elem_xpow (double, const Range&), elem_xpow (const Complex&, const Range&)): + (elem_xpow (double, const Range&), elem_xpow (const Complex&, const Range&)): Only optimize monotonic-magnitude integer ranges, start always from the smaller end. @@ -3002,7 +3002,7 @@ 2008-04-03 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/max.cc (MINMAX_SPARSE_BODY): Allow sparse boolean + * DLD-FUNCTIONS/max.cc (MINMAX_SPARSE_BODY): Allow sparse boolean values. 2009-04-01 Jaroslav Hajek <highegg@gmail.com> @@ -3031,16 +3031,16 @@ 2009-03-26 Jaroslav Hajek <highegg@gmail.com> - * DLD-FUNCTIONS/find.cc + * DLD-FUNCTIONS/find.cc (find_nonzero_elem_idx (const Array<T>&, ...)): Move dimensions fixup to liboctave. 2009-03-26 Jaroslav Hajek <highegg@gmail.com> - * DLD-FUNCTIONS/find.cc + * DLD-FUNCTIONS/find.cc (find_nonzero_elem_idx (const Array<T>&, ...)): Simplify. Instantiate for bool and octave_int types. - (find_nonzero_elem_idx (const Sparse<T>&, ...)): + (find_nonzero_elem_idx (const Sparse<T>&, ...)): Instantiate for bool. (Ffind): Handle bool and octave_int cases. @@ -3088,7 +3088,7 @@ * ov-base.h (octave_base_value::get_parent_list, octave_base_value::parent_classes): New virtual functions. - * load-path.h, load-path.cc (load_path::parent_map): New data member. + * load-path.h, load-path.cc (load_path::parent_map): New data member. (load_path::add_to_parent_map): New static function. (load_path::do_add_to_parent_map): New member function. (load_path::do_find_method): Also look in parent classes for methods. @@ -3204,7 +3204,7 @@ 2009-03-13 John W. Eaton <jwe@octave.org> * parse.y (maybe_warn_assign_as_truth_value, make_binary_op, - maybe_warn_variable_switch_label, maybe_warn_associativity_change): + maybe_warn_variable_switch_label, maybe_warn_associativity_change): Print file and line number info if available. * lex.l (gripe_matlab_incompatible): Likewise. @@ -3266,7 +3266,7 @@ * OPERATORS/op-pm-template.cc: Update. 2009-03-11 Jaroslav Hajek <highegg@gmail.com> - + * xpow.cc (xpow (const PermMatrix&, double), xpow (const PermMatrix&, float)): New functions. * xpow.h: Declare them. @@ -3275,7 +3275,7 @@ 2009-03-11 Jaroslav Hajek <highegg@gmail.com> - * ov-ch-mat.cc (octave_char_matrix::double_value, + * ov-ch-mat.cc (octave_char_matrix::double_value, octave_char_matrix::float_value, octave_char_matrix::complex_value, octave_char_matrix::float_complex_value): Cast to unsigned char. @@ -3340,7 +3340,7 @@ * ls-mat-ascii.cc (get_mat_data_input_line): Likewise. * ls-oct-ascii.cc (extract_keyword, read_ascii_data): Likewise. * ls-oct-ascii.h (extract_keyword): Likewise. - + 2009-03-09 John W. Eaton <jwe@octave.org> * graphics.h.in (OCTAVE_DEFAULT_FONTNAME): New macro, defaults to "*". @@ -3454,7 +3454,7 @@ octave_base_value::float_diag_matrix_value, octave_base_value::float_complex_diag_matrix_value, octave_base_value::perm_matrix_value): New virtual methods. - + * ov-base.h: Declare them. * ov-base-diag.h (octave_base_diag::diag_matrix_value, @@ -3468,7 +3468,7 @@ * DLD-FUNCTIONS/det.cc (Fdet): Ditto. 2009-03-05 Jaroslav Hajek <highegg@gmail.com> - + * ls-hdf5.cc (add_hdf5_data): Handle diag & perm matrices. 2009-03-05 John W. Eaton <jwe@octave.org> @@ -3603,7 +3603,7 @@ after defining script. (finish_function): Call symbol_table::clear_forced_variables instead of symbol_table::clear_variables. - + * DLD-FUNCTIONS/chol.cc: Correct spelling of CHOLMOD in tests. * version.h (OCTAVE_VERSION): Now 3.1.53+. @@ -3658,7 +3658,7 @@ 2009-02-24 Jaroslav Hajek <highegg@gmail.com> - * ov-scalar.h + * ov-scalar.h (octave_scalar::int8_scalar_value): New method. (octave_scalar::int16_scalar_value): New method. (octave_scalar::int32_scalar_value): New method. @@ -3668,7 +3668,7 @@ (octave_scalar::uint32_scalar_value): New method. (octave_scalar::uint64_scalar_value): New method. - * ov-float.h + * ov-float.h (octave_float_scalar::int8_scalar_value): New method. (octave_float_scalar::int16_scalar_value): New method. (octave_float_scalar::int32_scalar_value): New method. @@ -3754,7 +3754,7 @@ * OPERATORS/op-cs-scm.cc, OPERATORS/op-cs-sm.cc, OPERATORS/op-s-scm.cc, OPERATORS/op-s-sm.cc, OPERATORS/op-scm-cs.cc, OPERATORS/op-scm-s.cc, - OPERATORS/op-sm-cs.cc, OPERATORS/op-sm-s.cc: Don't perform any + OPERATORS/op-sm-cs.cc, OPERATORS/op-sm-s.cc: Don't perform any narrowing to full matrices. 2009-02-20 Jaroslav Hajek <highegg@gmail.com> @@ -3865,7 +3865,7 @@ 2009-02-17 Olaf Till <olaf.till@uni-jena.de> - * DLD-FUNCTIONS/lsode.cc, DLD-FUNCTIONS/daspk.cc, + * DLD-FUNCTIONS/lsode.cc, DLD-FUNCTIONS/daspk.cc, DLD-FUNCTIONS/dassl.cc, DLD-FUNCTIONS/dasrt.cc: Documentation fixes. 2009-02-17 Kai Habel <kai.habel@gmx.de> @@ -3912,7 +3912,7 @@ * symtab.cc (symbol_table::fcn_info::fcn_info_rep::load_private_function): Pass dir_name to load_fcn_from_file. - + 2009-02-17 Jaroslav Hajek <highegg@gmail.com> * DLD-FUNCTIONS/data.cc (NATIVE_REDUCTION): Add BOOL_FCN argument. @@ -3996,7 +3996,7 @@ (is_keyword_token): Handle lexer_flags::at_beginning_of_statement. (next_token_can_follow_bin_op, looks_like_command_arg): New functions. - (handle_identifier): Use them to determine + (handle_identifier): Use them to determine Don't check is_command_name or is_rawcommand_name. * parse.y (statement): Recognize word_list_cmd here. (expression): Not here. @@ -4086,9 +4086,9 @@ 2009-02-11 Thomas Treichl <Thomas.Treichl@gmx.net> * gl-render.h: Use HAVE_FRAMEWORK_OPENGL. - * gl-render.cc (opengl_tesselator, opengl_renderer::draw, + * gl-render.cc (opengl_tesselator, opengl_renderer::draw, opengl_renderer::init_marker): Use HAVE_FRAMEWORK_OPENGL. - + 2009-02-11 Jaroslav Hajek <highegg@gmail.com> * ov.h (octave_value::issorted, octave_value::sortrows_idx, @@ -4205,7 +4205,7 @@ indexing case. (octave_base_mat::assign (const octave_value_list&, const MT&)): Specialize variable argument number. - (octave_base_mat::assign (const octave_value_list&, const + (octave_base_mat::assign (const octave_value_list&, const typename MT::element_type&)): New method overload with optimized scalar indexing case. @@ -4244,7 +4244,7 @@ * ov-typeinfo.cc (octave_value_typeinfo::do_register_type): Likewise. * ov-base.cc (octave_base_value::subsref (const std::string&, const std::list<octave_value_list>&, bool): Likewise. - * ov-flt-cx-diag.cc (octave_float_complex_diag_matrix::save_binary): + * ov-flt-cx-diag.cc (octave_float_complex_diag_matrix::save_binary): Likewise. * oct-hdf5.h: New file. @@ -4279,7 +4279,7 @@ * pt-eval.h (tree_evaluator::in_function_or_script_body): Delete member variable and all uses. (tree_evaluator::reset): Delete function and all uses. - + * pt-eval.cc, pt-eval.h (tree_evaluator::in_fcn_or_script_body, tree_evaluator::in_loop_command): New static variables. (tree_evaluator::visit_simple_for_command, @@ -4291,7 +4291,7 @@ (tree_evaluator::visit_statement): Only call echo_code if evaluating function or script and (Vecho_executing_commands & ECHO_FUNCTIONS). Use tree_evaluator::in_fcn_or_script_body - instead of evaluating_function_body. + instead of evaluating_function_body. * ov-usr-fcn.cc (octave_user_script::do_multi_index_op): octave_user_function::do_multi_index_op): Unwind-protect and set @@ -4355,7 +4355,7 @@ * pt-stmt.cc, pt-stmt.h (tree_statement::is_command, tree_statement::is_expression, tree_statement::line, tree_statement::column): Now const. - + * pt-stmt.cc (tree_statement::set_print_flag, tree_statement::is_end_of_fcn_or_script): New functions. * pt-stmt.h: Provide decl. @@ -4376,7 +4376,7 @@ * pt-decl.cc (tree_global_command::accept, tree_static_command::accept): New functions. - + * pt-stmt.cc (tree_statement::print_result): Move here from pt-stmt.h. Return true if expr is printable. @@ -4515,7 +4515,7 @@ * pt-check.h, pt-check.cc (tree_checker::visit_global_command, tree_checker::visit_static_command, tree_checker::do_decl_command): - New functions. + New functions. (tree_checker::visit_decl_command): Delete. * pt-select.cc (tree_switch_case::label_matches): Call rvalue1 @@ -4690,7 +4690,7 @@ 2009-01-24 Jaroslav Hajek <highegg@gmail.com> - * ov-struct.cc (octave_struct::subsasgn): Reshape cs-list on rhs + * ov-struct.cc (octave_struct::subsasgn): Reshape cs-list on rhs according to the index expression. * ov-cell.cc (octave_cell::subsasgn): Ditto. @@ -4708,12 +4708,12 @@ * help.cc (do_get_help_text, raw_help_from_symbol_table): new output to flag the a function is found but not documented. - + 2009-01-25 Søren Hauberg <hauberg@gmail.com> * help.cc (raw_help_from_file): No longer search for files called 'Contents.m', as this is moved to 'script/help.m'. - + 2009-01-23 John W. Eaton <jwe@octave.org> @@ -4729,7 +4729,7 @@ * ov-cell.cc (octave_cell::subsref): Declare constants as const. (octave_cell::subsasgn): Remove dead branch, declare constants as const. (octave_cell::list_value): Optimize. - * ov-struct.cc + * ov-struct.cc (octave_struct::subsref): Declare constants as const. (octave_struct::subsasgn): Remove dead branch, declare constants as const. * ov-cs-list.cc (octave_cs_list::octave_cs_list (const Cell&)): @@ -4818,7 +4818,7 @@ properties. 2009-01-21 Jaroslav Hajek <highegg@gmail.com> - + * OPERATORS/op-range.cc: Define & register range-scalar ops. 2009-01-21 Jaroslav Hajek <highegg@gmail.com> @@ -4845,7 +4845,7 @@ * pt-idx.cc (tree_index_expression::rvalue): Do not reevaluate already evaluated part of the index chain. (tree_index_expression::rvalue): Do not reevaluate already evaluated - part of the index chain. Do not actually perform trailing indexing. + part of the index chain. Do not actually perform trailing indexing. Do not allow indexing cs-lists. 2009-01-20 John W. Eaton <jwe@octave.org> @@ -4953,7 +4953,7 @@ 2009-01-12 Thorsten Meyer <thorsten.meyier@gmx.de> * strfns.cc (Fstrncmp): New test. - + 2009-01-12 John W. Eaton <jwe@octave.org> * pt-stmt.h (tree_statement::is_null_statement): New function. @@ -4983,12 +4983,12 @@ 2009-01-12 Thorsten Meyer <thorsten.meyier@gmx.de> * strfns.cc (Fstrvcap): New function. - + 2008-11-29 Thorsten Meyer <thorsten.meyier@gmx.de> - * strfns.cc (Fchar, Fischar, Fstrncmp, Flist_in_columns): + * strfns.cc (Fchar, Fischar, Fstrncmp, Flist_in_columns): Improve documentation strings. Add examples and tests. - + 2009-01-12 Jaroslav Hajek <highegg@gmail.com> * ov-perm.cc (octave_perm_matrix::do_index_op): Return shallow copy @@ -5007,7 +5007,7 @@ * data.cc (Ffull): New DEFUN. * DLD-FUNCTIONS/sparse.cc (Ffull): move to data.cc. 2009-01-11 Jaroslav Hajek <highegg@gmail.com> - + * ov.h (octave_value::is_copy_of): New method. * ov-struct.cc (numeric_conv): Add output parameter orig. (octave_struct::subsasgn): Temporarily erase duplicate lhs value prior @@ -5041,8 +5041,8 @@ 2009-01-09 Kai Habel <kai.habel@gmx.de> - * graphics.cc: Calculate normals for surface boundaries, use - more neighboring points to calculate interior normals + * graphics.cc: Calculate normals for surface boundaries, use + more neighboring points to calculate interior normals 2009-01-09 John W. Eaton <jwe@octave.org> @@ -5072,7 +5072,7 @@ 2009-01-08 Jaroslav Hajek <highegg@gmail.com> - * ov-cell.cc (octave_cell::subsasgn): Erase duplicate lhs value + * ov-cell.cc (octave_cell::subsasgn): Erase duplicate lhs value prior to assignment to avoid a redundant copy. 2008-12-26 Thorsten Meyer <thorsten.meyier@gmx.de> @@ -5081,7 +5081,7 @@ (Ftoupper), DLD-FUNCTIONS/regexp.cc (Fregexp), DLD-FUNCTIONS/regexp.cc (Fregexpi), DLD-FUNCTIONS/regexp.cc (Fregexprep): Add references. - + 2008-12-27 Jaroslav Hajek <highegg@gmail.com> * oct-obj.h, oct-obj.cc (octave_value_list::valid_scalar_indices): Remove. @@ -5147,9 +5147,9 @@ matrices and convert them to full prior to saving. 2008-12-11 Jaroslav Hajek <highegg@gmail.com> - - * ov-re-mat.cc (Fdouble): Handle diagonal & perm matrices. - * ov-flt-re-mat.cc (Fsingle): Handle diagonal & perm matrices. + + * ov-re-mat.cc (Fdouble): Handle diagonal & perm matrices. + * ov-flt-re-mat.cc (Fsingle): Handle diagonal & perm matrices. 2008-12-11 Jaroslav Hajek <highegg@gmail.com> @@ -5163,10 +5163,10 @@ * ov-flt-re-diag.cc (octave_float_diag_matrix::chk_valid_scalar): New method override. * ov-flt-re-diag.h: Declare it. - * ov-cx-diag.cc (octave_complex_diag_matrix::chk_valid_scalar): New + * ov-cx-diag.cc (octave_complex_diag_matrix::chk_valid_scalar): New method override. * ov-cx-diag.h: Declare it. - * ov-flt-cx-diag.cc (octave_float_complex_diag_matrix::chk_valid_scalar): + * ov-flt-cx-diag.cc (octave_float_complex_diag_matrix::chk_valid_scalar): New method override. * ov-flt-cx-diag.h: Declare it. @@ -5182,22 +5182,22 @@ 2008-12-07 Thorsten Meyer <thorsten.meyier@gmx.de> - * mappers.cc (Ftolower): Make lower alias of tolower, add tests - * mappers.cc (Ftoupper): Make upper alias of toupper, add tests + * mappers.cc (Ftolower): Make lower alias of tolower, add tests + * mappers.cc (Ftoupper): Make upper alias of toupper, add tests 2008-12-09 Jaroslav Hajek <highegg@gmail.com> * DLD-FUNCTIONS/balance.cc (Fbalance): Exploit the new AEPBAL functionality. 2008-12-08 Jaroslav Hajek <highegg@gmail.com> - - * xpow.cc ( xpow (const DiagMatrix& a, double b), - xpow (const DiagMatrix& a, const Complex& b), - xpow (const ComplexDiagMatrix& a, double b), - xpow (const ComplexDiagMatrix& a, const Complex& b), - xpow (const FloatDiagMatrix& a, float b), - xpow (const FloatDiagMatrix& a, const FloatComplex& b), - xpow (const FloatComplexDiagMatrix& a, float b), + + * xpow.cc ( xpow (const DiagMatrix& a, double b), + xpow (const DiagMatrix& a, const Complex& b), + xpow (const ComplexDiagMatrix& a, double b), + xpow (const ComplexDiagMatrix& a, const Complex& b), + xpow (const FloatDiagMatrix& a, float b), + xpow (const FloatDiagMatrix& a, const FloatComplex& b), + xpow (const FloatComplexDiagMatrix& a, float b), xpow (const FloatComplexDiagMatrix& a, const FloatComplex& b)): New methods. * xpow.h: Declare them. @@ -5237,7 +5237,7 @@ DLD-FUNCTIONS/ccolamd.cc, DLD-FUNCTIONS/cellfun.cc, DLD-FUNCTIONS/colamd.cc, DLD-FUNCTIONS/gcd.cc, DLD-FUNCTIONS/matrix_type.cc, DLD-FUNCTIONS/regexp.cc, - DLD-FUNCTIONS/symbfact.cc, DLD-FUNCTIONS/symrcm.cc: + DLD-FUNCTIONS/symbfact.cc, DLD-FUNCTIONS/symrcm.cc: Include oct-locbuf.h. 2008-12-05 Jaroslav Hajek <highegg@gmail.com> @@ -5249,8 +5249,8 @@ 2008-12-04 Thorsten Meyer <thorsten.meyier@gmx.de> - * strfns.cc (Fchar): Add test from str2mat.m - + * strfns.cc (Fchar): Add test from str2mat.m + 2008-12-04 Jaroslav Hajek <highegg@gmail.com> * ov.h (octave_value::is_perm_matrix): New method. @@ -5294,7 +5294,7 @@ 2008-12-01 Jaroslav Hajek <highegg@gmail.com> * ov-base.h (octave_base_value::is_diag_matrix): New virtual method. - * ops.h (CONCAT2, CONCAT3): New macros. Use CONCAT macros instead of + * ops.h (CONCAT2, CONCAT3): New macros. Use CONCAT macros instead of direct token pasting to avoid disabling argument prescan. * xdiv.cc, xdiv.h: Implement xdiv and xleftdiv overloads for diagonal and mixed dense-diagonal operands. @@ -5392,15 +5392,15 @@ * graphics.cc (F__go_delete__): Check validity of handles before deleting them to avoid issues with callback function also deleting the handles. - -2008-11-21 John Swensen <jpswensen@comcast.net> + +2008-11-21 John Swensen <jpswensen@comcast.net> * debug.cc (bp_table::do_get_breakpoint_list): Avoid modifying bp_map while iterating over it. 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> - * DLD-FUNCTIONS/eig.cc (Feig): Handle generalized eigenvalues and + * DLD-FUNCTIONS/eig.cc (Feig): Handle generalized eigenvalues and eigenvectors. 2008-11-19 Jaroslav Hajek <highegg@gmail.com> @@ -5441,8 +5441,8 @@ 2008-11-15 Thorsten Meyer <thorsten.meyier@gmx.de> - * strfns.cc (Fchar): adapt to conserve empty strings, add tests - + * strfns.cc (Fchar): adapt to conserve empty strings, add tests + 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> * dirfcn.cc (Ffilesep): Make it return all file separators when 'all' @@ -5478,7 +5478,7 @@ 2008-10-31 David Bateman <dbateman@free.fr> - * ov-base-scalar.h (octave_value octave_base_scalar::reshape + * ov-base-scalar.h (octave_value octave_base_scalar::reshape (const dim_vector&) const): New method. 2008-10-30 John W. Eaton <jwe@octave.org> @@ -5489,7 +5489,7 @@ * graphics.h.in (void image::init (void)): Add a constraint for logical cdata. - + * graphics.h.in (base_property::delete_listener): New method. (property::delete_listener): New method. (base_graphics_object::delete_listener): New method. @@ -5501,7 +5501,7 @@ (void base_graphics_object::remove_all_listeners (void)): New method (Fdellistener): New command to remove listener functions associated with a property. - + 2008-10-30 David Bateman <dbateman@free.fr> * graphics.h.in (axes::properties): Add keyreverse property. @@ -5547,7 +5547,7 @@ references to history_timestamp_format_string. * DLD-FUNCTIONS/luinc.cc (Fluinc): Remove reference to missing function cholinc. - + 2008-10-29 Jaroslav Hajek <highegg@gmail.com> * DLD-FUNCTIONS/qr.cc (Fcholinsert, Fcholdelete, Fcholshift): Fix @@ -5583,7 +5583,7 @@ (figure_manager::do_mark_modified): Rename from mark_modified. Now private. (figure_manager::do_get_size): Rename from get_size. Now private. - (figure_manager::close_all, figure_manager::do_new_window, + (figure_manager::close_all, figure_manager::do_new_window, figure_manager::do_delete_window, figure_manager::do_mark_modified, figure_manager::do_get_size): New static functions. @@ -5661,7 +5661,7 @@ 2008-10-16 David Bateman <dbateman@free.fr> - * graphics.cc (void axes::properties::set_defaults + * graphics.cc (void axes::properties::set_defaults (base_graphics_object&, const std::string&)): Preserve font and position properties if the axis is "replaced". @@ -5676,7 +5676,7 @@ 2008-10-12 David Bateman <dbateman@free.fr> - * pt-colon.cc (octave_value tree_colon_expression::make_range + * pt-colon.cc (octave_value tree_colon_expression::make_range (const octave_value&, const octave_value&, const octave_value&)): Treating class overloading of colon operator. (octave_value tree_colon_expression::rvalue (void)): Ditto. @@ -5718,28 +5718,28 @@ recursion in callback functions. (F__go_axes_init__): Flag error if handle is deleted during initialization due. - + 2008-10-09 David Bateman <dbateman@free.fr> - * ov-class.cc (Octave_map octave_class::map_value (void) const): + * ov-class.cc (Octave_map octave_class::map_value (void) const): Remove. - (bool octave_class::save_ascii (std::ostream&), + (bool octave_class::save_ascii (std::ostream&), bool octave_class::load_ascii (std::istream&), bool octave_class::save_binary (std::ostream&, bool&), bool octave_class::save_binary (std::ostream&, bool&), bool octave_class::save_hdf5 (hid_t, const char *, bool), bool octave_class::load_hdf5 (hid_t, const char *, bool)): Allow saving and reloading of classes. - * ov-class. (Octave_map octave_class::map_value (void) const): + * ov-class. (Octave_map octave_class::map_value (void) const): Remove. - * ls-mat.cc (std::string read_mat5_binary_element (std::istream&, - const std::string&, bool, bool&, octave_value&), + * ls-mat.cc (std::string read_mat5_binary_element (std::istream&, + const std::string&, bool, bool&, octave_value&), int save_mat5_element_length (const octave_value&, const std::string&, - bool, bool)): Allow saving and loading of classes. - * ls-oct-ascii.h (template <class T> bool extract_keyword + bool, bool)): Allow saving and loading of classes. + * ls-oct-ascii.h (template <class T> bool extract_keyword (std::istream&, const char *, T&, const bool)): Initialize value with null constructor rather than 0. - + 2008-10-07 David Bateman <dbateman@free.fr> * graphics.cc (F__go_delete__): Allow arrays of graphic handles. @@ -5794,7 +5794,7 @@ 2008-09-29 David Bateman <dbateman@free.fr> - * symtab.cc (octave_value symbol_table::find_function + * symtab.cc (octave_value symbol_table::find_function (const std::string&, tree_argument_list *, const string_vector&, octave_value_list&, bool&)): If first character of function name is "@" then look for class specific method. @@ -5826,13 +5826,13 @@ * ov.h (octave_value::is_null_value, octave_value::non_null_value, octave_value::make_non_null_value): Declare new member functions. - * ov.cc (octave_value:non_null_value, octave_value::make_non_null_value): + * ov.cc (octave_value:non_null_value, octave_value::make_non_null_value): Define them. - (octave_value::assign (assign_op op, const octave_value& rhs)): + (octave_value::assign (assign_op op, const octave_value& rhs)): (register_types): Register null types. Call non_null_value (). * oct-obj.cc (octave_value_list::normalize_null_values): New member - function. + function. * oct-obj.h (octave_value_list::normalize_null_values): Declare it. * ov-base.h (is_null_value): New virtual member function. * ops.h (NULLASSIGNOPDECL, DEFNULLASSIGNOP_FN): New macros. @@ -5840,7 +5840,7 @@ * ov-base-mat.h: Declare it. * ov-base-sparse.cc (octave_base_sparse<MT>::delete_elements): New member func. * ov-base-sparse.h: Declare it. - * ov-cell.cc (octave_cell:subsasgn): Handle null values. + * ov-cell.cc (octave_cell:subsasgn): Handle null values. * ov-struct.cc (octave_cell:subsasgn): Handle null values. * ov-builtin.cc (octave_builtin::do_multi_index_op): Normalize return values. @@ -5927,23 +5927,23 @@ 2008-09-22 David Bateman <dbateman@free.fr> - * debug.cc (static octave_user_code * get_user_code + * debug.cc (static octave_user_code * get_user_code (const std::string&)): Only check user code as break points can't be set in builtins or oct-files. - (bp_table::intmap bp_table::do_remove_all_breakpoints_in_file - (const std::string&, bool)): Add flag to silence the error message + (bp_table::intmap bp_table::do_remove_all_breakpoints_in_file + (const std::string&, bool)): Add flag to silence the error message from this function if a user code with breakpoints is not found. - (bp_table::fname_line_map bp_table::do_get_breakpoint_list (const + (bp_table::fname_line_map bp_table::do_get_breakpoint_list (const octave_value_list&)): Do an ourt of date check on the function before checking the breakpoints. - * debug.h (do_remove_all_breakpoints_in_file, + * debug.h (do_remove_all_breakpoints_in_file, remove_all_breakpoints_in_file): Add flag to silence error message. * symtab.cc (out_of_date_check_internal): Clear breakpoints in - function if out_of_date. split into two versions taking the + function if out_of_date. split into two versions taking the octave_function pointer seperately or not. * symtab.h (bool out_of_date_check (octave_function*)): New function. - + 2008-09-18 David Bateman <dbateman@free.fr> * DLD-FUNCTIONS/fftw.cc (Ffftw): Clarify the documentation. @@ -5964,7 +5964,7 @@ * pt-mat.h (std::string get_concat_class (const std::string&, const std::string&), void maybe_warn_string_concat (bool, bool)): Define extern here. - + * DLD-FUNCTIONS/sparse.cc (Fsparse): Clarify the help string. 2008-09-10 John W. Eaton <jwe@octave.org> @@ -6008,7 +6008,7 @@ (Fmlock): Lock caller. * symtab.cc (out_of_date_check_internal): If dispatch type is set, - check for method. If that fails, check for regular function. + check for method. If that fails, check for regular function. 2008-09-02 Michael Goffioul <michael.goffioul@gmail.com> @@ -6028,7 +6028,7 @@ (array_property::is_equal): In macro CHECK_ARRAY_EQUAL, special case scalar case and keep copy of array value to avoid early destruction of converted array values. - + 2008-08-28 David Bateman <dbateman@free.fr> * graphics.h.in (root_figure::properties::showhiddenhandles): @@ -6036,7 +6036,7 @@ 2008-08-27 Jaroslav Hajek <highegg@gmail.com> - * DLD-FUNCTIONS/__glpk__.cc (F__glpk__): Initialize output vectors + * DLD-FUNCTIONS/__glpk__.cc (F__glpk__): Initialize output vectors by NA value. 2008-08-26 Ben Abbott <bpabott@mac.com> @@ -6197,7 +6197,7 @@ 2008-08-25 David Bateman <dbateman@free.fr> - * graphics.cc (void gh_manager::do_execute_callback + * graphics.cc (void gh_manager::do_execute_callback (const graphics_handle&, const octave_value&, const octave_value&)): Don't pass the function handle as first arg of property listener functions @@ -6214,7 +6214,7 @@ symbol_table, not scope id. Insert all variables from donor scope. 2008-08-21 Thomas Treichl <Thomas.Treichl@gmx.net> - + * mappers.cc: Increase test script tolerance. 2008-08-20 John W. Eaton <jwe@octave.org> @@ -6233,7 +6233,7 @@ load-path::find_dir (const std::string&) const): New methods. * utils.cc (std::string contents_file_in_path (const std::string&)): New function. - * utils.h (std::string contents_file_in_path (const std::string&)): + * utils.h (std::string contents_file_in_path (const std::string&)): Declare it. * help.cc (static bool raw_help_from_file (const std::string&, std::string&, std::string&, bool&)): Also check is requested @@ -6285,9 +6285,9 @@ * DLD-FUNCTIONS/__glpk__.cc (F__glpk__): Checks whether LB and UB are of proper size. - * oct-obj.cc, oct-obj.h (octave_value_list::make_argv): + * oct-obj.cc, oct-obj.h (octave_value_list::make_argv): Allow calling without fcn_name. - * load-save.cc (parse_save_options (const string_vector&, ...)): + * load-save.cc (parse_save_options (const string_vector&, ...)): Return string_vector with parsed arguments removed instead. (parse_save_options (const std::string&, ...)): Ditto. (Fsave): Fix calls to parse_save_options. @@ -6300,7 +6300,7 @@ * pt-fcn-handle.cc (tree_anon_fcn_handle::rvalue): Call stash_parent_function_scope for user function. - * ov-fcn-inline.cc (octave_fcn_inline::octave_fcn_inline): + * ov-fcn-inline.cc (octave_fcn_inline::octave_fcn_inline): Likewise. * ov-struct.cc (octave_struct::subsref): Don't allow resizing for @@ -6351,7 +6351,7 @@ * toplev.cc, toplev.h (octave_call_stack::do_backtrace_error_message): Rename from octave_call_stack::backtrace_error_message. * toplev.h (octave_call_stack::backtrace_error_message): - New public static function. + New public static function. 2008-08-05 John W. Eaton <jwe@octave.org> @@ -6367,7 +6367,7 @@ (octave_call_stack::do_pop): Call backtrace_error_message if error_state is nonzero. - * pt-unop.cc (tree_prefix_expression::eval_error, + * pt-unop.cc (tree_prefix_expression::eval_error, tree_postfix_expression::eval_error): Delete. Eliminate all uses. * pt-unop.h: Delete decls. @@ -6527,7 +6527,7 @@ last_warning_message): Declare them. * DLD-FUNCTIONS/cellfun.cc (Fcellfun): Use them to pass the error to the ErrorHandler function. - + 2008-07-28 John W. Eaton <jwe@octave.org> * error.cc (Flasterror, Flasterr): Unwind-protect error_state. @@ -6668,7 +6668,7 @@ 2008-07-17 Jaroslav Hajek <highegg@gmail.com> - * Makefile.in (convhulln.oct, __delaunayn__.oct, __voronoi__.oct, + * Makefile.in (convhulln.oct, __delaunayn__.oct, __voronoi__.oct, regexp.oct, urlwrite.oct, __glpk__.oct, fltk_backend.oct): Use OCT_LINK_DEPS instead of DL_LDFLAGS for target-specific dependencies. @@ -6735,7 +6735,7 @@ 2008-07-14 John W. Eaton <jwe@octave.org> - * Makefile.in (convhulln.oct, __delaunayn__.oct, __voronoi__.oct, + * Makefile.in (convhulln.oct, __delaunayn__.oct, __voronoi__.oct, regexp.oct, urlwrite.oct, __glpk__.oct, fltk_backend.oct): Simplify with target-specific settings for DL_LDFLAGS. @@ -6787,7 +6787,7 @@ octave_call_stack::caller_user_script, octave_call_stack::do_caller_user_function, octave_call_stack::do_caller_user_script): - Delete functions and decls. + Delete functions and decls. * defun.cc (print_usage): Call octave_call_stack::caller_user_code, not octave_call_stack::caller_user_function. @@ -6795,7 +6795,7 @@ * toplev.h (octave_call_stack::difference_type): Delete typedef. * toplev.cc, toplev.h (octave_call_stack::caller_user_code_line, - octave_call_stack::do_caller_user_code_line, + octave_call_stack::do_caller_user_code_line, octave_call_stack::caller_user_code_column, octave_call_stack::do_caller_user_code_column, octave_call_stack::caller_script, @@ -6818,13 +6818,13 @@ * DLD-FUNCTIONS/lookup.cc (assign): Delete. (Flookup): Use new NDArray constructors rather than assign. - * data.cc (Fsort): Use new NDArray constructors rather than + * data.cc (Fsort): Use new NDArray constructors rather than directly assigning. * besselj.cc (int_array2_to_matrix, int_arrayn_to_array, int_array2_to_float_matrix, int_arrayn_to_float_array): Delete. (do-bessel): Use new NDArray constructors. * max.cc (MINMAX_SPARSE_BODY, MINMAX_INT_BODY, MINMAX_SINGLE_BODY, - MINMAX_DOUBLE_BODY): Use new NDArray constructors. + MINMAX_DOUBLE_BODY): Use new NDArray constructors. * ov-bool.h (array_value, float_array_value): Explictly cast boolean scalar to double before the assignment to avoid ambiguity. @@ -6832,7 +6832,7 @@ * ls-mat4.cc (read_mat_binary_data, save_mat_binary_data): Add loading and saving of sparse matrices. - + 2008-07-10 Michael Goffioul <michael.goffioul@gmail.com> * Makefile.in: Add OPENGL_LIBS to liboctinterp link command. Add @@ -6886,8 +6886,8 @@ 2008-07-09 David Bateman <dbateman@free.fr> - * pt-id.cc (octave_value_list tree_identifier::rvalue (int), - octave_lvalue tree_identifier::lvalue (void)): Remove + * pt-id.cc (octave_value_list tree_identifier::rvalue (int), + octave_lvalue tree_identifier::lvalue (void)): Remove MAYBE_DO_BREAKPOINT. 2008-07-08 John W. Eaton <jwe@octave.org> @@ -6924,7 +6924,7 @@ * toplev.cc (octave_call_stack::do_num_user_code_frames): New function. - (octave_call_stack::do_backtrace): New arg, curr_user_frame. + (octave_call_stack::do_backtrace): New arg, curr_user_frame. Rename nframes arg to nskip. Correctly handle curr_frame not at end of stack. (octave_call_stack::do_goto_frame_relative): Rename n arg to nskip. @@ -6981,7 +6981,7 @@ (column_vector_value, complex_column_vector_value, float_column_vector_value, float_complex_column_vector_value, row_vector_value, complex_row_vector_value, - float_row_vector_value, float_complex_row_vector_value): + float_row_vector_value, float_complex_row_vector_value): Simplify to trivial wrappers. (int_vector_value): Avoid conversions if integer type, query N-d array value, simplify. @@ -7038,7 +7038,7 @@ 2008-06-25 David Bateman <dbateman@free.fr> * pr-output.cc (Frats): Print usage if nargin == 0. - + 2008-06-10 John W. Eaton <jwe@octave.org> * mexproto.h (mxCreateLogicalScalar): Declar arg as mxLogical, not int. @@ -7056,7 +7056,7 @@ * toplev.h: Provide decls. (octave_call_stack::caller_user_code_line, octave_call_stack::caller_user_code_column): New functions. - (octave_call_stack::current_line, octave_call_stack::current_column): + (octave_call_stack::current_line, octave_call_stack::current_column): Default return value is -1, not 0. 2008-06-06 John W. Eaton <jwe@octave.org> @@ -7179,7 +7179,7 @@ figure_manager class (plot_window::pixel2pos): Modified to use axes::pixel2coord (plot_window::pixel2staus): Modified to use pixel2pos - (plot_window::handle): Added zoom with mouse + (plot_window::handle): Added zoom with mouse 2008-02-24 Shai Ayal <shaiay@users.sourceforge.net> @@ -7193,7 +7193,7 @@ * fltk_backend/fltk_backend.cc (plot_window::mark_modifed): mark the whole window as damaged (otherwise changing figure.postion does not have immediate effect) - (plot_window::draw): New function, checks for window size + (plot_window::draw): New function, checks for window size (__fltk_maxtime__): New DEFUN to allow tweaking of fltk timeout (__fltk_redraw__): Use fltk_maxtime as timeout @@ -7220,7 +7220,7 @@ * fltk_backend/Makefile.in: initial import * fltk_backend/fltk_backend.cc: initial import - + 2008-02-20 Michael Goffioul <michael.goffioul@gmail.com> @@ -7809,7 +7809,7 @@ (is_single_type): New method. * ov-flt-re-mat.cc (lgamma, acosh, log, log2, log10, log1p, sqrt): Use single precision infinity value. - + * chol.cc (Fcholinv, Fchol2inv, Fcholupdate, Fcholinsert, Fcholdelete, Fcholshift): Allow single precision arguments. (Fchol): Move test code here. Add test code for single precision. @@ -7838,10 +7838,10 @@ * schur.cc (Fschur): Ditto. * svd.cc (Fsvd): Ditto. * syl.cc (Fsyl): Ditto. - - * op-fcm-fcm.cc, op-fcm-fcs.cc, op-fcm-fm.cc, op-fcm-fs.cc, - op-fcs-fcm.cc, op-fcs-fcs.cc, op-fcs-fm.cc, op-fcs-fs.cc, - op-fm-fcm.cc, op-fm-fcs.cc, op-fm-fm.cc, op-fm-fs.cc, + + * op-fcm-fcm.cc, op-fcm-fcs.cc, op-fcm-fm.cc, op-fcm-fs.cc, + op-fcs-fcm.cc, op-fcs-fcs.cc, op-fcs-fm.cc, op-fcs-fs.cc, + op-fm-fcm.cc, op-fm-fcs.cc, op-fm-fm.cc, op-fm-fs.cc, op-fs-fcm.cc, op-fs-fcs.cc, op-fs-fm.cc, op-fs-fs.cc: Add mixed double, single precision concatenation operators. @@ -7868,7 +7868,7 @@ * DLD-FUNCTIONS/fsolve.cc (fsolve_user_function, fsolve_user_jacobian): Reshape argument to original dims before - passing. + passing. (Ffsolve): Save original dimensions of the starting guess and reshape on return. Fix tests. @@ -7901,25 +7901,25 @@ (xgemm): Call ZSYRK/ZHERK if symmetric/hermitian case detected. * ov.h (octave_value::compound_binary_op): New enum. - (do_binary_op (octave_value::compound_binary_op, ...), + (do_binary_op (octave_value::compound_binary_op, ...), octave_value::binary_op_fcn_name (compound_binary_op), octave_value::do_binary_op (compound_binary_op, ...)): New declarations. (OV_COMP_BINOP_FN): New macro (+ several expansions). * ov.cc (octave_value::binary_op_fcn_name (compound_binary_op), - decompose_binary_op, do_binary_op (compound_binary_op, ...)): - New functions. - * ov-typeinfo.h (octave_value_typeinfo::register_binary_class_op + decompose_binary_op, do_binary_op (compound_binary_op, ...)): + New functions. + * ov-typeinfo.h (octave_value_typeinfo::register_binary_class_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::register_binary_op + octave_value_typeinfo::register_binary_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::do_register_binary_class_op + octave_value_typeinfo::do_register_binary_class_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::do_register_binary_op + octave_value_typeinfo::do_register_binary_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::do_lookup_binary_class_op + octave_value_typeinfo::do_lookup_binary_class_op (octave_value::compound_binary_op), - octave_value_typeinfo::do_lookup_binary_op + octave_value_typeinfo::do_lookup_binary_op (octave_value::compound_binary_op, ...)): New declarations. (octave_value_typeinfo::lookup_binary_class_op @@ -7928,19 +7928,19 @@ (octave_value::compound_binary_op, ...)): New functions. (octave_value_typeinfo::compound_binary_class_ops, - octave_value_typeinfo::compound_binary_ops): + octave_value_typeinfo::compound_binary_ops): New fields. - * ov-typeinfo.cc (octave_value_typeinfo::register_binary_class_op + * ov-typeinfo.cc (octave_value_typeinfo::register_binary_class_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::register_binary_op + octave_value_typeinfo::register_binary_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::do_register_binary_class_op + octave_value_typeinfo::do_register_binary_class_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::do_register_binary_op + octave_value_typeinfo::do_register_binary_op (octave_value::compound_binary_op, ...), - octave_value_typeinfo::do_lookup_binary_class_op + octave_value_typeinfo::do_lookup_binary_class_op (octave_value::compound_binary_op), - octave_value_typeinfo::do_lookup_binary_op + octave_value_typeinfo::do_lookup_binary_op (octave_value::compound_binary_op, ...)): New functions. (octave_value::do_register_type): Resize also compound_binary_ops @@ -7956,7 +7956,7 @@ * parse.y (make_binary_op): Call maybe_compound_binary_expression. * OPERATORS/op-m-m.cc (trans_mul, mul_trans): New operator handlers. (install_m_m_ops): Register them. - * OPERATORS/op-cm-cm.cc (trans_mul, mul_trans, herm_mul, mul_herm): + * OPERATORS/op-cm-cm.cc (trans_mul, mul_trans, herm_mul, mul_herm): New operator handlers. (install_cm_cm_ops): Register them. @@ -7979,7 +7979,7 @@ 2008-05-21 John W. Eaton <jwe@octave.org> - * pt-idx.h (tree_index_expression::tree_index_expression (int, int)): + * pt-idx.h (tree_index_expression::tree_index_expression (int, int)): Delete default argument values. 2008-05-20 David Bateman <dbateman@free.fr> @@ -7999,17 +7999,17 @@ * ov-float.cc, ov-float.h, ov-flt-complex.cc, ov-flt-complex.h, ov-flt-cx-mat.cc, ov-flt-cx-mat.h, ov-flt-re-mat.cc, - ov-flt-re-mat.h (numeric_conversion_function (void) const): + ov-flt-re-mat.h (numeric_conversion_function (void) const): Remove method. * ov-complex.cc, ov-complex.h, ov-cx-mat.cc, ov-cx-mat.h, - ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, ov-scalar.h + ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, ov-scalar.h (numeric_conversion_function (void) const): Add method for conversion to single precision. * DLD-FUNCTIONS/conv2.cc (Fconv2): Don't access third arg if we don't have one. - + * DLD-FUNCTIONS/balance.cc, DLD-FUNCTIONS/expm.cc, DLD-FUNCTIONS/find.cc, DLD-FUNCTIONS/hess.cc, DLD-FUNCTIONS/qr.cc: COnvert for use with single precision. @@ -8017,12 +8017,12 @@ * OPERATORS/op-int.h, OPERATORS/op-int-conv.cc, OPERATORS/op-int-concat.cc: Adapt for single precision. - * OPERATORS/op-i8-i8.cc, OPERATORS/op-i16-i16.cc, - OPERATORS/op-i32-i32.cc, OPERATORS/op-i64-i64.cc, - OPERATORS/op-ui8-ui8.cc, OPERATORS/op-ui16-ui16.cc, + * OPERATORS/op-i8-i8.cc, OPERATORS/op-i16-i16.cc, + OPERATORS/op-i32-i32.cc, OPERATORS/op-i64-i64.cc, + OPERATORS/op-ui8-ui8.cc, OPERATORS/op-ui16-ui16.cc, OPERATORS/op-ui32-ui32.cc, OPERATORS/op-ui64-ui64.cc: Add includes for single precision types. - + * OPERATORS/op-b-b.cc, OPERATORS/op-b-bm.cc, OPERATORS/op-bm-b.cc, OPERATORS/op-fcm-fs.cc, OPERATORS/op-fcs-fs.cc, OPERATORS/op-fm-fs.cc, OPERATORS/op-fs-fcm.cc, @@ -8031,21 +8031,21 @@ ov-float.h, ov-flt-complex.cc, ov-float.cc, ov-flt-re-mat.cc, ov-flt-cx-mat.cc: Replace octave_float with octave_scalar_float - * OPERATORS/op-fm-fm.cc, OPERATORS/op-fm-fs.cc, - OPERATORS/op-fm-fcm.cc, OPERATORS/op-fm-fcs.cc, - OPERATORS/op-fs-fm.cc, OPERATORS/op-fs-fs.cc, - OPERATORS/op-fs-fcm.cc, OPERATORS/op-fs-fcs.cc, - OPERATORS/op-fcm-fm.cc, OPERATORS/op-fcm-fs.cc, - OPERATORS/op-fcm-fcm.cc, OPERATORS/op-fcm-fcs.cc, - OPERATORS/op-fcs-fm.cc, OPERATORS/op-fcs-fs.cc, - OPERATORS/op-fcs-fcm.cc, OPERATORS/op-fcs-fcs.cc, - OPERATORS/op-m-m.cc, OPERATORS/op-m-s.cc, - OPERATORS/op-m-cm.cc, OPERATORS/op-m-cs.cc, - OPERATORS/op-s-m.cc, OPERATORS/op-s-s.cc, - OPERATORS/op-s-cm.cc, OPERATORS/op-s-cs.cc, - OPERATORS/op-cm-m.cc, OPERATORS/op-cm-s.cc, - OPERATORS/op-cm-cm.cc, OPERATORS/op-cm-cs.cc, - OPERATORS/op-cs-m.cc, OPERATORS/op-cs-s.cc, + * OPERATORS/op-fm-fm.cc, OPERATORS/op-fm-fs.cc, + OPERATORS/op-fm-fcm.cc, OPERATORS/op-fm-fcs.cc, + OPERATORS/op-fs-fm.cc, OPERATORS/op-fs-fs.cc, + OPERATORS/op-fs-fcm.cc, OPERATORS/op-fs-fcs.cc, + OPERATORS/op-fcm-fm.cc, OPERATORS/op-fcm-fs.cc, + OPERATORS/op-fcm-fcm.cc, OPERATORS/op-fcm-fcs.cc, + OPERATORS/op-fcs-fm.cc, OPERATORS/op-fcs-fs.cc, + OPERATORS/op-fcs-fcm.cc, OPERATORS/op-fcs-fcs.cc, + OPERATORS/op-m-m.cc, OPERATORS/op-m-s.cc, + OPERATORS/op-m-cm.cc, OPERATORS/op-m-cs.cc, + OPERATORS/op-s-m.cc, OPERATORS/op-s-s.cc, + OPERATORS/op-s-cm.cc, OPERATORS/op-s-cs.cc, + OPERATORS/op-cm-m.cc, OPERATORS/op-cm-s.cc, + OPERATORS/op-cm-cm.cc, OPERATORS/op-cm-cs.cc, + OPERATORS/op-cs-m.cc, OPERATORS/op-cs-s.cc, OPERATORS/op-cs-cm.cc, OPERATORS/op-cs-cs.cc: Add mixed single/double assign operators. @@ -8054,7 +8054,7 @@ * ov-base.h (numeric_demotion_function): Declare virtual version. * ov-complex.cc, ov-complex.h, ov-cx-mat.cc, ov-cx-mat.h, - ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, ov-scalar.h + ov-re-mat.cc, ov-re-mat.h, ov-scalar.cc, ov-scalar.h (numeric_cdemote_function (void) const): Add method for conversion to single precision renamed from the method numeric_conversion_function @@ -8108,9 +8108,9 @@ * Makefile.in (DLD_XSRC): Add it here. * debug.cc (Fdbstop): If no line specified assume line 1. - (Fdbstep, Fdbcont, Fdbnext): Move debugging functions + (Fdbstep, Fdbcont, Fdbnext): Move debugging functions to normal commands. - (Fdbquit): New command to quit debugging mode and return to the + (Fdbquit): New command to quit debugging mode and return to the prompt. (Fdbstep): Modify the dbstep command for compatibility. * input.cc (Vdebugging_current_line): Store current line being @@ -8124,7 +8124,7 @@ debugged for use in DEFCMD versions of debug commands. * parse.y (make_return_command): Special handling in debug mode. * pt-bp.h (MAYBE_DO_BREAKPOINT): Support break in n lines needed - to support "dbstep N". + to support "dbstep N". * pt.cc (tree::break_next): Convert to a down counter to support break in N lines. Breakpoint occure when tree::break_next is zero. * toplev.cc (octave_user_script * @@ -8235,7 +8235,7 @@ * symtab.h (symbol_table::varref, symbol_table::do_varref, symbol_table::varval, symbol_table::do_varval, - symbol_table::all_variables, symbol_table::do_all_variables, + symbol_table::all_variables, symbol_table::do_all_variables, symbol_table::symbol_record::varref, symbol_table::symbol_record::varval, symbol_table::symbol_record::is_defined, @@ -8274,8 +8274,8 @@ symbol_table::lock_subfunctions, symbol_table::fcn_info::lock_subfunction, symbol_table::fcn_info::unlock_subfunction, - symbol_table::fcn_info::fcn_info_rep::lock_subfunction, - symbol_table::fcn_info::fcn_info_rep::unlock_subfunction): + symbol_table::fcn_info::fcn_info_rep::lock_subfunction, + symbol_table::fcn_info::fcn_info_rep::unlock_subfunction): New functions. * symtab.h (symbol_table::set_scope, symbol_table::get_instance): @@ -8298,7 +8298,7 @@ * parse.y (finish_function): Call symbol_table::cache_name here. * symtab.cc (F__dump_symtab_info__): New function. - + * symtab.cc (symbol_table::dump, symbol_table::dump_global, symbol_table::dump_functions, symbol_table::do_dump, symbol_table::symbol_record::symbol_record_rep::dump, @@ -8320,7 +8320,7 @@ * ov-mex-fcn.h (octave_mex_function::function_value): Likewise. * ov-usr-fcn.h (octave_user_script::function_value, octave_user_function): Likewise. - + * symtab.h, symtab.cc: Use consistent naming scheme for iterator typedefs. Change all uses. @@ -8432,7 +8432,7 @@ (symbol_table::do_push_context, symbol_table::do_pop_context): Increment/decrement xcurrent_context. (symbol_table::do_clear_global, symbol_table::do_clear_global_pattern): - Use global_table instead of separate scope. + Use global_table instead of separate scope. * symtab.h, symtab.cc (symbol_table::fcn_info::fcn_info_rep::find, symbol_table::fcn_info::fcn_info_rep::find_function, @@ -8484,7 +8484,7 @@ (do_keyboard): Unwind-protect Vdebugging here and set it to TRUE. Save current frame. Use unwind_protect to restore it. (Fkeyboard): Save current frame. Use unwind_protect to restore it. - Move up the call stack one frame before calling do_keyboard. + Move up the call stack one frame before calling do_keyboard. * input.h (Vdebugging): Provide decl. * mex.cc (mexGetVariable): Handle global vars with get_global_value. @@ -8633,12 +8633,12 @@ Delete unused function. * ov-usr-fcn.cc: Move constructor definitions here, from ov-usr-fcn.h. - * ov-usr-fcn.h (octave_user_script::octave_user_script): + * ov-usr-fcn.h (octave_user_script::octave_user_script): Also Initialize t_parsed and t_checked. 2008-04-24 Jaroslav Hajek <highegg@gmail.com> - * ov-usr-fcn.h (octave_user_script::octave_user_script): + * ov-usr-fcn.h (octave_user_script::octave_user_script): Initialize call_depth. 2008-04-24 John W. Eaton <jwe@octave.org> @@ -8691,7 +8691,7 @@ (handle_identifier): Don't use macros to return token values here. (<MATRIX_START>{S}*{COMMENT}{SNLCMT}*|<MATRIX_START>{S}*{NL}{SNLCMT}*): Recognize block comments here. - + * pr-output.cc (Fdisp): If nargout > 0, produce an sq-string unless arg is a dq-string. @@ -8761,7 +8761,7 @@ Avoid dereferencing invalid pointers. (parse_dbfunction_params): Call octave_call_stack::caller_user_code, not - octave_call_stack::caller_user_script_or_function. + octave_call_stack::caller_user_script_or_function. * load-save.cc (Fsave): Fix continuation character in doc string. @@ -9077,19 +9077,19 @@ New virtual method. * ov-base.cc (octave_value octave_base_value::diag (octave_idx_type) const): New default method. - + * ov-base-mat.h (octave_value diag (octave_idx_type) const): New - method. + method. * ov-base-sparse.h (octave_value diag (octave_idx_type) const): New - method. + method. * ov-base-scalar.h (octave_value diag (octave_idx_type) const): New - method. + method. * ov-range.h (octave_value diag (octave_idx_type) const): New - method. + method. * data.cc (make_diag, make_spdiag): Delete. (Fdiag): Rewrite in terms of octave_value diag function. - + * data.cc (static octave_value make_diag (const Cell&, octave_idx_type)): New instantiation of template function. (static octave_value make_diag (const octave_value&, @@ -9204,12 +9204,12 @@ 2008-03-05 Jaroslav Hajek <highegg@gmail.com> - * DLD-FUNCTIONS/chol.cc (Fcholupdate): Adjust code to meet + * DLD-FUNCTIONS/chol.cc (Fcholupdate): Adjust code to meet Octave's coding guidelines. - * DLD-FUNCTIONS/qr.cc (Fqrupdate, Fqrinsert, Fqrdelete): Adjust + * DLD-FUNCTIONS/qr.cc (Fqrupdate, Fqrinsert, Fqrdelete): Adjust code to meet Octave's coding guidelines. - * DLD-FUNCTIONS/qr.cc (Fqrdelete): Fix incorrect test. + * DLD-FUNCTIONS/qr.cc (Fqrdelete): Fix incorrect test. * DLD-FUNCTIONS/qr.cc (Fqrinsert, Fqrdelete): Modify to use 0-based indexing in liboctave's QR classes. @@ -9238,7 +9238,7 @@ Don't set curr_caller_statement. * error.cc (verror, pr_where): Call tree_statement_stack::current_line - and tree_statement_stack::current_column instead of + and tree_statement_stack::current_column instead of instead of curr_statement->line and curr_statement->column. * input.cc (get_user_input): Likewise. @@ -9317,7 +9317,7 @@ * graphics.h.in (array_property::add_constraint): Arg is now const reference, not value. - * graphics.h.in, graphics.cc (class row_vector_property): New class. + * graphics.h.in, graphics.cc (class row_vector_property): New class. (axes::properties): xlim, ylim, zlim, clim, alim, xtick, ytick, ztick properties are now row_vector_property objects instead of array_property objects. @@ -9335,7 +9335,7 @@ 2008-02-22 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/chol.c (Fchol, Fcholinv, Fchol2iinv): Treat + * DLD-FUNCTIONS/chol.c (Fchol, Fcholinv, Fchol2iinv): Treat sparse matrices. Add the "lower" and "vector" flags. * DLD-FUNCTIONS/inv.c (Finv): Treat sparse matrices. * DLD-FUNCTION/sparse.cc (static bool is_sparse (const @@ -9350,17 +9350,17 @@ constructors. Ass the 'vector' flag. * DLD-FUNCTIONS/spparms.cc: Add the sum_tol flag. - * Makifile.in (DLD_XSRC): Remove spchol.cc, splu.cc and add + * Makifile.in (DLD_XSRC): Remove spchol.cc, splu.cc and add symbfact.cc * data.cc (NATIVE_REDUCTION): Treat sparse matrices (DATA_REDUCTION): Ditto. - (template <class T> static octave_value make_spdiag (const T&, + (template <class T> static octave_value make_spdiag (const T&, octave_idx_type)): New template function for sparse diag function. Instantiate it. - (static octave_value make_diag (const octave_value&, + (static octave_value make_diag (const octave_value&, octave_idx_type): Use make_spdiag for sparse matrice. (Fatan2): Compatibility fixes for mixed full/sparse matrices. - + 2008-02-21 John W. Eaton <jwe@octave.org> * DLD-FUNCTIONS/fsolve.cc (fsolve_user_jacobian): @@ -9379,7 +9379,7 @@ * DLD-FUNCTIONS/det.cc, DLD-FUNCTIONS/find.cc, * DLD-FUNCTIONS/minmax.cc, DLD-FUNCTIONS/qr.cc: Treat sparse matrices. - + * DLD-FUNCTIONS/sparse.cc (Fspmin, Fspmax, Fatan2): Remove functions. * DLD-FUNCTIONS/dmperm.cc: Rename from spqr.cc. @@ -9397,7 +9397,7 @@ * ov-mapper.cc, ov-mapepr.h: Delete, remove all includes of ov-mapper.h from all files. - * op-b-sbm.cc, op-bm-sbm.cc, op-smb-b.cc, op-sbm-bm.cc: Include + * op-b-sbm.cc, op-bm-sbm.cc, op-smb-b.cc, op-sbm-bm.cc: Include ov-bool-sparse.h. * defun-int.h (DEFUN_MAPPER_INTERNAL, install_builtin_mapper): @@ -9412,12 +9412,12 @@ xtoascii, xtolower, xtoupper, xconj, ximag, xreal): Remove static wrapper functions. - * mkbuiltins (XDEFUN_MAPPER_INTERNAL, install_builtin_functions): + * mkbuiltins (XDEFUN_MAPPER_INTERNAL, install_builtin_functions): Remove. * mkgendoc (XDEFUN_MAPPER_INTERNAL): Remove. * ov.cc (octave_mapper::register_type): Remove. - + * ov.h (abs, acos, acosh, angle, arg, asin, asinh, atan, atanh, ceil, conj, cos, cosh, erf, erfc, exp, finite, fix, floor, gamma, imag, isinf, isna, isnan, lgamma, log, log10, real, round, signum, @@ -9473,7 +9473,7 @@ isnan, log, log10, real, round, signum, sin, sinh, sqrt, tan, tanh): New mapper methods. * ov-cx-mat.h: Provide decls. - + * ov-cx-sparse.cc (char_array_value): New method to convert to charNDArray. (xabs, ximag, xreal): Static wrapper functions. @@ -9486,7 +9486,7 @@ * ov-intx.h (abs, signum, imag, ceil, conj, fix, floor, real, round, finite, isinf, isna, isnan): Define for both matrix and scalar classes. - + * ov-range.h (abs, acos, acosh, angle, arg, asin, asinh, atan, atanh, ceil, conj, cos, cosh, erf, erfc, exp, finite, fix, floor, gamma, imag, isinf, isna, isnan, lgamma, log, log10, real, round, @@ -9500,13 +9500,13 @@ isinf, isna, isnan, lgamma, log, log10, real, round, signum, sin, sinh, sqrt, tan, tanh): New mapper functions. * ov-re-mat.h: Provide decls. - + * ov-scalar.cc (any_element_less_than): Static function to check if any elemet was less than a value, (any_element_greater_than): ditto with greater than. - (abs acos acosh angle arg asin asinh atan atanh - ceil conj cos cosh erf erfc exp finite fix floor gamma imag - isinf isna isnan lgamma log log10 real round signum sin sinh + (abs acos acosh angle arg asin asinh atan atanh + ceil conj cos cosh erf erfc exp finite fix floor gamma imag + isinf isna isnan lgamma log log10 real round signum sin sinh sqrt tan tanh): New mapper functions. * ov-scalar.h: Provide decls. @@ -9572,7 +9572,7 @@ * DLD-FUNCTIONS/urlwrite.cc (urlget): Call octave_rethrow_exception instead of octave_throw_interrupt_exception. - * utils.cc (BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE_FOR_VSNPRINTF): + * utils.cc (BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE_FOR_VSNPRINTF): Likewise. 2008-02-12 David Bateman <dbateman@free.fr> @@ -9681,19 +9681,19 @@ (figure::properties::position): Use valid default position. (axes::properties::gridlinestyle, axes::properties::minorgridlinestyle): - Use dotted line style as default. + Use dotted line style as default. * graphics.cc (default_figure_position): New static function. (gnuplot_backend::get_screen_size): New method. (figure::properties::get_boundingbox): New utility method. 2008-02-02 Shai Ayal <shaiay@users.sourceforge.org> - * graphics.h.in (base_scaler::~base_scalar): New virtual destructor. - * graphics.cc (axes::properties::update_camera): Tag abs with std. + * graphics.h.in (base_scaler::~base_scalar): New virtual destructor. + * graphics.cc (axes::properties::update_camera): Tag abs with std. * graphics.h.in (graphics_backend::find_backend): New function. (class figure): Add __backend__ property and set method. - + 2008-02-02 John W. Eaton <jwe@octave.org> * help.cc (do_type): Don't print dyamically loaded function files. @@ -9722,7 +9722,7 @@ * ov.cc (octave_value::octave_value (const ArrayN<bool>&), octave_value::octave_value (const Sparse<bool>&, const MatrixType &), - octave_value::octave_value (const ArrayN<std::streamoff>&)): New + octave_value::octave_value (const ArrayN<std::streamoff>&)): New constructors. * ov.h: (octave_value (const ArrayN<bool>&), octave_value (const Sparse<bool>&, const MatrixType &), @@ -9730,20 +9730,20 @@ (octave_value sort (octave_idx_type, sortmode) const, octave_value sort (Array<octave_idx_type> &, octave_idx_type, sortmode) const): octave_value sort method. - - + + * ov-base.cc (sort): Base versions of teh octave_value sort methods. * ov-base.h (sort): Declare the octave_value sort methods * ov-base-scalar.h (sort): Simple sort methods for scalars. * ov-base-mat.h, ov-base-sparse.h (sort): Sort methods calling underlying array or sparse sort methods. * ov-str-mat.h (sort): String specific sort methods. - + * TEMPLATE-INST/Array-tc.cc: Instantiate the array sort methods. * ov-streamoff.h (sort): Sort versions returning and error. * oct-stream.cc, ov-typeinfo.cc, Array-os.cc: Null instantiation of array sort methods. - + * Makefile.in (DLD_XSRC): Remove sort.cc * DLD-FUNCTIONS/sort.cc: Remove * data.cc (Fsort): New function using octave_value sort methods @@ -10280,7 +10280,7 @@ octave_value_typeinfo::do_lookup_unary_class_op, octave_value_typeinfo::do_lookup_binary_class_op): New functions. * ov-typeinfo.h: Provide decls. - + * ov-typeinfo.h (octave_value_typeinfo::unary_class_op_fcn, octave_value_typeinfo::binary_class_op_fcn): New typedefs. (octave_value_typeinfo::unary_class_ops, @@ -10477,7 +10477,7 @@ * load-path.cc (load_path::do_find_private_function): New function. * load-path.h (load_path::do_find_private_function): Provide decl. - (load_path::find_private_function): New function. + (load_path::find_private_function): New function. 2007-05-08 John W. Eaton <jwe@octave.org> @@ -10513,7 +10513,7 @@ * load-path.h, load-path.cc: Use typedefs to simplify template decls. Use fcn consistently instead of function. - + 2007-05-03 John W. Eaton <jwe@octave.org> * ov-class.cc (Fclass): Move here. @@ -10592,16 +10592,16 @@ 2007-12-11 David Bateman <dbateman@free.fr> - * OPERATORS/op-bm-sbm.cc, OPERATORS/op-b-sbm.cc, - OPERATORS/op-cm-scm.cc, OPERATORS/op-cm-sm.cc, - OPERATORS/op-cs-scm.cc, OPERATORS/op-cs-sm.cc, - OPERATORS/op-m-scm.cc, OPERATORS/op-m-sm.cc, - OPERATORS/op-s-scm.cc, OPERATORS/op-s-sm.cc: Privilege + * OPERATORS/op-bm-sbm.cc, OPERATORS/op-b-sbm.cc, + OPERATORS/op-cm-scm.cc, OPERATORS/op-cm-sm.cc, + OPERATORS/op-cs-scm.cc, OPERATORS/op-cs-sm.cc, + OPERATORS/op-m-scm.cc, OPERATORS/op-m-sm.cc, + OPERATORS/op-s-scm.cc, OPERATORS/op-s-sm.cc: Privilege conversion to dense matrices for compatibility. * DLD-FUNCTIONS/sparse.cc (FSparse): Remove the mutate flag, as default bahavior is now to keep matrix sparse always. - + * graphics.cc (axes::properties::properties): Initialize xcolor, ycolor, and zcolor to (0, 0, 0). @@ -10676,7 +10676,7 @@ * toplev.cc (octave_config_info): Remove LIBDLFCN and DLFCN_INCFLAGS from the list. * oct-conf.h.in (OCTAVE_CONF_DLFCN_INCFLAGS, OCTAVE_CONF_LIBDLFCN): - Delete. + Delete. * error.cc (Ferror): Handle error id. @@ -10686,14 +10686,14 @@ 2007-12-04 Shai Ayal <shaiay@users.sourceforge.net> * graphics.h.in (base_properties::get_type - base_properties::get___modified__, + base_properties::get___modified__, base_properties::get___myhandle__): New functions. 2007-12-04 Christoph Mayer <Christoph.Mayer@dlr.de>. * toplev.h (clean_up_and_exit, recover_from_exception, do_octave_atexit, global_command, curr_parent_function): - Tag with OCTINTERP_API. + Tag with OCTINTERP_API. 2007-12-03 David Bateman <dbateman@free.fr> @@ -10757,7 +10757,7 @@ patch::get_properties (void) const, surface::get_properties (void) const)): New functions. (radio_property::radio_property (const radio_values&)): - Provide default value for argument. + Provide default value for argument. (radio_property::radio_property (const radio_values&, const std::string&)): Delete. (axes::xlimmode, axes::ylimmode, axes::zlimmode, axes::climmode, @@ -10834,23 +10834,23 @@ * oct-stream.cc (do_write): Call float_value and double_value on octave_int<T> objects instead of relying on conversion operators. - * ls-mat5.cc (read_mat5_binary_element, OCTAVE_MAT5_INTEGER_READ): + * ls-mat5.cc (read_mat5_binary_element, OCTAVE_MAT5_INTEGER_READ): Call double_value on octave_int<T> objects instead of relying on conversion operator. - (read_mat5_binary_file_header): + (read_mat5_binary_file_header): Call char_value on octave_int<T> objects instead of relying on conversion operator. - (read_mat5_binary_element): + (read_mat5_binary_element): Call bool_value on octave_int<T> objects instead of relying on conversion operator. - * ov-intx.h (OCTAVE_VALUE_INT_MATRIX_T::double_value, + * ov-intx.h (OCTAVE_VALUE_INT_MATRIX_T::double_value, OCTAVE_VALUE_INT_MATRIX_T::scalar_value, OCTAVE_VALUE_INT_MATRIX_T::matrix_value, OCTAVE_VALUE_INT_MATRIX_T::complex_matrix_value, OCTAVE_VALUE_INT_MATRIX_T::array_value, OCTAVE_VALUE_INT_MATRIX_T::complex_array_value, - OCTAVE_VALUE_INT_SCALAR_T::double_value, + OCTAVE_VALUE_INT_SCALAR_T::double_value, OCTAVE_VALUE_INT_SCALAR_T::scalar_value, OCTAVE_VALUE_INT_SCALAR_T::matrix_value, OCTAVE_VALUE_INT_SCALAR_T::complex_matrix_value, @@ -10880,8 +10880,8 @@ * ov-base.h (extern bool Vsparse_auto_mutate): Export internal variable to other functions. * ov-re-sparse.cc (octave_sparse_matrix::try_narrowing_conversion - (void)), ov-cx-sparse.cc - (octave_sparse_complex_matrix::try_narrowing_conversion (void)), + (void)), ov-cx-sparse.cc + (octave_sparse_complex_matrix::try_narrowing_conversion (void)), ov-bool-sparse.cc (octave_sparse_bool_matrix::try_narrowing_conversion (void)): Use Vsparse_auto_mutate flag to determine whether to convert @@ -10907,8 +10907,8 @@ 2007-11-26 Shai Ayal <shaiay@users.sourceforge.net> - * graphics.cc (string_properties): delete class - (property_name): rename class to caseless_str. + * graphics.cc (string_properties): delete class + (property_name): rename class to caseless_str. (radio_values::possible_vals): change type to caseless_str. 2007-11-26 Michael Goffioul <michael.goffioul@gmail.com> @@ -10941,7 +10941,7 @@ (root_figure::set, root_figure::get, figure::set, figure::get, axes::set, axes::get, line::set, line::get, text::set, text::get, patch::set, patch::get, surface::set, surface::get): Handle tag. - + 2007-11-14 Joseph P. Skudlarek <Jskud@Jskud.com> * DLD-FUNCTIONS/regexp.cc: Undo previous change. @@ -10975,7 +10975,7 @@ 2007-11-12 David Bateman <dbateman@free.fr> * graphics.h.in, graphics.cc (class text): Add the fontname and - fontsize properties. + fontsize properties. 2007-11-10 John W. Eaton <jwe@octave.org> @@ -11032,7 +11032,7 @@ 2007-11-06 Kai Habel <kai.habel@gmx.de> - * graphics.h.in (class surface::properties): New properties, + * graphics.h.in (class surface::properties): New properties, cdata, facecolor, facealpha, edgecolor, linestyle, linewidth, marker, markeredgecolor, markerfacecolor, markersize. * graphics.cc (surface::properties::properties, @@ -11073,7 +11073,7 @@ 2007-11-02 Olli Saarela <Olli.Saarela@kcl.fi> * input.cc, pr-output.cc, bitfcns.cc, DLD-FUNCTIONS/time.cc: - Fix broken @examples in help texts. + Fix broken @examples in help texts. 2007-10-31 John W. Eaton <jwe@octave.org> @@ -11128,7 +11128,7 @@ 2007-10-25 John W. Eaton <jwe@octave.org> - * graphics.cc (figure::properties::set_currentaxes): + * graphics.cc (figure::properties::set_currentaxes): Allow currentfigure to be NaN. 2007-10-25 Michael Goffioul <michael.goffioul@gmail.com> @@ -11217,12 +11217,12 @@ 2007-10-22 David Bateman <dbateman@free.fr> - * data.cc (Ftic, Ftoc, Fcputime): New builtin versions of the - benchmarking functions for speed. + * data.cc (Ftic, Ftoc, Fcputime): New builtin versions of the + benchmarking functions for speed. * oct-map.cc (Octave_map::squeeze, Octave_map::permute): New methods. (Octave_map::index (const octave_value_list&, bool)): Add resize_ok argument, define as const and use const_iterator internally. - (Octave_map::index (idx_vector&, ...), Octave_map::index (Array + (Octave_map::index (idx_vector&, ...), Octave_map::index (Array <idx_vector>&, ...)): New forms of the index function. * oct-map.h (squeeze, permute, indx (const octave_value_list&, bool), index (idx_vector&, ...), index (Array <idx_vector>&, ...)): Add @@ -11267,9 +11267,9 @@ * error.cc (Ferror): Make text fit on pages when using smallbook. * load-save.cc (Fsave_header_format_string): Ditto. - * ov-struct.cc (Fcell2struct): Ditto. - * DLD-FUNCTIONS/besselj.cc (Fairy): Ditto. - * DLD-FUNCTIONS/urlwrite.cc (Furlwrite, Furlread): Ditto. + * ov-struct.cc (Fcell2struct): Ditto. + * DLD-FUNCTIONS/besselj.cc (Fairy): Ditto. + * DLD-FUNCTIONS/urlwrite.cc (Furlwrite, Furlread): Ditto. 2007-10-15 David Bateman <dbateman@free.fr> @@ -11333,8 +11333,8 @@ * DLD-FUNCTIONS/lpsolve.cc: Delete. * Makefile.in (DLD_XSRC): Remove it from the list. - * data.cc (Fsqueeze): Document 2d behaviour. - * ov-range.h (octave_range::squeeze): New function. + * data.cc (Fsqueeze): Document 2d behaviour. + * ov-range.h (octave_range::squeeze): New function. 2007-10-09 John W. Eaton <jwe@octave.org> @@ -11348,7 +11348,7 @@ * input.cc (accept_line): Drop this function and remove automatic insertion of closing quotes as the transpose operator confuses it. (initialize_command_input): Remove accept_line from here as well. - + 2007-10-09 John W. Eaton <jwe@octave.org> * ov-mapper.cc (octave_mapper::apply): If possible, use @@ -11374,7 +11374,7 @@ * data.cc (template <class T> static make_diag (...)): New template class version of make_diag. Make other make_diag functions depend on it. - ( static octave_value make_diag (const octave_value&, + ( static octave_value make_diag (const octave_value&, octave_idx_type)): Treat all possible internal Octave types. 2007-10-08 John W. Eaton <jwe@octave.org> @@ -11471,12 +11471,12 @@ 2007-10-04 Jason Riedy <jason@acm.org> - * ls-mat5.cc (read_mat5_binary_data): Map miUTF16 to miUINT16, - miUTF32 to miUINT32. The matfile format currently states that - wide UTF formats are in the same byte order as the integers. - (read_mat5_binary_element): Replace all UTF16 and UTF32 - characters with the high bit set (value >127) by '?' and warn - that we've done so. + * ls-mat5.cc (read_mat5_binary_data): Map miUTF16 to miUINT16, + miUTF32 to miUINT32. The matfile format currently states that + wide UTF formats are in the same byte order as the integers. + (read_mat5_binary_element): Replace all UTF16 and UTF32 + characters with the high bit set (value >127) by '?' and warn + that we've done so. 2007-10-04 Michael Goffioul <michael.goffioul@gmail.com> @@ -11494,7 +11494,7 @@ 2007-10-03 John W. Eaton <jwe@octave.org> - * oct-map.cc (Octave_map::Octave_map (const dim_vector&, + * oct-map.cc (Octave_map::Octave_map (const dim_vector&, const string_vector&)): Delete. (Octave_map::Octave_map (const dim_vector&, const Cell&)): New function. @@ -11519,7 +11519,7 @@ 2007-09-28 David Bateman <dbateman@free.fr> * ov-range.h (int8_array_value, int16_array_value, int32_array_value, - int64_array_value, uint8_array_value, uint16_array_value, + int64_array_value, uint8_array_value, uint16_array_value, int32_array_value, uint64_array_value): New methods 2007-09-28 Kai Habel <kai.habel@gmx.de> @@ -11532,13 +11532,13 @@ * graphics.cc (color_values::str2rgb): accept upper, lower and mixed-case versions of the string representing the color. Allow black defined as "k" and white as "w". - (color_property::color_property (const octave_value& val, + (color_property::color_property (const octave_value& val, const radio_values &v)): Modify the constructor to also take a radio_values argument. Use it. (patch::properties::set): Change set_facecolor calls to initialize the color_property argument with the available radio_values. - * graphics.h.in (color_property::color_property - (const octave_value& val, const radio_values &v)): Also pass a + * graphics.h.in (color_property::color_property + (const octave_value& val, const radio_values &v)): Also pass a radio_values argument. * ov-range.h (sparse_matrix_value, sparse_complex_matrix_value): @@ -11660,14 +11660,14 @@ 2007-09-06 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/bsxfun.cc: New function. - * DLD-FUNCTIONS/typecast.cc: New function. - * Makefile.in (DLD_XSRC): Add bsxfun.cc and typecast.cc. - * ov.cc (do_cat_op): Modify use of Array<int> to - Array<octave_idx_type> and adjust where necessary. - * ov.h (do_cat_op): ditto. - * data.cc (do_cat): ditto. - * pt-mat.cc (tree_matrix::rvalue): ditto. + * DLD-FUNCTIONS/bsxfun.cc: New function. + * DLD-FUNCTIONS/typecast.cc: New function. + * Makefile.in (DLD_XSRC): Add bsxfun.cc and typecast.cc. + * ov.cc (do_cat_op): Modify use of Array<int> to + Array<octave_idx_type> and adjust where necessary. + * ov.h (do_cat_op): ditto. + * data.cc (do_cat): ditto. + * pt-mat.cc (tree_matrix::rvalue): ditto. 2007-09-05 Michael Goffioul <michael.goffioul@gmail.com> @@ -11676,23 +11676,23 @@ 2007-09-05 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/sort.cc (mx_sort_sparse, mx_sort_sparse_indexed): - New template classes for sparse sort functions. - (Fsort): Use them. - * ov.h (octave_value (const Sparse<double>&, const MatrixType&), - octave_value (const Sparse<Complex>&, const MatrixType&)): New - constructors. - * ov.cc (octave_value::octave_value (const Sparse<double>&, - const MatrixType&), octave_value::octave_value (const - Sparse<Complex>&, const MatrixType&)): Define them. - * ov-re-sparse.h (octave_sparse_matrix (const MSparse<double>&, - const MatrixType&), octave_sparse_matrix (const Sparse<double>&), - octave_sparse_matrix (const Sparse<double>&, const MatrixType&)): - New constructors. - * ov-cx-sparse.h (octave_sparse_complex_matrix (const MSparse<double>&, - const MatrixType&), octave_sparse_complex_matrix (const - Sparse<double>&), octave_sparse_complex_matrix (const - Sparse<double>&, const MatrixType&)): ditto. + * DLD-FUNCTIONS/sort.cc (mx_sort_sparse, mx_sort_sparse_indexed): + New template classes for sparse sort functions. + (Fsort): Use them. + * ov.h (octave_value (const Sparse<double>&, const MatrixType&), + octave_value (const Sparse<Complex>&, const MatrixType&)): New + constructors. + * ov.cc (octave_value::octave_value (const Sparse<double>&, + const MatrixType&), octave_value::octave_value (const + Sparse<Complex>&, const MatrixType&)): Define them. + * ov-re-sparse.h (octave_sparse_matrix (const MSparse<double>&, + const MatrixType&), octave_sparse_matrix (const Sparse<double>&), + octave_sparse_matrix (const Sparse<double>&, const MatrixType&)): + New constructors. + * ov-cx-sparse.h (octave_sparse_complex_matrix (const MSparse<double>&, + const MatrixType&), octave_sparse_complex_matrix (const + Sparse<double>&), octave_sparse_complex_matrix (const + Sparse<double>&, const MatrixType&)): ditto. 2007-09-04 Gabriele Pannocchia <g.pannocchia@ing.unipi.it> @@ -11703,7 +11703,7 @@ 2007-08-31 Michael Goffioul <michael.goffioul@gmail.com> * ls-mat-ascii.cc (get_lines_and_columns): Check beg variable for - NPOS to avoid segmentation fault. + NPOS to avoid segmentation fault. * load-path.cc (load_path::do_find_file): Do not assume paths use forward slashes. @@ -11798,36 +11798,36 @@ 2007-08-24 David Bateman <dbateman@free.fr> - * ov-bool-sparse.cc (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): Class - is now logical. - * ov-re-sparse.cc, ov-cx-sparse.cc - (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): Class is now double. - * ov-mapper.cc (octave_mapper::apply): Use is_sparse_type method - rather than comparing class name. - * ls-mat5.cc (save_mat5_element_length, save_mat5_binary_element): - ditto. - * pt-mat.cc (tree_matrix:rvalue): sparse matrices are now of class - "double" or "logical", create new single type concat clause for - them. - * mex.cc (get_class_id): No longer need to special case sparse - matrices. - - * DLD-FUNCTIONS/__delaunayn__.cc, DLD-FUNCTIONS/convhulln.cc, - DLD-FUNCTIONS/tsearch.cc, DLD-FUNCTIONS/__voronoi__.cc: New - functions ported from octave-forge. - * DLD-FUCTIONS/__dsearchn__.cc: New file. - * DLD-FUNCTIONS/__voronoi__.cc: Return point at infinity and - include it in the polygrons of the Voronoi diagram for - compatibility. - * Makefile.in: Add specific build targets for __delanayn__.cc, - convhulln.cc and __voronoi__.cc to link to Qhull. - (DLD_SRC): Add new functions. - (OCTAVE_LIBS): Add QHULL_LIBS + * ov-bool-sparse.cc (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): Class + is now logical. + * ov-re-sparse.cc, ov-cx-sparse.cc + (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): Class is now double. + * ov-mapper.cc (octave_mapper::apply): Use is_sparse_type method + rather than comparing class name. + * ls-mat5.cc (save_mat5_element_length, save_mat5_binary_element): + ditto. + * pt-mat.cc (tree_matrix:rvalue): sparse matrices are now of class + "double" or "logical", create new single type concat clause for + them. + * mex.cc (get_class_id): No longer need to special case sparse + matrices. + + * DLD-FUNCTIONS/__delaunayn__.cc, DLD-FUNCTIONS/convhulln.cc, + DLD-FUNCTIONS/tsearch.cc, DLD-FUNCTIONS/__voronoi__.cc: New + functions ported from octave-forge. + * DLD-FUCTIONS/__dsearchn__.cc: New file. + * DLD-FUNCTIONS/__voronoi__.cc: Return point at infinity and + include it in the polygrons of the Voronoi diagram for + compatibility. + * Makefile.in: Add specific build targets for __delanayn__.cc, + convhulln.cc and __voronoi__.cc to link to Qhull. + (DLD_SRC): Add new functions. + (OCTAVE_LIBS): Add QHULL_LIBS 2007-08-22 David Bateman <dbateman@free.fr> * variables.cc (Fmunlock): Call munlock and not mlock. - * symtab.cc (symbol_record::mark_as_formal_parameter): Typo. + * symtab.cc (symbol_record::mark_as_formal_parameter): Typo. 2007-08-10 John W. Eaton <jwe@octave.org> @@ -11884,7 +11884,7 @@ 2007-07-25 David Bateman <dbateman@free.fr> - * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" + * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" to work. 2007-07-24 Shai Ayal <shaiay@users.sourceforge.net> @@ -11921,22 +11921,22 @@ 2007-07-20 David Bateman <dbateman@free.fr> - * zfstream.cc (BUFSIZE): Increase default buffer size to 256kB - (gzfilebuf::underflow): Stash the last 16 characters read, so as - to avoid calling pbackfail as much as possible. + * zfstream.cc (BUFSIZE): Increase default buffer size to 256kB + (gzfilebuf::underflow): Stash the last 16 characters read, so as + to avoid calling pbackfail as much as possible. 2007-07-18 David Bateman <dbateman@free.fr> - * zfstream.cc (int_type gzfilebuf::pbackfail (int_type)): New - method to putback a character when the putback position in the - internal buffer doesn't exist. - * zfstream.h (int_type pbackfail (int_type)): Declaration it. + * zfstream.cc (int_type gzfilebuf::pbackfail (int_type)): New + method to putback a character when the putback position in the + internal buffer doesn't exist. + * zfstream.h (int_type pbackfail (int_type)): Declaration it. 2007-07-14 Michael Goffioul <michael.goffioul@swing.be> * src/ov-bool-sparse.cc (octave_sparse_bool_matrix:load_hdf5): Use OCTAVE_LOCAL_BUFFER for temporary boolean value. - + 2007-06-27 David Bateman <dbateman@free.fr> * DLD-FUNCTIONS/sparse.cc (Fspdiag): Ensure spdiag(zeros(1,0)) returns @@ -11952,8 +11952,8 @@ (octave_scan): Use it. Handle fmt.width. * graphics.h (axes::axes_properties::visible): New data member. - * graphics.cc (axes::axes_properties::axes_properties, - axes::axes_properties::set, axes::axes_properties::get, + * graphics.cc (axes::axes_properties::axes_properties, + axes::axes_properties::set, axes::axes_properties::get, axes::axes_properties::factory_defaults): Handle visible property. 2007-06-27 Kai Habel <kai.habel@gmx.de> @@ -11964,11 +11964,11 @@ c2rgb. Handle long color names, not just single char abbreviations. 2007-06-27 David Bateman <dbateman@free.fr> - + * src/load-save.cc (Fsave): Ensure header is written for non existent file with "-append". * src/ls-hdf5.h: First steps towards having append work for hdf5. - + 2007-06-26 John W. Eaton <jwe@octave.org> * src/load-save.cc (Fsave): Open files correctly for -append. @@ -11979,10 +11979,10 @@ * oct-stream.h (octave_stream_list::list): Use std::map. (octave_stream_list::curr_len): Delete data member. (octave_stream_list::octave_stream_list): Fix initializations. - + * oct-stream.cc (octave_steam_list::do_insert, octave_steam_list::do_lookup, octave_steam_list::do_remove, - octave_steam_list::do_clear, octave_steam_list::do_list_open_files, + octave_steam_list::do_clear, octave_steam_list::do_list_open_files, octave_steam_list::do_open_file_numbers, octave_steam_list::do_get_file_number): Use new octave_stream_list::list type. @@ -11993,7 +11993,7 @@ 2007-06-18 Søren Hauberg <hauberg@gmail.com> - * DLD-FUNCTIONS/__lin_interpn__.cc: Replace octave_NaN with octave_NA. + * DLD-FUNCTIONS/__lin_interpn__.cc: Replace octave_NaN with octave_NA. 2007-06-15 Shai Ayal <shaiay@users.sourceforge.net> @@ -12013,12 +12013,12 @@ * oct-procbuf.cc (procbuf::open): Use octave_popen. (procbuf::close): Use octave_pclose. - * oct-prcstrm.cc (octave_oprocstream::octave_oprocstream, + * oct-prcstrm.cc (octave_oprocstream::octave_oprocstream, octave_iprocstream::ictave_oprocstream): Likewise. * graphics.h (text::text_properties::rotation): New data member. - * graphics.cc (text::text_properties::text_properties, - text::text_properties::set, text::text_properties::get, + * graphics.cc (text::text_properties::text_properties, + text::text_properties::set, text::text_properties::get, text::text_properties::factory_defaults): Handle rotation property. 2007-06-14 Kai Habel <kai.habel@gmx.de> @@ -12109,7 +12109,7 @@ * mexproto.h: ditto. * mxarray.h: remove. * mxarray.h.in: Copy here and define mwSize, mwIndex, and use - throughout. + throughout. * ov-bool-mat.cc (octave_bool_matrix::as_mxArray): Use mwSize and mwIndex. * ov-bool-sparse (octave_sparse_bool_matrix::as_mxArray): ditto. @@ -12208,10 +12208,10 @@ 2007-05-21 Søren Hauberg <hauberg@gmail.com> - * load-path.cc (Fpath, Frehash): Replace "LOADPATH" with "load + * load-path.cc (Fpath, Frehash): Replace "LOADPATH" with "load path" in doc strings. - * parse.y (Feval): Add example. + * parse.y (Feval): Add example. 2007-05-21 David Bateman <dbateman@free.fr> @@ -12254,47 +12254,47 @@ 2007-05-16 David Bateman <dbateman@free.fr> * load_pathc.cc (std::string octave_system_path (void)): New - function. - * load-path.h (std::string octave_system_path (void)): Declare it. - - * load-save.cc (static load_save_format get_file_format - (std::istream&, const std::string&)): Add filename argument, and - pass it to read_mat5_binary_header. Use new format throughout file. - (Fload): Don't allow gzip of matlab v7 files as the files - themselves include compression. - - * ls-mat5.cc (arrayclsstype:MAT_FILE_WORKSPACE_CLASS): New class - type. - (read_mat5_binary_element): Workspaces, don't have dimensions, so - don't read them. Implement read of matlab objects, but only use - them for inline functions. Implement reading of function and - workspace classes. - (read_mat5_binary_header): Add filename argument. Read sub-system - specific data block given as an offset in bytes 117 to 124. - (save_mat5_binary_element): Include saving of inline functions. - - * ls-mat5.h (read_mat5_binary_header): Include filename. - - * ov-fcn-handle.cc (octave_fcn_handle_save_ascii, - octave_fcn_handle::load_ascii, octave_fcn_handle::save_binary, - octave_fcn_handle::load_binary, octave_fcn_handle::save_hdf5, - octave_fcn_handle::load_hdf5): Save and reload the local symbol - table of the user function associated with anonymous function - handles. Save and load the absolute path and the exec_prefix for - normal function handles and use then to find equivalent functions - between different installations of Octave. Attempt to maintain - backward and forward compatibility. - (Ffunctions): Additional outputs, including the workspace of - anonymous functions, and more compatiable outputs. - - * ov-fcn-handle.h (user_function_value): Expose the user function - value of a function handle. - - * ov-fcn-inline.cc (Octave_map octave_fcn_inline::map_value - (void) const): Return a structure compatiable with matlab's class - implementation of inline functions. - - * ov-fcn-inline.h (map_value): Declare it. + function. + * load-path.h (std::string octave_system_path (void)): Declare it. + + * load-save.cc (static load_save_format get_file_format + (std::istream&, const std::string&)): Add filename argument, and + pass it to read_mat5_binary_header. Use new format throughout file. + (Fload): Don't allow gzip of matlab v7 files as the files + themselves include compression. + + * ls-mat5.cc (arrayclsstype:MAT_FILE_WORKSPACE_CLASS): New class + type. + (read_mat5_binary_element): Workspaces, don't have dimensions, so + don't read them. Implement read of matlab objects, but only use + them for inline functions. Implement reading of function and + workspace classes. + (read_mat5_binary_header): Add filename argument. Read sub-system + specific data block given as an offset in bytes 117 to 124. + (save_mat5_binary_element): Include saving of inline functions. + + * ls-mat5.h (read_mat5_binary_header): Include filename. + + * ov-fcn-handle.cc (octave_fcn_handle_save_ascii, + octave_fcn_handle::load_ascii, octave_fcn_handle::save_binary, + octave_fcn_handle::load_binary, octave_fcn_handle::save_hdf5, + octave_fcn_handle::load_hdf5): Save and reload the local symbol + table of the user function associated with anonymous function + handles. Save and load the absolute path and the exec_prefix for + normal function handles and use then to find equivalent functions + between different installations of Octave. Attempt to maintain + backward and forward compatibility. + (Ffunctions): Additional outputs, including the workspace of + anonymous functions, and more compatiable outputs. + + * ov-fcn-handle.h (user_function_value): Expose the user function + value of a function handle. + + * ov-fcn-inline.cc (Octave_map octave_fcn_inline::map_value + (void) const): Return a structure compatiable with matlab's class + implementation of inline functions. + + * ov-fcn-inline.h (map_value): Declare it. 2007-05-14 Bob Weigel <rweigel@gmu.edu> @@ -12326,7 +12326,7 @@ * DLD-FUNCTIONS/symrcm.cc: New function for Reverse Cuthill-McKee permutation. - + 2007-05-07 John W. Eaton <jwe@octave.org> * oct-map.cc (Octave_map::resize): Handle case of no keys. @@ -12341,7 +12341,7 @@ $(simple-move-if-change-rule). 2007-04-30 David Bateman <dbateman@free.fr> - + * pt-loop.cc (DO_ND_LOOP): New args, CONV and ARG. Use octave_idx_type instead of int for loop counters. Remove redundant assignments to variable "quit" as it is @@ -12414,12 +12414,12 @@ * src/graphics.cc (color_property::color_property): New arg A for alpha channel. Set rgba instead of red, green, blue. - (color_property::color_property (char)): New constructor. - (color_propery::rgba): New data member. + (color_property::color_property (char)): New constructor. + (color_propery::rgba): New data member. (color_property::red, color_property::green, color_property::blue): Delete. - (color_property::validate): Use rgba. - (color_property::c2rgba): New function. + (color_property::validate): Use rgba. + (color_property::c2rgba): New function. 2007-04-23 Søren Hauberg <soren@hauberg.org> @@ -12427,7 +12427,7 @@ 2007-04-20 John W. Eaton <jwe@octave.org> - * DLD-FUNCTIONS/__gnuplot_raw__.l (deftypefn): + * DLD-FUNCTIONS/__gnuplot_raw__.l (deftypefn): (Vautomatic_replot): Delete static variable. (Fautomatic_replot): Delete function. @@ -12473,7 +12473,7 @@ * data.cc (F__vnorm__): New function. - * pt-fcn-handle.cc (tree_anon_fcn_handle::param_list, + * pt-fcn-handle.cc (tree_anon_fcn_handle::param_list, tree_anon_fcn_handle::cmd_list, tree_anon_fcn_handle::ret_list, tree_anon_fcn_handle::sym_tab): Delete. Remove all uses. (tree_anon_fcn_handle::fcn): New data member. @@ -12488,12 +12488,12 @@ sym_tab. Change all uses. (octave_user_function::sym_tab): New function. - * octave.cc (execute_command_line_file): + * octave.cc (execute_command_line_file): 2007-04-05 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/regexp.cc (Fregexprep): Correct iteration over - cell arrays so that the source and pattern are iterated seperately + * DLD-FUNCTIONS/regexp.cc (Fregexprep): Correct iteration over + cell arrays so that the source and pattern are iterated seperately in the same manner as matlab. 2007-04-05 Laurent Mazet <laurent.mazet@motorola.com> @@ -12584,7 +12584,7 @@ 2007-03-23 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/rand.cc: Make statistical tests optional and + * DLD-FUNCTIONS/rand.cc: Make statistical tests optional and add tests for fixed sequences. 2007-03-22 John W. Eaton <jwe@octave.org> @@ -12593,7 +12593,7 @@ New virtual function. (base_properties::__modified__): New data member. (base_properties::base_properties): Initialize it. - (graphics_object::mark_modified, base_properties::mark_modified, + (graphics_object::mark_modified, base_properties::mark_modified, root_figure::mark_modified, figure::mark_modified, axes::mark_modified, line::mark_modified, text::mark_modified, image::mark_modified, surface::mark_modified, @@ -12663,13 +12663,13 @@ 2007-03-08 John W. Eaton <jwe@octave.org> * mex.cc (mxArray_octave_value::set_dimensions, - mxArray_octave_value::set_m, mxArray_octave_value::set_n, + mxArray_octave_value::set_m, mxArray_octave_value::set_n, mxArray_octave_value::set_class_name, mxArray_octave_value::set_ir, mxArray_octave_value::set_jc, mxArray_octave_value::remove_field, mxArray_octave_value::set_field_by_number): Don't panic; request mutation instead. - (class mxArray_octave_value): + (class mxArray_octave_value): * mxarray.h (mxArray::set_m, mxArray::set_n, mxArray::set_dimensions): Wrap method call call with @@ -12697,11 +12697,11 @@ * parse.y (Fautoload): Undo previous change. Warn if FILE is not an absolute file name. - * utils.cc (make_absolute): Make copy of arg before + * utils.cc (make_absolute): Make copy of arg before 2007-03-01 John W. Eaton <jwe@octave.org> - * ov-base-mat.h (octave_base_matrix::octave_base_matrix (const MT&), + * ov-base-mat.h (octave_base_matrix::octave_base_matrix (const MT&), (octave_base_matrix::octave_base_matrix (const MT&, const MatrixType&)): Use common definition with default argument value. * ov-base-scalar.h (octave_base_scalar<T>::typ): New data member. @@ -12710,8 +12710,8 @@ 2007-03-01 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/md5sum.cc: New file. - * Makefile.in (DLD_XSRC): Add md5sum.cc + * DLD-FUNCTIONS/md5sum.cc: New file. + * Makefile.in (DLD_XSRC): Add md5sum.cc 2007-03-01 Olli Saarela <Olli.Saarela@kcl.fi> @@ -12729,7 +12729,7 @@ 2007-02-27 John W. Eaton <jwe@octave.org> - * Makefile.in (uninstall): Also remove octave-$(version)$(EXEEXT), + * Makefile.in (uninstall): Also remove octave-$(version)$(EXEEXT), oct-gperf.h, and all .oct files. Remove PKG_ADD. From Thomas Treichl <Thomas.Treichl@gmx.net>. @@ -12754,11 +12754,11 @@ (verror): Use them to store the location of last error. (rethrow_error, Frethrow, Flasterror): New functions. - * DLD-FUNCTIONS/regexp.cc (octcellregexp): Wrapper to octregexp - function for cases when string or pattern are cell arrays - (Fregexp, Fregexpi): Use them. - (octregexprep): New function with functionality of old Fregexprep. - (Fregexprep): Treat cell arguments. + * DLD-FUNCTIONS/regexp.cc (octcellregexp): Wrapper to octregexp + function for cases when string or pattern are cell arrays + (Fregexp, Fregexpi): Use them. + (octregexprep): New function with functionality of old Fregexprep. + (Fregexprep): Treat cell arguments. 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> @@ -12930,7 +12930,7 @@ * syscalls.cc (Fpopen2): New function. (pipe): Modify to return input and output file descriptor seperately rather than in a list. - + 2007-02-16 Muthiah Annamalai <muthuspost@gmail.com> * debug.cc (Fdbtype): Improve compatibility. @@ -13177,17 +13177,17 @@ 2007-01-03 David Bateman <dbateman@free.fr> - * (OPERATORS/op-cm-scm.cc, OPERATORS/op-cm-sm.cc, - OPERATORS/op-cs-scm.cc, OPERATORS/op-cs-sm.cc, - OPERATORS/op-m-scm.cc, OPERATORS/op-m-sm.cc, - OPERATORS/op-scm-cm.cc, OPERATORS/op-scm-cs.cc, - OPERATORS/op-scm-m.cc, OPERATORS/op-scm-s.cc, - OPERATORS/op-scm-scm.cc, OPERATORS/op-scm-sm.cc, - OPERATORS/op-sm-cm.cc, OPERATORS/op-sm-cs.cc, - OPERATORS/op-sm-m.cc, OPERATORS/op-sm-s.cc, - OPERATORS/op-sm-scm.cc, OPERATORS/op-sm-sm.cc, + * (OPERATORS/op-cm-scm.cc, OPERATORS/op-cm-sm.cc, + OPERATORS/op-cs-scm.cc, OPERATORS/op-cs-sm.cc, + OPERATORS/op-m-scm.cc, OPERATORS/op-m-sm.cc, + OPERATORS/op-scm-cm.cc, OPERATORS/op-scm-cs.cc, + OPERATORS/op-scm-m.cc, OPERATORS/op-scm-s.cc, + OPERATORS/op-scm-scm.cc, OPERATORS/op-scm-sm.cc, + OPERATORS/op-sm-cm.cc, OPERATORS/op-sm-cs.cc, + OPERATORS/op-sm-m.cc, OPERATORS/op-sm-s.cc, + OPERATORS/op-sm-scm.cc, OPERATORS/op-sm-sm.cc, OPERATORS/op-s-scm.cc, OPERATORS/op-s-sm.cc): - Modify div and ldiv functions so that scalars stored as sparse + Modify div and ldiv functions so that scalars stored as sparse matrices are special cased. * ov-re-sparse.cc (double_value, complex_value): Scalar can be @@ -13219,7 +13219,7 @@ * pt-decl.cc (tree_decl_elt::eval): New function. * pt-decl.h (tree_decl_elt::eval): Provide decl. - (tree_decl_elt::is_defined, tree_decl_elt::lvalue_ok, + (tree_decl_elt::is_defined, tree_decl_elt::lvalue_ok, tree_decl_elt::mark_as_formal_parameter, tree_decl_elt::rvalue, tree_decl_elt::lvalue): New functions. @@ -13250,28 +13250,28 @@ 2006-12-08 John W. Eaton <jwe@octave.org> - * ov-intx.h (OCTAVE_VALUE_INT_MATRIX_T::array_value, - OCTAVE_VALUE_INT_MATRIX_T::complex_array_value, - OCTAVE_VALUE_INT_MATRIX_T::bool_array_value, + * ov-intx.h (OCTAVE_VALUE_INT_MATRIX_T::array_value, + OCTAVE_VALUE_INT_MATRIX_T::complex_array_value, + OCTAVE_VALUE_INT_MATRIX_T::bool_array_value, OCTAVE_VALUE_INT_MATRIX_T::char_array_value): Use fortran_vec to avoid expensive indexing operator. 2006-12-08 David Bateman <dbateman@free.fr> * ov-intx.h (OCTAVE_VALUE_INT_SCALAR_T::matrix_value, - OCTAVE_VALUE_INT_SCALAR_T::complex_matrix_value, - OCTAVE_VALUE_INT_MATRIX_T::matrix_value, + OCTAVE_VALUE_INT_SCALAR_T::complex_matrix_value, + OCTAVE_VALUE_INT_MATRIX_T::matrix_value, OCTAVE_VALUE_INT_MATRIX_T::comlex_matrix_value): New functions. - (OCTAVE_VALUE_INT_MATRIX_T::array_value, + (OCTAVE_VALUE_INT_MATRIX_T::array_value, OCTAVE_VALUE_INT_MATRIX_T::comlex_array_value): Use octave_idx_type instead of int for indexing. 2006-12-04 David Bateman <dbateman@free.fr> * xpow.cc (xpow (const Matrix&, double)): Add matrix type probing - to matrix inverse. - (xpow (const ComplexMatrix&, double)): ditto. - * DLD-FUNCTIONS/inv.cc (Finv): Add matrix type probing. + to matrix inverse. + (xpow (const ComplexMatrix&, double)): ditto. + * DLD-FUNCTIONS/inv.cc (Finv): Add matrix type probing. 2006-12-06 John W. Eaton <jwe@octave.org> @@ -13312,7 +13312,7 @@ * load-path.cc (load_path::do_find_fcn): Return empty string if tests fail. - * ov-base-mat.cc (void octave_base_matrix<MT>::assign (const + * ov-base-mat.cc (void octave_base_matrix<MT>::assign (const octave_value_list&, const MT&)): Invalidate matrix type on assignment. @@ -13349,7 +13349,7 @@ 2006-11-21 John W. Eaton <jwe@octave.org> * load-path.cc (load_path::do_find_file, - load_path::do_find_first_of, load_path::do_find_all_first_of): + load_path::do_find_first_of, load_path::do_find_all_first_of): Call rooted_pathname instead of absolute_pathname. * utils.cc (fcn_file_in_path, oct_file_in_path, mex_file_in_path): Likewise. @@ -13484,7 +13484,7 @@ 2006-10-29 Juhani Saastamoinen <juhani@cs.joensuu.fi> - * ls-mat5.cc (read_mat5_tag): Declare bytes as int32_t, not just int. + * ls-mat5.cc (read_mat5_tag): Declare bytes as int32_t, not just int. 2006-10-28 John W. Eaton <jwe@octave.org> @@ -13516,7 +13516,7 @@ * ov-base.h (octave_base_value::is_cellstr): New function. * ov-cell.h (octave_cell::is_cellstr): New function. * ov-cell.cc (Fiscellstr): Implement with is_cellstr. - * Cell.cc (Cell::Cell (const dim_vector&, const string_vector&, bool)): + * Cell.cc (Cell::Cell (const dim_vector&, const string_vector&, bool)): New constructor. (Cell::is_cellstr): New function. * Cell.h: Provide decls. @@ -13708,7 +13708,7 @@ (octave_shlib_list::do_remove): Pass cl_hook to octave_shlib close function. (octave_dynamic_loader::do_load_oct): Don't call close on shl - directly. Pass do_clear_function to octave_shlib_list::remove. + directly. Pass do_clear_function to octave_shlib_list::remove. * mex.cc (mexUnlock): Don't warn if unlocking a function that is not locked. @@ -13803,7 +13803,7 @@ * DLD-FUNCTIONS/spfind.cc: New file implementating compatible sparse find function. * Makefile.in (DLD_XSRC): Add spfind.cc. - + 2006-09-26 Bill Denney <bill@givebillmoney.com> * DLD-FUNCTIONS/find.cc (find_nonzero_elem_idx, Ffind): @@ -13853,7 +13853,7 @@ 'UniformOutput' set to true. Allow functions with multiple inputs and outputs. Add test code. Replace some int with octave_idx_type. (Fnum2cell): Replace some int with octave_idx_type. Add test code. - + 2006-09-11 Yozo Hida <yozo@cs.berkeley.edu> * DLD-FUNCTIONS/gcd.cc (Fgcd): Extend range by using std::floor @@ -13998,7 +13998,7 @@ * ls-mat5.cc (read_mat5_binary_data, read_mat5_integer_data, write_mat5_array): Unconditionally enable code for 64-bit int types. - * ov-fcn-handle.cc (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): + * ov-fcn-handle.cc (DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): For compatibility, set class to function_handle. 2006-08-18 John W. Eaton <jwe@octave.org> @@ -14013,7 +14013,7 @@ * ov.h (octave_value::bool_value, octave_value::bool_matrix_value, octave_value::bool_array_value): New arg, warn. * ov-base.cc, ov-base.h (octave_base_value::bool_value, - octave_base_value::bool_matrix_value, + octave_base_value::bool_matrix_value, octave_base_value::bool_array_value): Likewise. * ov-intx.h (OCTAVE_VALUE_INT_MATRIX_T::bool_array_value, OCTAVE_VALUE_INT_SCALAR_T::bool_array_value): Likewise. @@ -14150,7 +14150,7 @@ * ov-bool-sparse.cc (octave_sparse_bool_matrix::as_mxArray): Implement function. * ov-cx-sparse.cc (octave_sparse_complex_matrix::as_mxArray): - Implement function. + Implement function. * ov-re-sparse.cc (octave_sparse_matrix::as_mxArray): Implement function. @@ -14240,7 +14240,7 @@ octave_value::is_int32_type, octave_value::is_int64_type, octave_value::is_uint8_type, octave_value::is_uint16_type, octave_value::is_uint32_type, octave_value::is_uint64_type): - New functions. + New functions. * ov-base.h (octave_base_value::is_int8_type, octave_base_value::is_int16_type, octave_base_value::is_int32_type, @@ -14265,7 +14265,7 @@ * ov-re-sparse.h (octave_sparse_matrix::is_double_type): New function. * ov-cx-sparse.h (octave_sparse_complex_matrix::is_double_type): New function. - + 2006-07-15 John W. Eaton <jwe@octave.org> * ov-typeinfo.cc: Also instantiate arrays of assignany_ops. @@ -14409,7 +14409,7 @@ * symtab.cc (SYMBOL_DEF::type_as_string, SYMBOL_DEF::which, symbol_table::clear_functions, table::clear_function, - symbol_table::clear_function_pattern): + symbol_table::clear_function_pattern): Handle mex. * symtab.h (symbol_record::is_mex_function, symbol_record::symbol_def::is_mex_function): New functions. @@ -14497,10 +14497,10 @@ * pt-decl.cc (tree_decl_elt::dup, tree_decl_init_list::dup, tree_global_command::dup, tree_static_command::dup): New functions. * pt-decl.h: Provide decls. - + * pt-exp.h (tree_expression::copy_base): New function. (tree_expression::dup): New pure virtual function. - + * pt-fcn-handle.cc, pt-fcn-handle.h (tree_anon_fcn_handle): New class. * pt-fcn-handle.cc (tree_function_handle::dup): New function. @@ -14510,7 +14510,7 @@ * pt-colon.h: Provide decl. (tree_colon_expression::tree_colon_expression (tree_expression *, tree_expression *, tree_expression *, int, int)): New constructor. - + * pt-const.cc (tree_constant::dup): New function. (tree_constant::tree_constant (const octave_value&, const std::string&, int, int)): New constructor. @@ -14540,7 +14540,7 @@ * pt-binop.cc (tree_binary_expression::dup, tree_boolean_expression::dup): New functions. * pt-binop.h: Provide decls. - + * pt-unop.cc (tree_prefix_expression::dup, tree_postfix_expression::dup): New functions. * pt-unop.h: Provide decls. @@ -14580,7 +14580,7 @@ * ov-usr-fcn.cc (octave_user_function::do_multi_index_op): Don't assign values returned by evaluation of cmd_list to - temporary variable. Delete unused variable last_computed_value. + temporary variable. Delete unused variable last_computed_value. * pt-stmt.cc (tree_statement_list::eval): Clear retval before each statement is evaluated. @@ -14742,13 +14742,13 @@ Vlast_prompt_time to 0. * pr-output.cc (set_format): Always include space for sign. - + 2006-05-23 John W. Eaton <jwe@octave.org> * load-save.cc (Fsave): Use tellp instead of pubseekoff to determine whether we are at beginning of file. - * ov-intx.h (OCTAVE_VALUE_INT_SCALAR_T::increment, + * ov-intx.h (OCTAVE_VALUE_INT_SCALAR_T::increment, OCTAVE_VALUE_INT_SCALAR_T::decrement, OCTAVE_VALUE_INT_MATRIX_T::increment, OCTAVE_VALUE_INT_MATRIX_T::decrement): New functions. @@ -14875,7 +14875,7 @@ * variables.cc (is_builtin_variable, builtin_string_variable, builtin_real_scalar_variable, builtin_any_variable): Delete functions. - (Fexist, Fdocument, do_who, Fwho, link_to_builtin_or_function): + (Fexist, Fdocument, do_who, Fwho, link_to_builtin_or_function): No need to handle built-in variables. * variables.h (is_builtin_variable, builtin_string_variable, builtin_real_scalar_variable, builtin_any_variable): Delete decls. @@ -14988,7 +14988,7 @@ (symbols_of_dirfns): Delete DEFVAR and function. * error.cc (initialize_warning_options): Now extern. - Rename from init_warning_options. + Rename from init_warning_options. * error.h: Provide decl. * octave.cc (octave_main): Call it here. @@ -15014,12 +15014,12 @@ * load-save.cc (crash_dumps_octave_core, Fdefault_save_options, Foctave_core_file_limit, Foctave_core_file_name, - Foctave_core_file_options, Fsave_header_format_string): + Foctave_core_file_options, Fsave_header_format_string): New functions. (crash_dumps_octave_core, default_save_options, octave_core_file_limit, octave_core_file_name, - octave_core_file_options, save_header_format_string): - Delete functions. + octave_core_file_options, save_header_format_string): + Delete functions. (symbols_of_load_save): Delete DEFVARs and function. * ov-base.cc (Fprint_answer_id_name, Fsilent_functions): New functions. @@ -15117,13 +15117,13 @@ * xdiv.h (xdvi, xleftdiv): Update the declarations * OPERATORS/op-cm-cm.cc, OPERATORS/op-cm-cs.cc, OPERATORS/op-cm-m.cc, OPERATORS/op-cm-s.cc, - OPERATORS/op-cm-scm.cc, OPERATORS/op-cm-sm.cc, + OPERATORS/op-cm-scm.cc, OPERATORS/op-cm-sm.cc, OPERATORS/op-cs-cm.cc, OPERATORS/op-cs-m.cc, - OPERATORS/op-m-cm.cc, OPERATORS/op-m-cs.cc, - OPERATORS/op-m-m.cc, OPERATORS/op-m-s.cc, - OPERATORS/op-m-scm.cc, OPERATORS/op-m-sm.cc, - OPERATORS/op-s-cm.cc, OPERATORS/op-s-m.cc, - OPERATORS/op-scm-cm.cc, OPERATORS/op-scm-m.cc, + OPERATORS/op-m-cm.cc, OPERATORS/op-m-cs.cc, + OPERATORS/op-m-m.cc, OPERATORS/op-m-s.cc, + OPERATORS/op-m-scm.cc, OPERATORS/op-m-sm.cc, + OPERATORS/op-s-cm.cc, OPERATORS/op-s-m.cc, + OPERATORS/op-scm-cm.cc, OPERATORS/op-scm-m.cc, OPERATORS/op-sm-cm.cc, OPERATORS/op-sm-m.cc: Update use of xdiv and xleftdiv functions to allow matrix type caching. * DLD-FUNCTIONS/matrix_type.cc (Fmatrix_type): Update to allow typing @@ -15133,12 +15133,12 @@ * DLD-FUNCTIONS/regexp.cc (class regexp_elem): New class to store matched element in a std::list. - (octregexp_list): Take algorithm from octregexp and construct a + (octregexp_list): Take algorithm from octregexp and construct a list of matches. (octregexp): Rewrite to use linked list of matches. (Fregexprep): New function, working directly in linked list of matches. - + 2006-05-02 John W. Eaton <jwe@octave.org> * lex.l ({CCHAR}): Exit rawcommand mode if returning '\n' token. @@ -15182,7 +15182,7 @@ * parse.y (warn_assign_as_truth_value, warn_associativity_change, warn_function_name_clash, warn_future_time_stamp, warn_missing_semicolon, warn_precedence_change, - warn_variable_switch_label, symbols_of_parse): + warn_variable_switch_label, symbols_of_parse): Delete DEFVARs and functions. (Vwarn_assign_as_truth_value, Vwarn_associativity_change, Vwarn_function_name_clash, Vwarn_future_time_stamp, @@ -15194,7 +15194,7 @@ of using Vwarn_associativity_change and Vwarn_precedence_change. (maybe_warn_associativity_change, maybe_warn_missing_semi, maybe_warn_assign_as_truth_value, make_binary_op, make_boolean_op, - frob_function): Call warning_with_id instead of warning. + frob_function): Call warning_with_id instead of warning. * dynamic-ld.cc (octave_dynamic_loader::do_load): Likewise. * ov.cc (warn_fortran_indexing, warn_imag_to_real, symbols_of_ov): @@ -15235,7 +15235,7 @@ * ov.h (Vwarn_fortran_indexing, Vwarn_imag_to_real): Delete decls. - * pt-mat.cc (warn_empty_list_elements, warn_string_concat): + * pt-mat.cc (warn_empty_list_elements, warn_string_concat): Delete functions. (symbols_of_pt_mat): Delete DEFVARs. (Vwarn_empty_list_elements, Vwarn_string_concat): Delete variables. @@ -15261,7 +15261,7 @@ * dynamic-ld.cc (warn_reload_forces_clear, symbols_of_dynamic_ld): Delete DEFVAR and functions. (Vwarn_reload_forces_clear): Delete variable. - (do_clear_function, octave_dynamic_loader::do_load): + (do_clear_function, octave_dynamic_loader::do_load): Call warning_with_id instead of warning. * error.cc (warning_enabled): Now extern. (Fwarning): If specific id is not found, return state of "all". @@ -15306,13 +15306,13 @@ DEFCONSTX_INTERNAL): Delete definitions. * sighandlers.cc (FSIG): New function to replace DEFCONST in - symbols_of_sighandlers. + symbols_of_sighandlers. * octave.cc (intern_argv): Set octave_argv instead of calling bind_builtin_variable here. (Fargv, Fprogram_invocation_name, Fprogram_name): New functions to replace DEFCONSTs in symbols_of_toplvev in toplev.cc. - (octave_program_invocation_name, octave_program_name): + (octave_program_invocation_name, octave_program_name): New static variables. (execute_command_line_file): Use unwind_protect_str to protect octave_program_invocation_name, octave_program_name instead of @@ -15351,7 +15351,7 @@ * DLD-FUNCTIONS/regexp.cc: Include <algorithm>, for transform decl. - * DLD-FUNCTIONS/ccolamd.cc (Fccolamd, Fcsymamd): + * DLD-FUNCTIONS/ccolamd.cc (Fccolamd, Fcsymamd): Always return something. * sighandlers.cc (octave_set_signal_handler, @@ -15381,8 +15381,8 @@ * symtab.h (symbol_table::symbol_table): Likewise. * strfns.cc (Flist_in_columns): Likewise. * pt.cc (tree::str_print_code): Likewise. - * parse.y (yyerror, fold, finish_matrix): Likewise. - * pr-output.cc (PRINT_ND_ARRAY, octave_print_internal, Fdisp): + * parse.y (yyerror, fold, finish_matrix): Likewise. + * pr-output.cc (PRINT_ND_ARRAY, octave_print_internal, Fdisp): Likewise. * symtab.cc (symbol_table::print_descriptor): Likewise. * ov-list.cc (octave_list::print_raw, octave_list::save_ascii, @@ -15402,7 +15402,7 @@ Likewise. * oct-stream.cc (scanf_format_list::scanf_format_list, printf_format_list::printf_format_list, - octave_base_stream::do_gets, BEGIN_CHAR_CLASS_CONVERSION, + octave_base_stream::do_gets, BEGIN_CHAR_CLASS_CONVERSION, octave_stream_list::do_list_open_files): Likewise. * ls-oct-ascii.h (extract_keyword): Likewise. * load-save.cc (do_load): Likewise. @@ -15456,7 +15456,7 @@ * OPERATORS/op-cm-scm.cc (DEFBINOP(div)): Explicitly cast args here instead of using CAST_BINOP_ARGS. - * OPERATORS/op-streamoff.cc (STREAMOFF_COMP_OP): Second arg to + * OPERATORS/op-streamoff.cc (STREAMOFF_COMP_OP): Second arg to CAST_BINOP_ARGS is also const. * DLD-FUNCTIONS/chol.cc (Fcholinv, Fchol2inv): Eliminate nargout @@ -15555,7 +15555,7 @@ octave_fcn_inline::load_binary): Likewise. * ov-list.cc (octave_list::save_binary, octave_list::load_binary): Likewise. - * ov-range.cc (octave_range::save_binary, octave_range::load_binary): + * ov-range.cc (octave_range::save_binary, octave_range::load_binary): Likewise. * ov-re-mat.cc (octave_matrix::save_binary, octave_matrix::load_binary): Likewise. @@ -15589,7 +15589,7 @@ print_answer_id_name, warn_resize_on_range_error, warn_num_to_str, and silent_functions here from symbols_of_ov in ov.cc. * ov.h (Vprint_answer_id_name): Delete decl. - * ov-base.h (Vwarn_resize_on_range_error, Vwarn_num_to_str): + * ov-base.h (Vwarn_resize_on_range_error, Vwarn_num_to_str): Move decls here from ov.h. * ov-str-mat.cc (warn_str_to_num): Move here, from ov.cc. @@ -15645,7 +15645,7 @@ * ov.h (octave_value::nil_rep): Delete decl. * ov-base.h (DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA, - DECLARE_OV_BASE_TYPEID_FUNCTIONS_AND_DATA, + DECLARE_OV_BASE_TYPEID_FUNCTIONS_AND_DATA, DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2, DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA): Move macro definitions here from ov.h. @@ -15671,7 +15671,7 @@ (octave_value::internal_rep): Return pointer to octave_base_value, not octave_value. - + 2006-04-11 John W. Eaton <jwe@octave.org> * pt-assign.cc (tree_simple_assignment::rvalue, @@ -15714,7 +15714,7 @@ 2006-04-06 John W. Eaton <jwe@octave.org> * parse.y (parse_and_execute, parse_fcn_file): - Create octave_script_function object and push it on the call stack. + Create octave_script_function object and push it on the call stack. * parse.y (Fmfilename): Check for script or user function file on call stack. @@ -15782,10 +15782,10 @@ * oct-map.h, ov-base-mat.h, ov-base-sparse.h, ov-base.h, ov-bool.h, ov-complex.h, ov-intx.h, ov-range.h, ov-scalar.h, ov-str-mat.h, ov.h (resize): Ditto. - + * DLD-FUNCTIONS/rand.cc (do_rand): Additional argument for - gamma and poisson distributions. Change "state" and "seed" - arguments so that they choose between generators. + gamma and poisson distributions. Change "state" and "seed" + arguments so that they choose between generators. Add, poisson, gamma and exponential generators. (Frand, Frandn): Update docs for new generators, add tests. (Frande, Frandp, Frandg): New generators, with test code. @@ -15835,7 +15835,7 @@ 2005-10-25 David Bateman <dbateman@free.fr> - * data.cc (do_cat): With 1 arg, return [](0x0) for compatibility. + * data.cc (do_cat): With 1 arg, return [](0x0) for compatibility. 2006-03-23 John W. Eaton <jwe@octave.org> @@ -15892,9 +15892,9 @@ and singular matrices. * DLD-FUNCTIONS/luinc.cc: Remove error test for singular matrix as QR solver now implemented. - * DLD-FUNCTIONS/matrix_type.cc (Fmatrix_type): Paranoid check on - error_state. Disable tests for the detection of underdetermined - lower and over-determined upper matrix due to problems with + * DLD-FUNCTIONS/matrix_type.cc (Fmatrix_type): Paranoid check on + error_state. Disable tests for the detection of underdetermined + lower and over-determined upper matrix due to problems with non minimum norm solutions. * DLD-FUNCTIONS/spqr.cc: Warning for issue of use of Fspqr for under-determined problems. @@ -15913,7 +15913,7 @@ * ls-oct-ascii.h (extract_keyword): Use std::string compare method instead of strncmp. - * ls-oct-ascii.cc (extract_keyword): Likewise. + * ls-oct-ascii.cc (extract_keyword): Likewise. 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> @@ -15941,7 +15941,7 @@ 2006-03-14 John W. Eaton <jwe@octave.org> * defun.cc (print_usage): New arg, extra_msg. - + * xpow.cc: Omit tests for now. * parse.y (QUOTE, TRANSPOSE): For compatibility, now have same @@ -15949,7 +15949,7 @@ 2006-03-14 Bill Denney <bill@givebillmoney.com> - * load-save.cc (Fload, Fsave): Update docstring for functional form. + * load-save.cc (Fload, Fsave): Update docstring for functional form. 2006-03-14 John W. Eaton <jwe@octave.org> @@ -16022,7 +16022,7 @@ 2006-03-08 David Bateman <dbateman@free.fr> - * ov-mapper.cc (SPARSE_MAPPER_LOOP_2): Change nnz to nz to remove + * ov-mapper.cc (SPARSE_MAPPER_LOOP_2): Change nnz to nz to remove shadowed variable warning. * DLD-FUNCTIONS/spqr.cc: Update for new upstream CXSPARSE release. @@ -16031,7 +16031,7 @@ * help.cc (display_help_text): Force linebreak with @sp. 2006-03-06 Keith Goodman <kwgoodman@gmail.com> - + * bitfcns.cc, data.cc, debug.cc, file-io.cc, help.cc, load-save.cc, mappers.cc, ov-cell.cc, ov-fcn-inline.cc, ov-struct.cc, ov-usr-fcn.cc, ov.cc, pr-output.cc, utils.cc, @@ -16073,14 +16073,14 @@ * ov.h (virtual bool is_sparse_type (bool)): New virtual function * ov-base.h (bool is_sparse_type (bool)): New function * ov-base-sparse.h (bool is_sparse_type (bool)): New function - * DLD-FUNCTIONS/ccolamd.cc, DLD-FUNCTION/colamd.cc, + * DLD-FUNCTIONS/ccolamd.cc, DLD-FUNCTION/colamd.cc, DLD-FUNCTIONS/__glpk__.cc, DLD-FUNCTIONS/splu.cc, DLD-FUNCTIONS/sparse.cc, DLD-FUNCTIONS/matrix_type.cc, pt-mat.cc: Replace us of 'arg.class_name () == "sparse"' with 'arg.is_sparse_type ()' - + 2006-02-20 David Bateman <dbateman@free.fr> - + * pt-mat.cc (class tm_row_const): Add any_sparse bool variable. (tm_row_const::tm_row_const_rep::do_init_element): Initialize any_sparse variable if any matrice is sparse. @@ -16120,7 +16120,7 @@ * lex.l (\[{S}*): Maybe set lexer_flags.looking_at_return_list or lexer_flags.looking_at_matrix_or_assign_lhs here. - * parse.y + * parse.y (return_list_beg): Don't use in_return_list here. (assign_lhs, matrix): Don't use in_matrix_or_assign_lhs here. (in_matrix_or_assign_lhs, in_return_list): Delete unused macros. @@ -16134,15 +16134,15 @@ 2006-02-09 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/spqr.cc: New file for sparse QR and dmperm based on - CSparse. - * DLD-FUNCTIONS/matrix_type.cc (Fmatrix_type): dintinguish between - rectangular and singular matrices. Add tests. - * DLD-FUNCTIONS/luinc.cc: Add tests. - * DLD-FUNCTIONS/spkron.cc: Ditto. - * Makefile.in (DLD_XSRC): Add spqr.cc. - (OCT_LINK_DEPS): Add CSSPARSE_LIBS. - * sparse-xdiv.h: Remove conditio of lssolve. + * DLD-FUNCTIONS/spqr.cc: New file for sparse QR and dmperm based on + CSparse. + * DLD-FUNCTIONS/matrix_type.cc (Fmatrix_type): dintinguish between + rectangular and singular matrices. Add tests. + * DLD-FUNCTIONS/luinc.cc: Add tests. + * DLD-FUNCTIONS/spkron.cc: Ditto. + * Makefile.in (DLD_XSRC): Add spqr.cc. + (OCT_LINK_DEPS): Add CSSPARSE_LIBS. + * sparse-xdiv.h: Remove conditio of lssolve. 2006-02-08 John W. Eaton <jwe@octave.org> @@ -16180,7 +16180,7 @@ * ov-base-scalar.h (octave_base_scalar<MT>::nnz): New function. * Cell.cc (Cell::nnz): New function. * Cell.h: Provide decl. - * data.cc (Fnnz): New function. + * data.cc (Fnnz): New function. * DLD-FUNCTIONS/sparse.cc (Fnnz): Delete. 2006-01-13 John W. Eaton <jwe@octave.org> @@ -16213,7 +16213,7 @@ * help.cc (make_name_list): Add autoload functions to list of available completions. (simple_help): Add autoloaded functions to functions listed - (first_help_sentence): Avoid issue with single line help string + (first_help_sentence): Avoid issue with single line help string that is not terminated in \n. (Flookfor): Check for string match in the keyword/function, etc name. Also look for string match in help of autoloaded functions. @@ -16222,22 +16222,22 @@ function to list all autloaded functions. (string_vector reverse_lookup_autoload (const std::string& nm)): Reverse lookup function to match file to autoloaded functions. - * parse.h (autoloaded_functions, reverse_lookup_autoload): - Declaration. - + * parse.h (autoloaded_functions, reverse_lookup_autoload): + Declaration. + * oct-map.cc (maybe_delete_elements): New function. * oct-map.h (maybe_delete_elements): Declare it. * ov-struct.cc (octave_struct::subsref): Handle indexing empty structure. (octave_struct::subsasgn): If rhs is [], delete elements. - (octave_struct::print_raw): Handle printing empty structure. + (octave_struct::print_raw): Handle printing empty structure. * ls-mat5.cc (read_mat5_binary_element): Allow reading of sparse - elements when nnz doesn't equal nzmax. - + elements when nnz doesn't equal nzmax. + 2006-01-10 David Bateman <dbateman@free.fr> - * DLD-FUNCTIONS/sparse.cc (sparse_find): Use Sparse<T>::nonzero() + * DLD-FUNCTIONS/sparse.cc (sparse_find): Use Sparse<T>::nonzero() rather than Sparse<T>::nnz(), due to possibility of overallocation of memory. @@ -16254,7 +16254,7 @@ * DLD-FUNCTIONS/regexp.cc: New file. - * DLD-FUNCTIONS/dispatch.cc: Update tests for string/sq_string + * DLD-FUNCTIONS/dispatch.cc: Update tests for string/sq_string differences. * error.cc (Vquiet_warning): New variable. @@ -16403,7 +16403,7 @@ * data.cc (do_cat): No need to handle character arrays specially here. * ops.h (DEFNDCHARCATOP_FN): New macro. - * OPERATORS/op-int.h (OCTAVE_INT_CHAR_CONCAT_FN, + * OPERATORS/op-int.h (OCTAVE_INT_CHAR_CONCAT_FN, OCTAVE_CHAR_INT_CONCAT_FN, OCTAVE_INSTALL_INT_CHAR_CONCAT_FN, OCTAVE_INSTALL_CHAR_INT_CONCAT_FN): New macros. * OPERATORS/op-int-concat.cc: Use them do define char/int op functions. @@ -16492,7 +16492,7 @@ 2005-10-25 David Bateman <dbateman@free.fr> - * data.cc (do_cat): called with 2 args, should return args(1) + * data.cc (do_cat): called with 2 args, should return args(1) for compatibility. 2005-10-23 David Bateman <dbateman@free.fr> @@ -16503,9 +16503,9 @@ * DLD-FUNCTIONS/colamd.c (Fsymbfact): Remove. * DLD-FUNCTIONS/matrix_type.cc (Fmatrix_type): 64-bit fixes and fix for permutation of upper/lower triangular matrices. - * DLD-FUNCTIONS/splu.cc (Fspinv): Implemtation of sparse inverse + * DLD-FUNCTIONS/splu.cc (Fspinv): Implemtation of sparse inverse function. - * DLD-FUNCTIONS/spchol.cc (sparse_chol): Static function for core of + * DLD-FUNCTIONS/spchol.cc (sparse_chol): Static function for core of the sparse cholesky factorization. (Fspchol): New function for sparse cholesky factorization R'R. (Fsplchol): New function for sparse cholesky factorization LL'. @@ -16551,7 +16551,7 @@ 2005-10-17 Keith Goodman <kwgoodman@gmail.com> * DLD-FUNCTIONS/sort.cc: Doc string fix. - + 2005-10-17 John W. Eaton <jwe@octave.org> * oct-conf.h.in (OCTAVE_CONF_F77_FLOAT_STORE_FLAG): Substitute @@ -16660,7 +16660,7 @@ * oct-procbuf.cc (octave_procbuf::close): Call octave_syscalls::waitpid here instead of calling waitpid directly. * sighandlers.cc (OCL_REP::wait): Likewise. - + * sysdep.h [__MINGW32__]: Don't define waitpid here. 2005-09-15 John W. Eaton <jwe@octave.org> @@ -16693,7 +16693,7 @@ * Makefile.in (DLD_XSRC): Add ccolamd.cc (OCTAVE_LIBS): Add LIBGLOB. - (OCT_LINK_DEPST, octave): Add AMD, COLAMD, CCOLAMD and CHOLMOD + (OCT_LINK_DEPST, octave): Add AMD, COLAMD, CCOLAMD and CHOLMOD libraries. * default.cc (set_default_exec_path, set_default_path, maybe_add_default_load_path, LOADPATH): Use SEPCHAR_STR and SEPCHAR. @@ -16712,7 +16712,7 @@ * DLD-FUNCTIONS/colamd.cc (Fcolamd, Fsymamd): Allow conditional build. Include oct-sparse.h rather than colamd.h. * DLD-FUNCTIONS/ccolamd.cc: New file with Fccolamd a Fcsymamd. - + 2005-09-14 John W. Eaton <jwe@octave.org> * ov-complex.cc (octave_complex::try_narrowing_conversion): @@ -16756,7 +16756,7 @@ * oct-map.cc (Octave_map::index): Don't crash if index list is empty. * ov-str-mat.cc (octave_char_matrix_str::do_index_op_internal): - Likewise. + Likewise. * oct-map.h (Octave_map::ndims): New function. @@ -16770,7 +16770,7 @@ 2005-08-25 David Bateman <dbateman@free.fr> - * OPERATORS/op-sm-m.cc, OPERATORS/op-sm-cm.cc, OPERATORS/op-scm-m.cc, + * OPERATORS/op-sm-m.cc, OPERATORS/op-sm-cm.cc, OPERATORS/op-scm-m.cc, OPERATORS/op-scm-cm.cc, OPERATORS/op-m-sm.cc, OPERATORS/op-m-scm.cc, OPERATORS/op-cm-sm.cc, OPERATORS/op-cm-scm.cc: Use mixed matrix/sparse multiply operator rather than casting sparse to matrix. @@ -16809,8 +16809,8 @@ 2005-07-05 Mats Jansson <mats.e.jansson@home.se> - * file-io.cc (Fmkstemp): Check if second argument is true - before marking file for deletion. + * file-io.cc (Fmkstemp): Check if second argument is true + before marking file for deletion. 2005-07-05 John W. Eaton <jwe@octave.org> @@ -16826,7 +16826,7 @@ 2005-06-17 John W. Eaton <jwe@octave.org> - * help.cc (help_from_list, help_from_symbol_table, + * help.cc (help_from_list, help_from_symbol_table, help_from_file): New arg, symbol_found. (builtin_help): Use symbol_found arg to determine whether help text is empty or symbol is not available. @@ -16861,7 +16861,7 @@ * symtab.h (symbol_record::visible): New data member. (symbol_record::hide, symbol_record::show, symbol_record::is_visible): - New functions. + New functions. * symtab.h (symbol_record::maybe_delete_def): New private function. * symtab.cc (symbol_record::clear, symbol_record::alias, @@ -16998,7 +16998,7 @@ 2005-05-16 David Bateman <dbateman@free.fr> - * ls-mat.cc (save_mat5_binary_element): Increase size of + * ls-mat.cc (save_mat5_binary_element): Increase size of compression buffer. (load_mat5_binary_element): Allow ASCII encoded as UTF8, and give error messages for multi-byte UTF8 and UTF16 and UTF32 @@ -17007,7 +17007,7 @@ * ls-hdf5.h (H5T_NATIVE_IDX): New macro defining native indexing type for HDF5 files - * ls-hdf5.cc (save_hdf5_empty, load_hdf5_empty): Use + * ls-hdf5.cc (save_hdf5_empty, load_hdf5_empty): Use H5T_NATIVE_IDX to allow 64-bit indexing. * ov-bool-sparse.cc (save_hdf5, load_hdf5): ditto. * ov-re-sparse.cc (save_hdf5, load_hdf5): ditto. @@ -17017,7 +17017,7 @@ * load-save.cc (parse_save_options): Remove -nozip option. (Fsave): If user defines file format, ignore completely the default file format options. - + 2005-05-12 John W. Eaton <jwe@octave.org> * Makefile.in (oct-gperf.h): Try harder to cause Make to exit here @@ -17107,7 +17107,7 @@ * ov-re-sparse.cc, ov-cx-sparse.cc (load_binary): read save_type into one byte variable. - + 2005-04-29 John W. Eaton <jwe@octave.org> * oct-stream.cc (DO_LITERAL_CONVERSION): Cast fmt[i] to unsigned @@ -17138,7 +17138,7 @@ * ov-base-sparse.cc (assign): Invalidate matrix type. - * ov-base-sparse.cc (SparseType sparse_type (void), + * ov-base-sparse.cc (SparseType sparse_type (void), SparseType sparse_type (const SparseType&): Functions to read and set sparse matrix type. @@ -17207,7 +17207,7 @@ * mkbuiltins (VAR_FILES): Expect $(VAR_FILES) to have .df suffix. * Makefile.in (clean): Also remove $(DLD_PICOBJ). - Use mk-oct-links --delete to remove links to .oct files. + Use mk-oct-links --delete to remove links to .oct files. Remove $(DOC_FILES) not $(DEF_FILES) and $(VAR_FILES). * mk-oct-links (mk-oct-links): Handle --delete option. @@ -17284,7 +17284,7 @@ (default_save_options): New function. DEFVAR it. (octave_core_file_format): Delete function and DEFVAR. (octave_core_file_options): New function. DEFVAR it. - + * octave.cc (default_save_format): Delete binding (default_save_options): New bindings @@ -17305,11 +17305,11 @@ * ov-re-sparse.cc (streamoff_array_value): Use octave_idx_type. (convert_to_str_internal): New function. * ov-re-sparse.h (convert_to_str_internal): Definition. - + * DLD-FUNCTIONS/sparse.cc (Fsparse): More care for nargin=2 case. * DLD-FUNCTIONS/splu.cc (Fsplu): Use octave_idx_type. - + 2005-04-14 John W. Eaton <jwe@octave.org> * strfns.cc (Fchar): If arg is a dq string, return a dq string. @@ -17448,21 +17448,21 @@ 2005-04-06 David Bateman <dbateman@free.fr> - * Makefile.in: Link to UMFPACK_LIBS. Add zfstream.{cc,h} to build and + * Makefile.in: Link to UMFPACK_LIBS. Add zfstream.{cc,h} to build and dist files. - * zfstream.cc: New file for C++ binding for fstream like class for + * zfstream.cc: New file for C++ binding for fstream like class for zlib. * zfstream.h: Definition for fstream like C++ bindings to zlib. - * load-save.cc (static bool check_gzip_magic (const std::string&)): - New function to look for GZIP magic - (static load_save_format get_file_format (const istream &file)): New + * load-save.cc (static bool check_gzip_magic (const std::string&)): + New function to look for GZIP magic + (static load_save_format get_file_format (const istream &file)): New function split from old get_file_format but passed istream to allow use with zlib istream. - (static load_save_format get_file_format (const std::string&, - const std::string&, bool)): Modify the test uncompressed file first, + (static load_save_format get_file_format (const std::string&, + const std::string&, bool)): Modify the test uncompressed file first, then compressed version (Fload) Allow -v6, -6, -v7 and -7 options. Split load code to allow use of zlib. @@ -17474,23 +17474,23 @@ * ls-mat5.cc (read_mat5_binary_element): Test for miCOMPRESSED flag for matlab v7 files, and decompress data in memory. Allow reading of matlab logical variables either in mxDOUBLE_CLASS or mxUINT8_CLASS. - (int save_mat5_array_length(const double*, ...): New function to + (int save_mat5_array_length(const double*, ...): New function to calculate number of bytes used to save NDArray. - (int save_mat5_array_length(const Complex*, ...): New function to + (int save_mat5_array_length(const Complex*, ...): New function to calculate number of bytes used to save ComplexNDArray. - (int save_mat5_element_length): New function to find number of bytes + (int save_mat5_element_length): New function to find number of bytes needed to save data element. (save_mat5_binary_element): New input arguments, mat7_format and - compressing, that define if we are in a matlab v7 format and where we + compressing, that define if we are in a matlab v7 format and where we are currently compressing the data element. If mat7_format use - miCOMPRESSED flag for matlab v7 files, and compress data in memory. - Add capability to save logical variables as mxUINT8_CLASS. If v7 + miCOMPRESSED flag for matlab v7 files, and compress data in memory. + Add capability to save logical variables as mxUINT8_CLASS. If v7 format maximum variable length is 63 characters and not 31. Use the save_mat5_element_length function to pre-calculate the number of bytes - taken by a variable rather than use a negative seek to correct after + taken by a variable rather than use a negative seek to correct after writing (zlib can't do negative seeking) - * ls-mat5.h: Add to miCOMPRESSED, miUTF8, miUTF16 and miUTF32 flags to + * ls-mat5.h: Add to miCOMPRESSED, miUTF8, miUTF16 and miUTF32 flags to the enum mat5_data_type. (save_mat5_binary_element): Add args mat7_format and compressing to the definition. @@ -17758,7 +17758,7 @@ * sparse-xdiv.cc: Remove spparms umfpack flag * DLD-FUNCTIONS/spparms.cc: Warning that umfpack flag is ignored. - + 2005-01-16 David Bateman <dbateman@free.fr> * ls-mat5.cc (read_mat5_integer_data): Change "T &m" to "T *m" and @@ -17769,13 +17769,13 @@ (write_mat5_integer_data): Change "const T &m" to "T *m", etc. New instantiation with int. (save_mat5_binary_element): Modify to save sparse data - + 2005-01-15 David Bateman <dbateman@free.fr> - * data.cc (do_cat): Use first non-empty matrix as base for + * data.cc (do_cat): Use first non-empty matrix as base for concatenation. * pt-mat.cc (tree_matrix::rvalue): ditto. - + 2005-01-14 John W. Eaton <jwe@octave.org> * ov.cc (do_cat_op): When checking for empty args, use @@ -17790,9 +17790,9 @@ * data.cc (make_diag): Use numel not capacity to remove ambiguity. * ov.h (octave_value::capacity): New virtual funtion. * ov-base.h (octave_base_value::capacity): New function calls numel. - * data.cc (Freshape): Use arg.numel() rather than arg.dims().numel() + * data.cc (Freshape): Use arg.numel() rather than arg.dims().numel() since sparse numel now consistent. - * symtab.h (symbol_record::symbol_def::capacity, + * symtab.h (symbol_record::symbol_def::capacity, symbol_record::capacity): New methods. * symtab.cc (symbol_record::print_symbol_info_line, symbol_table::parse_whos_line_format, symbol_table::maybe_list): @@ -17805,7 +17805,7 @@ * DLD-FUNCTIONS/splu.cc (Fsplu): Change use of nelem to numel. * ov.cc (do_cat_op): Early return for concatenation with empty objects. - + 2005-01-12 John W. Eaton <jwe@octave.org> * DLD-FUNCTIONS/find.cc (Ffind): Make it work for character strings. @@ -17817,7 +17817,7 @@ 2005-01-11 David Bateman <dbateman@free.fr> - * ov-base-sparse.h (octave_base_sparse::any, + * ov-base-sparse.h (octave_base_sparse::any, octave_base_sparse::all): Use new constructors, etc as pointed out by JWE. @@ -17842,7 +17842,7 @@ OPERATORS/op-sbm-b.cc, OPERATORS/op-sbm-bm.cc, OPERATORS/op-sbm-sbm.cc, OPERATORS/op-scm-cm.cc, OPERATORS/op-scm-cs.cc, OPERATORS/op-scm-m.cc, - OPERATORS/op-scm-s.cc, OPERATORS/op-scm-scm.cc, + OPERATORS/op-scm-s.cc, OPERATORS/op-scm-scm.cc, OPERATORS/op-scm-sm.cc, OPERATORS/op-sm-cm.cc, OPERATORS/op-sm-cs.cc, OPERATORS/op-sm-m.cc, OPERATORS/op-sm-s.cc, OPERATORS/op-sm-scm.cc, @@ -17853,13 +17853,13 @@ * sparse-ops.h: delete file. - * colamd.cc (Fcolamd, Fsymamd, Fetree): Remove no longer needed + * colamd.cc (Fcolamd, Fsymamd, Fetree): Remove no longer needed use of get_rep() and use the sparse matrix conversion functions directly. - * data.cc (Freshape): Use arg.dims().numel() rather than + * data.cc (Freshape): Use arg.dims().numel() rather than arg.numel() due to definition of numel for sparse matrices. - + * sparse.cc (Ffull, Fspfind, SPARSE_DIM_ARG_BODY, MINMAX_BODY, Fspatan2, make_spdiag): Convert to use new octave_value sparse constructors, sparse matrix conversion functions and remove @@ -17868,7 +17868,7 @@ * splu.cc (Fsplu): Remove remaining explicit octave_value construction. - + * ov-base-sparse.h (do_index_op, resize, reshape, permute, squeeze): Move these methods from the derived classes. * ov-base-spase.cc (do_index_op): Move this method from the derived @@ -17885,31 +17885,31 @@ * DLD-FUNCTIONS/spdet.cc (Fspdet): Remove use of SparseDet and SparseComplexDET classes and use DET and ComplexDET classes. - + * DLD-FUNCTIONS/colamd.cc op-bm-sbm.cc OPERATORS/op-b-sbm.cc - OPERATORS/op-cm-scm.cc OPERATORS/op-cm-sm.cc OPERATORS/op-cs-scm.cc + OPERATORS/op-cm-scm.cc OPERATORS/op-cm-sm.cc OPERATORS/op-cs-scm.cc OPERATORS/op-cs-sm.cc OPERATORS/op-fil-sbm.cc OPERATORS/op-fil-scm.cc - OPERATORS/op-fil-sm.cc OPERATORS/op-m-scm.cc OPERATORS/op-m-sm.cc - OPERATORS/op-sbm-b.cc OPERATORS/op-sbm-bm.cc OPERATORS/op-sbm-sbm.cc + OPERATORS/op-fil-sm.cc OPERATORS/op-m-scm.cc OPERATORS/op-m-sm.cc + OPERATORS/op-sbm-b.cc OPERATORS/op-sbm-bm.cc OPERATORS/op-sbm-sbm.cc OPERATORS/op-scm-cm.cc OPERATORS/op-scm-cs.cc OPERATORS/op-scm-m.cc - OPERATORS/op-scm-s.cc OPERATORS/op-scm-scm.cc OPERATORS/op-scm-sm.cc - OPERATORS/op-sm-cm.cc OPERATORS/op-sm-cs.cc OPERATORS/op-sm-m.cc - OPERATORS/op-sm-s.cc OPERATORS/op-sm-scm.cc OPERATORS/op-sm-sm.cc - OPERATORS/op-s-scm.cc OPERATORS/op-s-sm.cc ov-base-sparse.cc - ov-base-sparse.h ov-bool-sparse.cc ov-bool-sparse.h ov-cx-sparse.cc - ov-cx-sparse.h ov-re-sparse.cc ov-re-sparse.h sparse-base-lu.cc + OPERATORS/op-scm-s.cc OPERATORS/op-scm-scm.cc OPERATORS/op-scm-sm.cc + OPERATORS/op-sm-cm.cc OPERATORS/op-sm-cs.cc OPERATORS/op-sm-m.cc + OPERATORS/op-sm-s.cc OPERATORS/op-sm-scm.cc OPERATORS/op-sm-sm.cc + OPERATORS/op-s-scm.cc OPERATORS/op-s-sm.cc ov-base-sparse.cc + ov-base-sparse.h ov-bool-sparse.cc ov-bool-sparse.h ov-cx-sparse.cc + ov-cx-sparse.h ov-re-sparse.cc ov-re-sparse.h sparse-base-lu.cc sparse-base-lu.h DLD-FUNCTIONS/sparse.cc sparse-xdiv.cc sparse-xdiv.h - sparse-xpow.cc sparse-xpow.h DLD-FUNCTIONS/spdet.cc - DLD-FUNCTIONS/splu.cc DLD-FUNCTIONS/spparms.cc: Remove additional + sparse-xpow.cc sparse-xpow.h DLD-FUNCTIONS/spdet.cc + DLD-FUNCTIONS/splu.cc DLD-FUNCTIONS/spparms.cc: Remove additional licensing clause with authors permission. - + 2005-01-05 David Bateman <dbateman@free.fr> * DLD-FUNCTIONS/colamd.cc: Rename from colamdoct.cc. Base colamd.h now found in COLAMD/colamd.h. (Fcolamd): Return value is now used. (Fsymamd): ditto. - + * Makefile.in: include colamd.cc in DLD_XSRC. * ov.h (sparse_matrix_value, sparse_complex_matrix_value, @@ -17928,9 +17928,9 @@ * ov-re-mat.h (sparse_matrix_value, sparse_complex_matrix_value): Declare them. - + * ov-cx-mat.cc (octave_complex_matrix::sparse_matrix_value, - octave_complex_matrix::sparse_complex_matrix_value): Conversion + octave_complex_matrix::sparse_complex_matrix_value): Conversion functions. * ov-cx-mat.h (sparse_matrix_value, sparse_complex_matrix_value): @@ -17942,7 +17942,7 @@ * DLD_FUNCTIONS/spdet.cc (Fspdet): Use the above constructors and conversion functions. * DLD_FUNCTIONS/splu.cc (Fsplu): ditto. - + 2004-12-30 John W. Eaton <jwe@octave.org> * DLD-FUNCTIONS/splu.cc (Fsplu): Avoid shadow warnings. @@ -17974,7 +17974,7 @@ * ov.cc: Include ov-bool-sparse.h, ov-re-sparse.h, ov-cx-sparse.h. (install_types): Register sparse types. - Merge of sparse code from David Bateman <dbateman@free.fr> and + Merge of sparse code from David Bateman <dbateman@free.fr> and Andy Adler <adler@site.uottawa.ca>. * sparse-xdiv.cc, sparse-xpow.cc: New files. @@ -17994,7 +17994,7 @@ * Makefile.in (OV_SPARSE_SRC, OV_SPARSE_INCLUDES): New lists. (OV_SRC): Add $(OV_SPARSE_SRC) to the list. (INCLUDES): Add $(OV_SPARSE_INCLUDES) to the list. - + * OPERATORS/op-bm-sbm.cc, OPERATORS/op-b-sbm.cc, OPERATORS/op-cm-scm.cc, OPERATORS/op-cm-sm.cc, OPERATORS/op-cs-scm.cc, OPERATORS/op-cs-sm.cc, @@ -18102,7 +18102,7 @@ (octave_signals_caught): New static file-scope variable. (sigint_handler): Also set octave_signal_caught. - * sighandlers.cc (sigpipe_handler): + * sighandlers.cc (sigpipe_handler): * DLD-FUNCTIONS/gplot.l (plot_stream_event_handler): Rename from plot_stream_death_handler. Return true if plotter has exited. @@ -18362,7 +18362,7 @@ any argument list element has a magic end token. 2004-12-03 John W. Eaton <jwe@octave.org> - + * version.h (OCTAVE_VERSION): Now 2.1.64. 2004-12-03 Teemu Ikonen <tpikonen@pcu.helsinki.fi> @@ -18451,19 +18451,19 @@ * Cell.cc (concat): Delete. (Cell::concat): New method. * Cell.h: Provide decls. - + * oct-map.cc (concat): Delete (Octave_map::concat): New method. * oct-map.h: Provide decls. - - * ov.h (typedef octave_value (*cat_op_fcn) (octave_value&, - const octave_value&, const Array<int>&): Change definition of + + * ov.h (typedef octave_value (*cat_op_fcn) (octave_value&, + const octave_value&, const Array<int>&): Change definition of cat_op_fcn so first argument is not constant. * ops.h (CATOPDECL): First arg is no longer constant. (DEFCATOP_FN, DEFNDCATOP_FN): Change to use new concat methods. - * OPERATORS/op-chm.cc, OPERATORS/op-str-m.cc, OPERATORS/op-str-s.cc, + * OPERATORS/op-chm.cc, OPERATORS/op-str-m.cc, OPERATORS/op-str-s.cc, OPERATORS/op-str-str.cc (DEFCATOP): Change explicit concat functions to use new concatenation methods. @@ -18602,7 +18602,7 @@ * ops.h (DEFSTRDBLCONVFN): New macro. * OPERATORS/op-double-conv.cc: Use it to define new conversion op. Define new range to double matrix conversion. - (install_int_conv_ops): Install new ops. + (install_int_conv_ops): Install new ops. * ops.h (DEFSTRINTCONVFN): New macro. * OPERATORS/op-int-conv.cc: Use it to define new conversion ops. @@ -18705,9 +18705,9 @@ * DLD-FUNCTIONS/sort.cc (ascending_compare, descending_compare): Now templates (avoids g++ 3.4.x compile problems). Fix other uses of these functions to also treat them as templates. - (mx_sort): For unsigned EIGHT_BYTE_INT versions correct the test + (mx_sort): For unsigned EIGHT_BYTE_INT versions correct the test for the position of NaN. Problems when mode was DESCENDING or - UNDEFINED. Use static_cast<unsigned int> (dim) rather than + UNDEFINED. Use static_cast<unsigned int> (dim) rather than (unsigned int) dim. (IFloatFlip): Now static. @@ -18760,23 +18760,23 @@ * DLD-FUNCTIONS/sort.cc (sortmode): New enum to define sort direction. (template <class T> class vec_index): New class to contain values and - index for indexed sorts, replacing all previous struct versions. + index for indexed sorts, replacing all previous struct versions. Instantiate for double, Complex, char and octave_value. (template <class T> static octave_value_list mx_sort (ArrayN<T> &, int, sortmode)): New templated version of mx_sort replacing all previous versions, but specific to non indexed sorts. Instantiate for char and double if not IEEE754. - (template <> static octave_value_list mx_sort (ArrayN<double> &, + (template <> static octave_value_list mx_sort (ArrayN<double> &, int, sortmode)): Specialized function of mx_sort of IEEE754. - (template <class T> static octave_value_list mx_sort_indexed - (ArrayN<T> &, int, sortmode)): New templated version of mx_sort - for indexed sorts. Instantiate for double, Complex, char and + (template <class T> static octave_value_list mx_sort_indexed + (ArrayN<T> &, int, sortmode)): New templated version of mx_sort + for indexed sorts. Instantiate for double, Complex, char and octave_value. (ascending_compare, descending_compare): Comparison functions for double, char, vec_index<double> *, vec_index<Complex> *, vec_index<char> *, vec_index<octave_value>. Fix Complex comparison operator to sort by arg of values if absolute values are equal. - (Fsort): Update docs for new mode argument and for sorting of + (Fsort): Update docs for new mode argument and for sorting of strings and cell arrays of strings. Implement mode argument to define ascending and descending sorts. Include sorting of cell arrays of strings. Adapt for new templated versions of the mx_sort @@ -18802,7 +18802,7 @@ * ov.cc (octave_value::subsref (int, const std::string&, const std::list<octave_value_list>&, size_t)): New function. - * ov.h: Provide decl. + * ov.h: Provide decl. * ov-cell.h (octave_cell::is_constant): Return false. * ov-struct.h (octave_struct::is_constant): Delete. @@ -18827,14 +18827,14 @@ * ov-fcn-handle.cc (octave_fcn_handle::save_ascii, octave_fcn_handle::load_ascii, octave_fcn_handle::save_binary, octave_fcn_handle::load_binary, octave_fcn_handle::save_hdf5, - octave_fcn_handle::load_hdf5): New functions. + octave_fcn_handle::load_hdf5): New functions. * ov-fcn-handle.h: Provide decls. * ov-fcn-inline.cc (octave_fcn_inline::load_ascii): Allow spaces in saved function. (octave_fcn_inline::save_hdf5): Properly close all HDF5 objects. - * ls-oct-ascii.cc (read_ascii_data): Check return type of + * ls-oct-ascii.cc (read_ascii_data): Check return type of <octave_value>.load_ascii for errors reading the variables * variables.cc (lookup_function_handle, clear_variable, @@ -18894,7 +18894,7 @@ * ov-builtin.cc (octave_builtin::do_multi_index_op): Likewise. * pt-stmt.cc (curr_caller_statement): New variable. - * pt-stmt.h: Provide decl. + * pt-stmt.h: Provide decl. * toplev.cc (curr_caller_function): New variable. * toplev.h: Provide decl. @@ -18908,7 +18908,7 @@ * ov-fcn-inline.cc (octave_fcn_inline::save_ascii, octave_fcn_inline::load_ascii, octave_fcn_inline::save_binary, octave_fcn_inline::load_binary, octave_fcn_inline::save_hdf5, - octave_fcn_inline::load_hdf5): New functions. + octave_fcn_inline::load_hdf5): New functions. * ov-fcn-inline.h: Provide decls. 2004-09-08 John W. Eaton <jwe@octave.org> @@ -19091,7 +19091,7 @@ 2004-08-31 David Bateman <dbateman@free.fr> - * OPERATORS/op-int.h (ss_pow, ms_el_pow, mm_el_pow): New power + * OPERATORS/op-int.h (ss_pow, ms_el_pow, mm_el_pow): New power functions. (sm_el_pow): Return correct type. (OCTAVE_SS_POW_OPS, OCTAVE_SM_POW_OPS, OCTAVE_MS_POW_OPS, @@ -19108,7 +19108,7 @@ * ov-type-conv.h (OCTAVE_TYPE_CONV_BODY3): Conversion betwen same types returns the original value. - * bitfcns.cc (BITOP): Fix for mixed scalar/matrix ops. Allow + * bitfcns.cc (BITOP): Fix for mixed scalar/matrix ops. Allow octave_range as an argument, by using class_name rather than type_id to test. @@ -19229,7 +19229,7 @@ * ov.h (octave_value::fcn_inline_value): Provide decl. * ov-base.cc (octave_base_value::fcn_inline_value): New function * ov-base.h (octave_base_value::fcn_inline_value): Provide decl. - * ov-fcn-handle.cc (octave_fcn_handle::octave_fcn_handle + * ov-fcn-handle.cc (octave_fcn_handle::octave_fcn_handle (const std::string&, const string_vector&, const std::string&), octave_fcn_handle::convert_to_str_internal, Finline, Fargnames, Fformula, Fvectorize): Delete. @@ -19276,14 +19276,14 @@ 2004-08-05 David Bateman <dbateman@free.fr> - * ov-fcn-handle.cc (octave_fcn_handle (const std::string&, + * ov-fcn-handle.cc (octave_fcn_handle (const std::string&, const string_vector&, const std::string&)): New constructor for inline function handles. (octave_fcn_handle::print_raw): Allow inline functions to be printed. (octave_fcn_handle::convert_to_str_internal): New function to allow Fchar to work on inlined function handles. (Finline, Fformula, Fargnames, Fvectorize): New functions. - * ov-fcn-handle.h (octave_fcn_handle (const std::string&, + * ov-fcn-handle.h (octave_fcn_handle (const std::string&, const string_vector&, const std::string&)): Provide decl. (octave_fcn_handle::convert_to_str_internal): Provide decl. (fcn_type): New enum for the type of function handle. @@ -19370,7 +19370,7 @@ * Cell.cc (Cell::index): Quit early if an error occurs when creating index vector object. - * ov-int8.cc, ov-int16.cc, ov-int32.cc, ov-int64.cc, ov-uint8.cc, + * ov-int8.cc, ov-int16.cc, ov-int32.cc, ov-int64.cc, ov-uint8.cc, ov-uint16.cc, ov-uint32.cc, ov-uint64.cc (HDF5_SAVE_TYPE): Define for HDF5 native format for the type. @@ -19415,16 +19415,16 @@ * OPERATORS/op-int.h: Add sm_el_pow function - * ops.h (CATOPDECL, DEFCATOPX, DEFCATOP, DEFCATOP_FB, DEFNDCATOP_FN, + * ops.h (CATOPDECL, DEFCATOPX, DEFCATOP, DEFCATOP_FB, DEFNDCATOP_FN, CATOP_NONCONFORMANT, INSTALL_CATOP): New macros. - - * OPERATORS/op-b-b.cc, OPERATORS/op-b-bm.cc, OPERATORS/op-bm-b.cc, - OPERATORS/op-bm-bm.cc, OPERATORS/op-cell.cc, OPERATORS/op-chm.cc, - OPERATORS/op-cm-cm.cc, OPERATORS/op-cm-cs.cc, OPERATORS/op-cm-m.cc, - OPERATORS/op-cm-s.cc, OPERATORS/op-cs-cm.cc, OPERATORS/op-cs-cs.cc, - OPERATORS/op-cs-m.cc, OPERATORS/op-cs-s.cc, OPERATORS/op-m-cm.cc, - OPERATORS/op-m-cs.cc, OPERATORS/op-m-m.cc, OPERATORS/op-m-s.cc, - OPERATORS/op-range.cc, OPERATORS/op-s-cm.cc, OPERATORS/op-s-cs.cc, + + * OPERATORS/op-b-b.cc, OPERATORS/op-b-bm.cc, OPERATORS/op-bm-b.cc, + OPERATORS/op-bm-bm.cc, OPERATORS/op-cell.cc, OPERATORS/op-chm.cc, + OPERATORS/op-cm-cm.cc, OPERATORS/op-cm-cs.cc, OPERATORS/op-cm-m.cc, + OPERATORS/op-cm-s.cc, OPERATORS/op-cs-cm.cc, OPERATORS/op-cs-cs.cc, + OPERATORS/op-cs-m.cc, OPERATORS/op-cs-s.cc, OPERATORS/op-m-cm.cc, + OPERATORS/op-m-cs.cc, OPERATORS/op-m-m.cc, OPERATORS/op-m-s.cc, + OPERATORS/op-range.cc, OPERATORS/op-s-cm.cc, OPERATORS/op-s-cs.cc, OPERATORS/op-s-m.cc, OPERATORS/op-s-s.cc, OPERATORS/op-str-str.cc, OPERATORS/op-str-m.cc, OPERATORS/op-str-s.cc (CATOPDECL, DEFCATOPX, DEFCATOP, DEFCATOP_FB, DEFNDCATOP_FN, CATOP_NONCONFORMANT, @@ -19433,7 +19433,7 @@ * OPERATORS/op-int.h (OCTAVE_CONCAT_FN, OCTAVE_INSTALL_CONCAT_FN): New macros to define and install concatentaion functions for int/uint types. - + * TEMPLATE-INST/Array-tc.cc (INSTANTIATE_ARRAY_CAT): Delete. * pt-mat.cc (tm_row_const::tm_row_const_rep::do_init_element): @@ -19463,7 +19463,7 @@ * Cell.cc, Cell.h (insert): New function - * ov-base.cc, ov-base.h, ov-scalar.h, ov-complex.h, ov-bool.h, + * ov-base.cc, ov-base.h, ov-scalar.h, ov-complex.h, ov-bool.h, ov-range.h, ov-base-mat.h, (resize): New function. 2004-07-23 John W. Eaton <jwe@octave.org> @@ -19481,7 +19481,7 @@ for long format now under control of format string. (symbol_table::maybe_list): Headers to whos listing updated. Also print footer info. - (symbol_table::print_descriptor): Method printing the + (symbol_table::print_descriptor): Method printing the header of whos listings. (symbol_table::parse_whos_line_format): New method. (whos_line_format, Vwhos_line_format): New built-in variables. @@ -19585,7 +19585,7 @@ ST() instead of 0.0. * ov-base-mat.h (octave_base_matrix<MT>::byte_size): New function. - + * ops.h (INSTALL_COLNVOP, DEFCONVFNX, DEFDBLCONVFN, DEFCONVFN, DEFCONVFN2): New macros. @@ -19787,14 +19787,14 @@ Return charNDArray. * ov-bool-mat.cc (octave_bool_matrix::convert_to_str_internal): Call array_value. - + * DLD-FUNCTIONS/besselj.cc, DLD-FUNCTIONS/betainc.cc, DLD-FUNCTIONS/gammainc.cc, DLD-FUNCTIONS/minmax.cc, DLD-FUNCTIONS/filter.cc: Convert for N-d array, better Matlab compatibility. * load-save.cc (Fload): Better handling of non existent files. - + 2004-03-19 John W. Eaton <jwe@bevo.che.wisc.edu> * ov-list.cc (octave_list::subsref): Correctly create return value. @@ -19887,17 +19887,17 @@ 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> - * Cell.cc (Cell::cat): New function. - * Cell.h: Provide decl. - - * oct-map.cc (Octave_map::cat): New function. - * oct-map.h: Provide decl. - - * data.cc (Fcat): Speedup implementation. - - * data.cc (Fhorzcat, Fvertcat): New functions. - - * Array-tc.cc: Instantiate cat function. + * Cell.cc (Cell::cat): New function. + * Cell.h: Provide decl. + + * oct-map.cc (Octave_map::cat): New function. + * oct-map.h: Provide decl. + + * data.cc (Fcat): Speedup implementation. + + * data.cc (Fhorzcat, Fvertcat): New functions. + + * Array-tc.cc: Instantiate cat function. 2004-03-01 David Bateman <dbateman@free.fr> @@ -19912,7 +19912,7 @@ * ov-str-mat.cc (save_ascoo, load_ascii, save_binary, load_binary, save_hdf5, load_hdf5): Cleanup, check empty matrix, and save/load N-d arrays. - + 2004-02-27 John W. Eaton <jwe@bevo.che.wisc.edu> * octave.cc (execute_startup_files): Don't find current directory @@ -19947,7 +19947,7 @@ Call io_c_file_ptr_stream::seek and tell. Signatures now match C-library functions. - * c-file-ptr-stream.h (c_file_ptr_buf::seek, c_file_ptr_buf::tell): + * c-file-ptr-stream.h (c_file_ptr_buf::seek, c_file_ptr_buf::tell): New functions. (i_c_file_ptr_stream::seek, i_c_file_ptr_stream::tell): Likewise. (o_c_file_ptr_stream::seek, o_c_file_ptr_stream::tell): Likewise. @@ -20073,16 +20073,16 @@ * DLD-FUNCTIONS/fft2.cc: Adapt for Nd arrays, combine with ifft.cc. * DLD-FUNCTIONS/ifft2.cc: Delete. * DLD-FUNCTIONS/fftn.cc: New function for Nd FFT and inverse FFT. - * DLD-FUNCTIONS/fft_wisdom.cc: New function to manipulate FFTW + * DLD-FUNCTIONS/fft_wisdom.cc: New function to manipulate FFTW wisdom. - * Makefile.in: Remove ifft.cc and ifft2.cc. Add fftn.cc and - ifftn.cc. Make building of fft-wisdom.cc conditional on the + * Makefile.in: Remove ifft.cc and ifft2.cc. Add fftn.cc and + ifftn.cc. Make building of fft-wisdom.cc conditional on the value of FFTW_LIBS. * defaults.cc (Vwisdom_prog): New variable (set_default_wisdom_prog, wisdom_prog): New functions. (symbols_of_defaults): Add DEFVAR for wisdom_prog. - + 2004-02-16 John W. Eaton <jwe@bevo.che.wisc.edu> * ov-list.cc (octave_list::subsasgn): Call assign for Cell objects @@ -20189,7 +20189,7 @@ * ov-fcn.h (octave_function::takes_varargs, octave_function::octave_va_start, octave_function::octave_va_arg, octave_function::octave_all_va_args, - octave_function::takes_var_return, octave_function::octave_vr_val, + octave_function::takes_var_return, octave_function::octave_vr_val, octave_function::is_user_function): New virtual functions. 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -20344,7 +20344,7 @@ * parse.y (Feval, Fevalin): Don't call bind_global_error_variable. Don't add clear_global_error_variable to the unwind_protect stack. Increment buffer_error_messages before evaluating "eval" code, - decrement it before evaluating "catch" code. + decrement it before evaluating "catch" code. * pt-except.cc (do_catch_code): Don't call bind_global_error_variable. Don't add clear_global_error_variable to the unwind_protect stack. @@ -20359,7 +20359,7 @@ words_big_endian, and words_little_endian to the struct. 2004-01-14 David Bateman <dbateman@free.fr> - + * ov-cell.cc (octave_cell::load_hdf5): Fix for HDF5 version 1.6 handling of number of objects in a group. * ov-struct.cc (octave_struct::load_hdf5): Likewise. @@ -20398,7 +20398,7 @@ * ls-oct-binary.cc: Split the load/save functionality into the types themselves. Backward compatibility maintained. - + * ov-struct.cc (save_binary, load_binary): * ov-str-mat.cc (save_binary, load_binary): * ov-scalar.cc (save_binary, load_binary): @@ -20440,20 +20440,20 @@ string array. Backward compatiability maintained in ov-cs-mat.cc. Include new version of extract_keyword that halts if the next value is invalid rather that searching for the next valid value. - + * ls-oct-ascii.h: Extract_keyword header updated. Include definition of OCT_RBV and CELL_ELT_TAG, since they are now used elsewhere. - + * ls-hdf5.cc: Split load/save functionality into the types themselves. The hdf5 format is changed so that each object is a group with a dataset "type" being a string with the octave_value type and the dataset or group "value" containing the value of the data, struct, etc. This allows extensibility. Backward compatibility is maintained. The "import" flag is now assumed to always be true and has been removed. - - * ov-struct.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): - * ov-str-mat.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): + + * ov-struct.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): + * ov-str-mat.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): * ov-scalar.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): * ov-re-mat.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): * ov-range.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): @@ -20466,8 +20466,8 @@ New functions for loading and saving structures in octave ascii and hdf5 formatted files. - * ov-struct.h (save_ascii, load_ascii, save_hdf5, load_hdf5): - * ov-str-mat.h (save_ascii, load_ascii, save_hdf5, load_hdf5): + * ov-struct.h (save_ascii, load_ascii, save_hdf5, load_hdf5): + * ov-str-mat.h (save_ascii, load_ascii, save_hdf5, load_hdf5): * ov-scalar.h (save_ascii, load_ascii, save_hdf5, load_hdf5): * ov-re-mat.h (save_ascii, load_ascii, save_hdf5, load_hdf5): * ov-range.h (save_ascii, load_ascii, save_hdf5, load_hdf5): @@ -20478,14 +20478,14 @@ * ov-bool.h (save_ascii, load_ascii, save_hdf5, load_hdf5): * ov-bool-mat.h (save_ascii, load_ascii, save_hdf5, load_hdf5): Provide decls. - + * ov-typeinfo.cc (octave_value_typeinfo::do_lookup_type): Include make_unique so that the stored type value is not used for all loaded variables. - + * ov.h: (save_ascii, load_ascii, save_hdf5 and load_hdf5): New virtual functions. - + * ov-base.cc (save_ascii, load_ascii, save_hdf5, load_hdf5): New functions, for fallbacks with error message. * ov-base.h: Provide decls. @@ -20523,7 +20523,7 @@ (find_nonzero_elem_idx): Now a template function. Handle overall array index here too. Make it N-d aware. - * pt-pr-code.cc (tree_print_code::visit_complex_for_command, + * pt-pr-code.cc (tree_print_code::visit_complex_for_command, tree_print_code::visit_octave_user_function_header, tree_print_code::visit_matrix, tree_print_code::visit_cell, tree_print_code::visit_multi_assignment): Keep track of nearest @@ -20883,7 +20883,7 @@ 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> * Makefile.in (stamp-liboctave-prereq): New target. - ($(DEF_FILES), $(MAKEDEPS)): Depend on it. + ($(DEF_FILES), $(MAKEDEPS)): Depend on it. (distclean): Remove it. * parse.y (cancel_obj_idx): New rule. @@ -20966,7 +20966,7 @@ * ov-base-mat.h: Delete decl. * ov-base.cc (octave_base_value::print_name_tag): - Use print_as_scalar here. + Use print_as_scalar here. * ov.h (octave_base_value::print_as_scalar): New virtual function. * ov-base.h (octave_base_value::print_as_scalar): New default implementation. @@ -21345,7 +21345,7 @@ in Octave's abs mapper function. 2003-09-27 Joseph P. Skudlarek <Jskud@Jskud.com> - + * DLD-FUNCTIONS/minmax.cc (min, max): Use @deftypefn machinery, doc missing semantics, and add more examples to texinfo strings. @@ -21411,7 +21411,7 @@ (float_format::float_format (int, int, int)): Use them to provide default values for field width and precision. (print_g): New static variable. - (set_real_format, set_real_matrix_format, set_complex_format) + (set_real_format, set_real_matrix_format, set_complex_format) (set_complex_matrix_format, set_range_format): Handle print_g. (pr_float, pr_complex): Don't scale if using print_g. (set_format_style): Accept new "g" and "G" modifiers for short and @@ -21540,7 +21540,7 @@ * utils.cc (check_dimensions(Array<int>&, char), get_dimensions(octave_value&, char, Array<int>&): New functions. - * utils.h (check_dimensions (Array<int>&, char), + * utils.h (check_dimensions (Array<int>&, char), get_dimensions (octave_value&, char, Array<int>&)): Provide decl. * data.cc (fill_matrix): Also create N-d arrays. @@ -21675,7 +21675,7 @@ * octave.cc (maximum_braindamage): Don't set default_eval_print_flag. - * parse.y (Vdefault_eval_print_flag): Delete: + * parse.y (Vdefault_eval_print_flag): Delete: (default_eval_print_flag): Delete. (symbols_of_parse): Delete DEFVAR for default_eval_print_flag. (Feval, Fevalin): Return empty octave_value_list and turn printing @@ -21695,7 +21695,7 @@ * pt-mat.cc (Vwarn_empty_list_elements): New variable. (warn_empty_list_elements): New function. (symbols_of_pt_mat): Add DEFVAR for warn_empty_list_elements. - (tm_row_const::tm_row_const_rep::init, tm_const::init): + (tm_row_const::tm_row_const_rep::init, tm_const::init): Check Vwarn_empty_list_elements, not Vempty_list_elements_ok. * pt-mat.cc (Vempty_list_elements_ok): Delete. @@ -21770,7 +21770,7 @@ * ov.cc (octave_value::convert_to_str): Call convert_to_str_internal. (octave_value::convert_to_str_internal): New virtual function. - Rename all derived class convert_to_str functions to match. + Rename all derived class convert_to_str functions to match. * variables.cc (generate_struct_completions): Set discard_warning_messages, not Vwarning_option. Also protect @@ -21848,7 +21848,7 @@ and sigterm_dumps_octave_core. * defaults.h.in (OCTAVE_LOCALAPIFCNFILEDIR, OCTAVE_LOCALAPIOCTFILEDIR): - Subsitute new variables. + Subsitute new variables. * defun.cc (check_version): Compare version to OCTAVE_API_VERSION, not OCTAVE_VERSION. Mismatch is now fatal. @@ -22198,13 +22198,13 @@ * oct-stdstrm.h, oct-stdstrm.cc (octave_base_stdiostream, octave_iostdiostream, octave_istdiostram, octave_ostdiostream): Combine all functionality into one class, octave_stdiostream. - Change all uses. + Change all uses. * file-io.cc (Ftmpfile, Fmkstemp): New functions. * oct-stdstrm.h (octave_iostdiostream): New class. (octave_istdiostream::octave_istdiostream, octave_istdiostream::create, - octave_ostdiostream::octave_ostdiostream, octave_ostdiostream::create, + octave_ostdiostream::octave_ostdiostream, octave_ostdiostream::create, octave_iostdiostream::octave_iostdiostream, octave_iostdiostream::create): Make close function the last arg. Change all uses. @@ -22220,7 +22220,7 @@ * pager.cc (Fmore): Make the no-arg case work too. - * ov-str-mat.h (octave_char_matrix_str::is_real_type, + * ov-str-mat.h (octave_char_matrix_str::is_real_type, octave_char_matrix_str::is_matrix_type, octave_char_matrix_str::is_numeric_type): Always return false. @@ -22454,7 +22454,7 @@ * ov.cc (octave_value::octave_value): Add constructors for octave_time, short int, unsigned short int, unsigned int, long - int, unsigned long int, + int, unsigned long int, * ov.h (octave_value::do_subsref (const std::string&, const octave_value_list&)): Rename from subsref. Change all derived classes. @@ -22770,7 +22770,7 @@ * Makefile.in (TI_XSRC): Delete them from the list. * ov-base-mat.cc (octave_base_matrix::assign): Pass - MT::resize_fill_value () as third arg for ::assign. + MT::resize_fill_value () as third arg for ::assign. * Cell.h (Cell::resize_fill_value): Use empty Matrix object, not undefined octave_value object. @@ -22794,7 +22794,7 @@ true before calling execute_default_pkg_add_files. * defaults.cc (maybe_add_or_del_packages, default_load_path, - update_load_path_dir_path): New static functions. + update_load_path_dir_path): New static functions. (set_default_path, loadpath): Call update_load_path_dir_path. (symbols_of_defaults): Use DEFVAR, not DEFCONST for DEFAULT_LOADPATH. (execute_default_pkg_add_files): New function. @@ -22827,7 +22827,7 @@ * Makefile.in (TI_XSRC): Delete them from the list. * toplev.cc (octave_atexit_functions): Now std::stack, not SLStack. - * pt-plot.cc (tmp_files): Likewise. + * pt-plot.cc (tmp_files): Likewise. * lex.l (token_stack): Likewise. (class bracket_brace_paren_nesting_level): Make context a data member instead of deriving from SLStack object. @@ -22958,7 +22958,7 @@ pt-cell.cc, ov-cell.h, ov-cell.cc, pt-plot.cc, pt-plot.h, pt-assign.cc, pt-assign.h, pt-bp.cc, pt-bp.h, symtab.cc, ov-cs-list.h, ov-cs-list.cc: - Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of + Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". 2002-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -23020,7 +23020,7 @@ make_return_expression): Rename from make_break_command, make_continue_command, make_return_command. Change all uses. (jump_expr): Rename from jump_command, type is now expression. - Use in simple_expr, not command. + Use in simple_expr, not command. * toplev.cc (octave_initialized): New global variable. (main_loop): Set it to true here. @@ -23063,7 +23063,7 @@ Undo previous vnprintf changes. The portable snprintf I found does not handle floating point conversions... - + 2002-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> * Makefile.in (liboctinterp.$(LIBEXT)): Include $(XERBLA) here. @@ -23107,7 +23107,7 @@ * input.cc (gnu_readline): Surround call to command_editor::readline with - BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE and + BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE and END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. * data.cc, oct-stream.cc, ov-cell.cc, ov-mapper.cc, ov-re-mat.cc, @@ -23168,7 +23168,7 @@ * DLD-FUNCTIONS/dassl.cc (dassl_user_function, dassl_user_jacobian): Likewise. * DLD-FUNCTIONS/dasrt.cc (dasrt_user_f, dasrt_user_cf, dasrt_user_j): - Likewise. + Likewise. * DLD-FUNCTIONS/daspk.cc (daspk_user_function, daspk_user_jacobian): Likewise. @@ -23260,7 +23260,7 @@ 2002-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> - * DLD-FUNCTIONS/daspk.cc (daspk): Use set_options, not copy. + * DLD-FUNCTIONS/daspk.cc (daspk): Use set_options, not copy. * DLD-FUNCTIONS/dasrt.cc (dasrt): Likewise. * DLD-FUNCTIONS/dassl.cc (dassl): Likewise. * DLD-FUNCTIONS/fsolve.cc (fsolve): Likewise. @@ -23415,7 +23415,7 @@ * pt-plot.cc (Vgnuplot_binary): Use GNUPLOT_BINARY as default. - * octave.cc (execute_startup_files): + * octave.cc (execute_startup_files): Use octave_env::getcwd instead of "./". Use OCTAVE_DIR_SEP_STR instead of "/". (initialize_pathsearch): Use OCTAVE_DIR_SEP_STR instead of /. @@ -23705,7 +23705,7 @@ (warn_matlab_incompatible): New function. (Vwarn_matlab_incompatible): New static variable. (symbols_of_lex): Add a DEFVAR for it. - + * file-io.cc (fopen_mode_to_ios_mode): Default value is std::ios::in. Return std::ios::openmode instead of int. @@ -24265,7 +24265,7 @@ (tree_index_expression::is_index_expression): Always return true. (tree_index_expression::apend, make_value_list, make_subs_cell): New functions. - + * pt-pr-code.cc (visit_index_expression): Handle new definition of tree_index_expression object. * pt-check.cc (visit_index_expression): Likewise. @@ -24332,7 +24332,7 @@ * ov-range.cc (octave_range::do_index_op): Ditto. * ov-list.cc (octave_list::do_index_op): Ditto. * ov.cc (octave_value::do_index_op): Ditto. - + * ov-base-mat.cc (octave_base_matrix<MT>::print_info): New function. * ov-base-mat.h (octave_base_matrix<MT>::empty_clone): New function. @@ -24448,7 +24448,7 @@ (Octave_map::assign): New function. (Octave_map::array_length): New fucntion. * oct-obj.cc (octave_value_list::assign): New function. - + 2002-05-06 John W. Eaton <jwe@bevo.che.wisc.edu> * TEMPLATE-INST/Map-oct-obj.cc: New file. @@ -24556,7 +24556,7 @@ function. * ov-re-mat.cc (octave_bool_matrix::assign): Delete. * ov-re-mat.h (octave_bool_matrix:assign): Delete decl. - + 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> * OPERATORS/op-bm-b.cc: New file.x @@ -24568,7 +24568,7 @@ OCTAVE_NAME_VERSION_COPYRIGHT_COPYING_AND_WARRANTY, not OCTAVE_NAME_AND_VERSION. - * octave.cc (verbose_usage): + * octave.cc (verbose_usage): Use OCTAVE_NAME_VERSION_COPYRIGHT_COPYING_AND_WARRANTY, not OCTAVE_NAME_VERSION_AND_COPYRIGHT. @@ -24671,7 +24671,7 @@ break out of parse-execute loop. (parse_fcn_file): Likewise. (eval_string): Likewise. - * toplev.cc (main_loop): Likewise. + * toplev.cc (main_loop): Likewise. * parse.y (input): Call YYACCEPT for END_OF_INPUT. Return no-op command for bare newline. @@ -24920,7 +24920,7 @@ (Fdbg_where): New function. (Fdbg_list): Now DLD_TEXT instead of DLD_FCN. (Fdbg_set): Likewise. - (Fdbg_delete): Likewise. + (Fdbg_delete): Likewise. * pt-bp.h (break_statement): New global variable. (MAYBE_DO_BREAKPOINT): Check for dbg_next and dbg_step. @@ -25030,10 +25030,10 @@ (i_c_file_ptr_stream::i_c_file_ptr_stream): Initialize stream correctly. (o_c_file_ptr_stream::o_c_file_ptr_stream): Likewise. - * c-file-ptr-stream.cc + * c-file-ptr-stream.cc (c_file_ptr_buf::{overflow, underflow, uflow, pbackfail): Add ISO-compliant EOF handling. - * oct-stream.cc (octave_base_stream::file_number): Use + * oct-stream.cc (octave_base_stream::file_number): Use c_file_ptr_buf::file_number to get underlying file descriptor. * comment-list.cc: Add missing class qualifier. @@ -25055,14 +25055,14 @@ * oct-stdstrm.cc (octave_ostdiostream::create): Remove default parameter value in definition. - * oct-stream.cc (octave_stream::mode_as_string): Don't assume + * oct-stream.cc (octave_stream::mode_as_string): Don't assume std::iso::openmode is an integral quantity. * pager.cc, procstream.h: Initialize streams correctly. * utils.cc: Use CXX_ISO_COMPLIANT_LIBRARY guard. - * ov-base-nd-array.cc (idx_list_to_idx_array): Inline. + * ov-base-nd-array.cc (idx_list_to_idx_array): Inline. * ov-base-scalar.h (octave_base_scalar::octave_base_scalar): Use ``const ST& s'' instead of ST to workaround gcc3 complex bug. @@ -25087,11 +25087,11 @@ 2001-02-01 Ben Sapp <bsapp@lanl.gov> - * DLD-FUNCTIONS/debug.cc: New file. - * pt-bp.h, pt-bp.cc: New files, for breakpoints. + * DLD-FUNCTIONS/debug.cc: New file. + * pt-bp.h, pt-bp.cc: New files, for breakpoints. * Makefile.in: Add them to the appropriate lists. - * pt-stmt.cc (tree_statement_list::set_breakpoint, + * pt-stmt.cc (tree_statement_list::set_breakpoint, tree_statement_list::delete_breakpoint, tree_statement_list::list_breakpoints): New functions. @@ -25150,7 +25150,7 @@ 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> - * ov-cx-mat.cc (octave_complex_matrix::try_narrowing_conversion): + * ov-cx-mat.cc (octave_complex_matrix::try_narrowing_conversion): Handle empty matrix dimensions correctly. 2000-12-14 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -25368,7 +25368,7 @@ * lex.l (next_token_is_bin_op): Don't recognize `..' as a binary op. - * load-save.cc (get_file_format): Call read_mat5_binary_file_header + * load-save.cc (get_file_format): Call read_mat5_binary_file_header with third arg true instead of false, so we don't barf if the file is not a matlab v5 binary file. @@ -25757,7 +25757,7 @@ * mappers.cc (ximag, xreal): Return double, not Complex. * error.cc (panic): Turn off buffering of error messages. - Don't call flush_octave_stdout here, verror will do it for us. + Don't call flush_octave_stdout here, verror will do it for us. (verror): Don't call flush_octave_stdout if buffering error messages. * pt-except.cc (tree_try_catch_command::eval): Only restore @@ -25788,7 +25788,7 @@ * DLD-FUNCTIONS/rand.cc (curr_rand_dist): Return const char * instead of char *. - * oct-fstrm.cc (octave_fstream::seek, octave_fstream::tell): + * oct-fstrm.cc (octave_fstream::seek, octave_fstream::tell): Call pubseekoff instead of seekoff. * DLD-FUNCTIONS/dassl.cc (print_dassl_option_list): Use stream @@ -26024,12 +26024,12 @@ * xdiv.cc (result_ok): Just check value of info. (solve_singularity_warning): New function. (xleftdiv, xdiv): Pass pointer to solve_singularity_warning to - solve function. + solve function. * lex.l (handle_identifier): Set next_tok_is_eq if we are looking at `=', but not if we are looking at `=='. - * pt-pr-code.cc (tree_print_code::visit_unwind_protect_command): + * pt-pr-code.cc (tree_print_code::visit_unwind_protect_command): Print `unwind_protect_cleanup', not `cleanup_code'. * pager.cc (octave_pager_buf::flush_current_contents_to_diary): @@ -26074,7 +26074,7 @@ * pt-decl.cc (Vinitialize_global_variables): Ditto. * symtab.cc (Vvariables_can_hide_functions): Ditto. - * pt-plot.cc (Fgraw, Fgset, Fgshow, Vgnuplot_command_plot, + * pt-plot.cc (Fgraw, Fgset, Fgshow, Vgnuplot_command_plot, Vgnuplot_command_replot, Vgnuplot_command_splot, Vgnuplot_command_using, Vgnuplot_command_with, Vgnuplot_command_axes, Vgnuplot_command_title, @@ -26243,7 +26243,7 @@ * defaults.cc (Veditor): Ditto. * pt-plot.cc (Vautomatic_replot, Vgnuplot_binary, Vgnuplot_has_frames, Vgnuplot_has_multiplot, Fclearplot, - Fcloseplot, Fpurge_tmp_files, Fishold, Fhold): + Fcloseplot, Fpurge_tmp_files, Fishold, Fhold): * Makefile.in (parse.cc): Expect 11 shift/reduce conflicts now. @@ -26347,10 +26347,10 @@ (handle_close_bracket): Rename from handle_close_brace. (class bracket_brace_paren_nesting_level): Rename from brace_paren_nesting_level. - (bracket_brace_paren_nesting_level::bracket, + (bracket_brace_paren_nesting_level::bracket, bracket_brace_paren_nesting_level::is_bracket): New functions to keep count of nesting level for `[' and `]'. - (bracket_brace_paren_nesting_level::brace, + (bracket_brace_paren_nesting_level::brace, bracket_brace_paren_nesting_level::is_brace): Now keeps count of nesting level for `{' and `}'. * parse.y (tree_cell_type): New type. @@ -26442,7 +26442,7 @@ * pager.cc (Fdiary): Ditto. * sysdep.cc (Fclc): Ditto. * toplev.cc (Fquit, Fatexit): Ditto. - + 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> * lex.l (yywrap): No longer static. @@ -26698,7 +26698,7 @@ Tue Sep 7 08:31:04 1999 John W. Eaton <jwe@bevo.che.wisc.edu> - * pr-output.cc (set_real_matrix_format, set_complex_matrix_format): + * pr-output.cc (set_real_matrix_format, set_complex_matrix_format): Move check for fixed_point_format ahead of check for int_or_inf_or_nan. @@ -26737,7 +26737,7 @@ * variables.cc (do_who): Display built-in constants in a separate section. - * error.cc (bind_global_error_variable, clear_global_error_variable): + * error.cc (bind_global_error_variable, clear_global_error_variable): Call bind_builtin_constant, not bind_builtin_variable to set __error_text__. * octave.cc (intern_argv): Likewise, for argv and __argv__. @@ -26807,7 +26807,7 @@ Return value is now octave_time object. (octave_user_function::mark_fcn_file_up_to_date)): Arg is now octave_time object. - + * ov-fcn.h (octave_function::mark_fcn_file_up_to_date)): Arg is now octave_time object. (octave_function::time_parsed, octave_function::time_checked): @@ -26859,7 +26859,7 @@ New function. (octave_print_internal (ostream&, const Complex&, bool)): Use it. (octave_print_internal (ostream&, const ComplexMatrix&, bool, int)): - Ditto. + Ditto. Sun Jun 20 23:04:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -26893,7 +26893,7 @@ * DLD-FUNCTIONS/chol.cc (Fchol): Also return info as second output. * DLD-FUNCTIONS/minmax.cc (max (const ComplexMatrix&, const - ComplexMatrix&)): Correct test for real columns only. + ComplexMatrix&)): Correct test for real columns only. (min (const ComplexMatrix&, const ComplexMatrix&)): Likewise. Wed Apr 14 12:54:25 1999 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -27034,7 +27034,7 @@ * Makefile.in (OV_INCLUDES, OV_SRC): Add them to the lists. Thu Nov 19 14:30:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> - + * dynamic-ld.cc (octave_dynamic_loader::mangle_name): Prepend underscore here. (octave_dynamic_loader::load_fcn_from_dot_oct_file): Not here. @@ -27075,7 +27075,7 @@ * ov-str-mat.h, ov-str-mat.cc (class octave_char_matrix_str): Get common functions via new derivation scheme. - + * ov-bool-mat.h, ov-bool-mat.cc (class octave_bool_matrix): Derive from octave_base_matrix and get common functions via derivation. * ov-ch-mat.h, ov-ch-mat.cc (class octave_char_matrix): Ditto. @@ -27207,9 +27207,9 @@ assuming `='. (tree_multi_assignment::oper): New function. * pt-pr-code.cc (tree_print_code::visit_multi_assignment): Use - it instead of always printing `='. + it instead of always printing `='. * parse.y (make_assign_op): Pass expression type to - tree_multi_assignment constructor. + tree_multi_assignment constructor. * Makefile.in (stmp-pic): New target. ($(PICOBJ)): Depend on stmp-pic, not pic. @@ -27279,7 +27279,7 @@ * parse.y (make_prefix_op, make_postfix_op): Use octave_value::unary_op enum. - + * pt-unop.cc (tree_prefix_expression::rvalue): Use new unary_op functions from octave_value and octave_lvalue classes. (tree_prefix_expression::rvalue): Likewise. @@ -27291,7 +27291,7 @@ Delete enums. (tree_unary_expression): Use octave_value::unary_op enum. * parse.y (make_prefix_op, make_postfix_op): Likewise. - + * oct-lvalue.h (octave_lvalue::do_unary_op): New function. (octave_lvalue::increment, octave_lvalue::decrement): Delete. @@ -27368,7 +27368,7 @@ * ov-base.cc (octave_base_value::not, octave_base_value::uminus, octave_base_value::transpose, octave_base_value::hermitian, octave_base_value::increment, octave_base_value::decrement): Delete. - + * ov.cc (gripe_unary_op): New function. (do_unary_op): New function. * ov-typeinfo.h (octave_value_typeinfo::unary_ops): @@ -27390,7 +27390,7 @@ * data.cc (make_diag): Likewise. (Fsize): Likewise. (get_dimensions): Likewise. - (Flinspace): + (Flinspace): * ov-base.cc (octave_base_value::int_value): New function. (octave_base_value::nint_value): Ditto. @@ -27453,7 +27453,7 @@ Tue Oct 27 22:19:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> * ov-list.cc (octave_list::print_raw): Handle case of empty list. - (octave_list::print_name_tag): Likewise. + (octave_list::print_name_tag): Likewise. * octave.cc (intern_argv): Built-in variable argv is now a list of strings instead of a string vector. @@ -27469,7 +27469,7 @@ * pt-unop.h (tree_prefix_expression): Reorder constructor args to put those with default values last. (tree_postfix_expression): Likewise. - * parse.y: Change all callers. + * parse.y: Change all callers. Fri Oct 23 12:07:32 1998 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -27514,7 +27514,7 @@ as variables in contexts like [ab, cd] = foo (). * ov-str-mat.h - (octave_char_matrix_str::octave_char_matrix_str (char c)): + (octave_char_matrix_str::octave_char_matrix_str (char c)): New constructor. * ov-ch-mat.h (octave_char_matrix::octave_char_matrix (char c)): New constructor. @@ -27657,7 +27657,7 @@ Thu Jun 4 12:42:46 1998 John W. Eaton <jwe@bevo.che.wisc.edu> - * ov-usr-fcn.cc (octave_user_function::octave_all_va_args): + * ov-usr-fcn.cc (octave_user_function::octave_all_va_args): If num_args_passed < num_named_args, create zero length list. Thu May 14 16:23:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -27802,7 +27802,7 @@ gnuplot_command_with, gnuplot_command_title, gnuplot_command_end): New functions. (open_plot_stream, send_to_plot_stream, tree_plot_command::eval, - subplot_using::print, subplot_style::print, subplot::print, + subplot_using::print, subplot_style::print, subplot::print, do_external_plotter_cd, Fgset, Fgshow): Use them instead of the GPLOT_CMD_PLOT, GPLOT_CMD_REPLOT, GPLOT_CMD_SPLOT, GPLOT_CMD_USING, GPLOT_CMD_WITH, GPLOT_CMD_TITLE, and @@ -27905,7 +27905,7 @@ * dynamic-ld.cc (octave_dlopen_dynamic_loder::resolve_reference): Likewise. - * pt-mat.cc (tm_const::operator bool ()): + * pt-mat.cc (tm_const::operator bool ()): (tm_row_const::operator bool ()): Likewise. * oct-stream.cc (printf_value_cache::operator bool ()): Likewise. (scanf_format_list::operator bool ()): Likewise. @@ -27918,7 +27918,7 @@ * syscalls.cc (Fdup2): Convert stream to actual system file id. - * oct-stream.cc (octave_base_stream::fileno, octave_stream::fileno): + * oct-stream.cc (octave_base_stream::fileno, octave_stream::fileno): New functions. Tue Feb 3 00:24:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -28194,7 +28194,7 @@ Mon Jul 7 21:14:07 1997 John W. Eaton <jwe@bevo.che.wisc.edu> - * DLD-FUNCTIONS/qr.cc (Fqr): Correctly handle nargout == 0. + * DLD-FUNCTIONS/qr.cc (Fqr): Correctly handle nargout == 0. Wed Jul 2 16:47:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -28248,7 +28248,7 @@ * Makefile.in: Make building of static library optional. (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. - * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference): + * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference): Call shl_findsym with type set to TYPE_UNDEFINED. * Makefile.in (stamp-picdir): Delete. @@ -28323,7 +28323,7 @@ (interactive): Likewise. * unwind-prot.cc (saved_variable::saved_variable (bool *, bool)): - Set type_tag to boolean, not int. + Set type_tag to boolean, not int. Mon Jun 2 00:40:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -28343,7 +28343,7 @@ * defun-int.h (DEFINE_FUN_INSTALLER_FUN): Use it. * help.h, help.cc (additional_help_message): Now extern. - (operator_help): Now static. + (operator_help): Now static. * defun.cc (print_usage): Move here from help.cc * DLD-FUNCTIONS/*.cc, data.cc, dirfns.cc, file-io.cc, input.cc, @@ -28433,7 +28433,7 @@ Thu May 22 13:32:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> - * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference): + * dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference): Call shl_findsym with type set to TYPE_PROCEDURE. Pass the address of the pointer we want to define. @@ -28685,7 +28685,7 @@ * oct-var-ref.h, oct-var-ref.cc (idx): New data member. (octave_variable_reference::index): Set it. (octave_variable_reference::assign): Handle indexing here. - Delete version of this function htat takes index arg. + Delete version of this function htat takes index arg. * variables.h (struct builtin_varaible): Delete. * variables.cc (install_builtin_variable): Take all elts of @@ -28722,7 +28722,7 @@ (symbol_record::variable_reference): Don't make value unique here. Return pointer to sv_fcn in octave_variable_reference. - * pt-misc.cc (tree_parameter_list::initialize_undefined_elements): + * pt-misc.cc (tree_parameter_list::initialize_undefined_elements): Simplify. * pt-id.h, pt-id.cc (tree_identifier::reference): Return @@ -28812,7 +28812,7 @@ * Many of other files: Miscellaneous changes to go along with the changes described in the liboctave/ChangeLog for May 4. More code moved from here to liboctave. - + Fri May 2 19:50:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> * pathlen.h: Move to ../liboctave. @@ -28902,7 +28902,7 @@ * ov-file.h, ov-file.cc: New files for value class to manage files. * file-io.cc (symbols_of_file_io): Define stdin, stdout, and stderr as octve_file objects, not just integers. - (Ffopen, Fpopen): Return octave_file objects, not integer file ids. + (Ffopen, Fpopen): Return octave_file objects, not integer file ids. * syscalls.cc (Fpipe): Likewise. * oct-stream.h, oct-stream.cc (octave_stream_list::insert): Return octave_file object, not integer file id. @@ -29223,8 +29223,8 @@ (symbols_of_value): Delete DEFVAR for prefer_zero_one_indexing. * ov.h, ov.cc, ov-base.h, ov-base.cc: Add constructors and - extractors for bool and boolMatrix types. - + extractors for bool and boolMatrix types. + * ov.cc (install_types): Register octave_bool and octave_bool_matrix types. @@ -29495,7 +29495,7 @@ * sighandlers.cc (octave_ignore_interrupts, octave_catch_interrupts, octave_set_interrupt_handler): Return old value, not pointer to static data. Fix all uses. - + * sighandlers.h (octave_interrupt_handler): Move declaration here. * sighandlers.cc: From here. @@ -29579,7 +29579,7 @@ * oct-stream.cc (scanf_format_list::process_conversion): Accept but don't actually use h, l, and L modifiers. Always insert l - modifier for floating point conversions. + modifier for floating point conversions. Fri Jan 31 13:55:10 1997 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -29638,7 +29638,7 @@ Thu Jan 23 10:00:00 1997 John W. Eaton <jwe@bevo.che.wisc.edu> * pt-pr-code.h, pt-pr-code.cc (tree_print_code::visit_no_op_command): - New function. + New function. * pt-cmd.h, pt-cmd.cc (tree_no_op_command): New class. * parse.y (make_break_command, make_continue_command, make_return_command): Where they don't really make sense, turn @@ -30039,7 +30039,7 @@ * ov.h (octave_value::all_strings): Return string_vector, not charMatrix. * ov-base.cc (octave_base_value::all_strings): Likewise. - * ov-str-mat.h, ov-str-mat.cc (octave_char_matrix_str::all_strings): + * ov-str-mat.h, ov-str-mat.cc (octave_char_matrix_str::all_strings): Likewise. Fri Nov 8 09:54:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -30193,7 +30193,7 @@ * ov-range.cc (octave_range::convert_to_str): New function. * ov-str-mat.h (octave_char_matrix_str::char_matrix_value): - Delete function. Already handled by octave_char_matrix class. + Delete function. Already handled by octave_char_matrix class. * ov-ch-mat.h (octave_char_matrix::convert_to_str): New function. @@ -30331,7 +30331,7 @@ Install preferred assignment conversion and widening ops. * ov.cc (octave_value::try_assignment_with_conversion, - octave_value::convert_and_assign, octave_value::try_assignment): + octave_value::convert_and_assign, octave_value::try_assignment): New functions. (octave_value::assign): Use them to implement twisted logic for type conversions in assigments. @@ -30436,7 +30436,7 @@ (make_unary_op): Codes come from tree_unary_expression now, instead of tree_expression. (make_boolean_op): Codes come from tree_boolean_expression. - + *parse.y (tree_constant_type): Change type to tree_constant* from octave_value*, and rename from octave_value_type. Change uses. @@ -30972,7 +30972,7 @@ Pad mval with zeros on final resize. (octave_base_stream::do_scanf): Likewise. (do_scanf_conv): Correctly resize mval. - + Sat May 11 05:14:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * pager.cc (octave_pager_buf::sync): Correctly set bypass_pager. @@ -31012,7 +31012,7 @@ is less and LESS is not in the environment, append useful flags. (symbols_of_pager): New function. * variables.cc (install_builtin_variables): Call it. - Delete pager-related DEFVARs. + Delete pager-related DEFVARs. * syswait.h (WIFSIGNALLED): Define if sys/wait.h doesn't. @@ -31120,11 +31120,11 @@ * variables.cc (install_builtin_variables): Split into several functions to make compiling with g++ go faster and consume less memory. - + Sun Apr 7 16:25:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * load-save.cc (Fsave): Print usage if i == argc. - (Fload): Likewise. + (Fload): Likewise. Sat Apr 6 21:26:49 1996 John W. Eaton <jwe@bevo.che.wisc.edu> @@ -31155,7 +31155,7 @@ * resource.cc (getrusage): If getrusage is missing, try using times to at least fill in the cpu time values. If neither one is available, return 0 for cpu times instead of NaN. - + * sighandlers.cc (octave_signal_mask): New file-scope variable. (octave_save_signal_mask, octave_restore_signal_mask): New functions. * toplev.cc (main_loop): Use them. @@ -31199,7 +31199,7 @@ * Makefile.in (install-oct): Make mk-oct-links executable. * mk-oct-links.in (links_dir): Update to match new format of DEFUN_DLD_BUILTIN macro. Use LN_S, not just LN. - (links_dir): + (links_dir): * pr-output.cc (octave_print_internal): New arg, extra_indent, for versions of this function that take matrices and ranges. @@ -31314,7 +31314,7 @@ functions here. * pr-output.cc (set_format_style): Decrement argc for first arg too. - + * input.cc (gnu_readline): If readline returns an empty string, convert it to a string containing a single newline character. @@ -31459,7 +31459,7 @@ (absolute_pathname): Delete. * pt-plot.cc (save_in_tmp_file): Call oct_tempnam, not - octave_tmp_file_name. Include file-ops.h. + octave_tmp_file_name. Include file-ops.h. * file-io.cc (do_scanf, Foctave_tmp_file_name): Likewise. * oct-hist.cc (mk_tmp_hist_file): Likewise. @@ -31502,7 +31502,7 @@ * octave.cc (initialize_pathsearch): Define here, not in pathsearch.cc. * pathsearch.h, pathsearch.cc: Remove files. * Makefile.in: Remove them from the lists. - + * help.cc (simple_help): Ignore directories that don't have any .m or .oct files. @@ -31588,7 +31588,7 @@ * octave.cc (initialize_globals): Don't do kpathsearch stuff here. (main): Call initialize_pathsearch() here. - + * pathsearch.cc: New file. * Makefile.in (SOURCES): Add it to the list @@ -31827,7 +31827,7 @@ type if rhs is empty or "". Only widen if rhs is not empty. Don't return 0x0 char_matrix if it is supposed to be a string. - + * arith-ops.h, mappers.h, pr-output.h, xdiv.h, xpow.h: Include oct-cmplx.h in place of forward declaration for class Complex. @@ -31980,7 +31980,7 @@ * octave.cc (parse_and_execute): New arg, warn_for. If given, print message if file cannot be opened. - Set curr_fcn_file_full_name here. + Set curr_fcn_file_full_name here. (Fsource): Pass extra arg to parse_and_execute to get warning message. * tree-const.h: Handle line and column info for double, Complex, @@ -31991,7 +31991,7 @@ * parse.y (make_constant): New function. (simple_expr1, word_list): Use it. - + * input.cc, input.h (curr_fcn_file_full_name): New global. * variables.cc (load_fcn_from_file): Set it here. * parse.y (func_def2, yyerror, maybe_warn_missing_semi): Use it. @@ -32034,7 +32034,7 @@ (main): Likewise. * input.cc (do_input_echo): (Fecho): New function. - + * tree-expr.cc (tree_function::print_code_function_header, tree_function::print_code_function_trailer): New functions. (tree_function::print_code): Use them. @@ -32186,7 +32186,7 @@ * user-prefs.cc (warn_missing_semicolon): New function. * user-prefs.h (user_preferences): New field, warn_missing_semicolon. * variables.cc (install_builtin_variables): DEFVAR it. - + * tree-expr.cc (tree_expression::is_logically_true): Actually use argument. @@ -32369,7 +32369,7 @@ Likewise. * procstream.cc (cleanup_iprocstream, cleanup_oprocstream): - New functions. + New functions. * procstream.h, procstream.cc (class iprocstream, class oprocstream): Keep track of pbuf. Initialize it to 0 in default constructors, @@ -32404,7 +32404,7 @@ Don't declare history_length, or max_input_history either. Check (where >= history_length - 1) too, as in recent versions of bash. - + * user-prefs.h (user_prefs): New field, `completion_append_char'. * user-prefs.cc (init_user_prefs): Initialize it. (sv_completion_append_char): New function. @@ -32458,7 +32458,7 @@ * user-prefs.cc (struct_levels_to_print, set_output_max_field_width, set_output_precision, set_save_precision): Eliminate unecessary kludge variable. - + * variables.cc (gobble_leading_white_space): New arg, in_parts. Change all callers. @@ -32751,7 +32751,7 @@ file-scope declaration. * tree-expr.cc (tree_index_expression::eval): - Handle nargin == 0 the same as other cases. + Handle nargin == 0 the same as other cases. Tue May 2 10:02:23 1995 John Eaton <jwe@schoch.che.utexas.edu> @@ -32771,7 +32771,7 @@ * tree-const.cc: Add contents of tc-rep.cc, tc-rep-ass.cc, and tc-idx.cc to this file. Add #pragma implementation. This makes tree-const.cc large, but makes the final binary smaller. - + * unwind-prot.h unwind-prot.cc token.cc token.h procstream.cc procstream.h idx-vector.cc idx-vector.h symtab.cc symtab.h oct-map.cc oct-map.h oct-obj.cc oct-obj.h tree-plot.h tree-plot.cc @@ -32859,7 +32859,7 @@ Fri Apr 21 14:34:45 1995 John Eaton <jwe@schoch.che.utexas.edu> * load-save.cc (read_ascii_data): Allow reading of empty - matrices. + matrices. * tc-rep-ass.cc (vector_assignment): Only assert that we are not doing fortran-style indexing and that nr <= 1 || nc <= 1. @@ -32918,7 +32918,7 @@ instead of pointer args. Change callers. * mappers.cc: Declare Fortran functions to take reference instead - of pointer args. Change callers. + of pointer args. Change callers. * gamma.c, lgamma.c, erfc.c, erf.c, atanh.c, asinh.c, acosh.c: Declare Fortran functions to take reference instead of pointer @@ -32999,14 +32999,14 @@ to avoid warning. * utils.cc (undo_string_escapes): Likewise. * input.cc (decode_prompt_string): Likewise. Also rewrite if - statement to avoid warning. + statement to avoid warning. Tue Apr 4 22:54:17 1995 John Eaton <jwe@schoch.che.utexas.edu> * tree-expr.cc (tree_multi_assignment_expression::eval, tree_simple_assignment_expression::eval): Call print_constant even if user_pref.print_answer_id_name is false. - + Mon Apr 3 17:57:14 1995 John Eaton <jwe@schoch.che.utexas.edu> * tc-inlines.h (TC_REP): Avoid redefinition.
--- a/test/ChangeLog +++ b/test/ChangeLog @@ -16,12 +16,12 @@ 2009-10-19 Rik <octdev@nomad.inbox5.com> - * fntests.m: Remove deprecated functions from list of functions requiring - new tests to be written + * fntests.m: Remove deprecated functions from list of functions + requiring new tests to be written. 2009-10-08 Rik <octdev@nomad.inbox5.com> - * fntests.m: Fix typo of an extra space in instructions to user + * fntests.m: Fix typo of an extra space in instructions to user. 2009-10-05 Rik <octdev@nomad.inbox5.com> @@ -64,12 +64,12 @@ 2009-04-12 Thorsten Meyer <thorsten.meyier@gmx.de> * test_contin.m, test_error.m, test_eval-catch.m, test_for.m, - test_global.m, test_if.m, test_index-wfi-f.m, - /test_index-wfi-t.m, test_io.m, test_logical-wfi-f.m, - test_logical-wfi-t.m, test_prefer.m, test_recursion.m, - test_return.m, test_string.m, test_struct.m, test_switch.m, - test_system.m, test_transpose.m, test_try.m, test_unwind.m, - test_while.m: Remove obsolete comments. + test_global.m, test_if.m, test_index-wfi-f.m, + /test_index-wfi-t.m, test_io.m, test_logical-wfi-f.m, + test_logical-wfi-t.m, test_prefer.m, test_recursion.m, + test_return.m, test_string.m, test_struct.m, test_switch.m, + test_system.m, test_transpose.m, test_try.m, test_unwind.m, + test_while.m: Remove obsolete comments. 2009-04-07 Carlo de Falco <kingcrimson@tiscali.it> @@ -100,7 +100,8 @@ 2009-03-08 Jason Riedy <jason@acm.org> - * test_diag_perm.m: Add tests for preserving sparse structure when scaling. + * test_diag_perm.m: Add tests for preserving sparse structure + when scaling. 2009-02-25 John W. Eaton <jwe@octave.org> @@ -176,7 +177,7 @@ 2008-05-19 Bill Denney <bill@denney.ws> - * test_args.m: Update format to allow running "test test_args" + * test_args.m: Update format to allow running "test test_args" and add default argument tests. 2008-05-09 Rafael Laboissiere <rafael@debian.org> @@ -239,7 +240,7 @@ * build_sparse_tests.sh: Replaced removed sparse functions like spdiag with their generic names. Fix lu tests for modified - syntax. Test vector and scaling or LU and chol functions. + syntax. Test vector and scaling or LU and chol functions. * test_linalg.m: Change error message of failing chol/lu test. 2008-02-19 David Bateman <dbateman@free.fr> @@ -254,7 +255,7 @@ 2008-01-22 Thomas Weber <thomas.weber.mail@gmail.com> * test_linalg.m, test_matrix.m, test_number.m, test_poly.m, - test_signal.m, test_stats.m, test_string.m, test_system.m: + test_signal.m, test_stats.m, test_string.m, test_system.m: Move tests to individual source files. 2008-01-15 Thomas Weber <thomas.weber.mail@gmail.com> @@ -433,7 +434,7 @@ 2006-04-03 David Bateman <dbateman@free.fr> * test_number.m: Reverse sense of isscalar and isvector tests - for recent changes. + for recent changes. 2006-03-21 John W. Eaton <jwe@octave.org> @@ -462,12 +463,12 @@ 2006-02-09 David Bateman <dbateman@free.fr> - * build_sparse_tests.sh: Add tests for sparse QR solvers. + * build_sparse_tests.sh: Add tests for sparse QR solvers. 2006-01-21 David Bateman <dbateman@free.fr> - * build_sparsetest.sh: Add new un-ordered indexing, assignment and - deletion tests. + * build_sparsetest.sh: Add new un-ordered indexing, assignment and + deletion tests. 2006-01-13 Bill Denney <bill@givebillmoney.com> @@ -483,7 +484,7 @@ (check): Run tests with fntest.m instead of runtest. (test_sparse.m): New target. (clean): Remove fntests.log instead of octave.log and octave.sum. - + * tests/test_args.m, tests/test_infnan.m, tests/test_set.m, tests/test_arith.m, tests/test_io.m, tests/test_signal.m, tests/test_audio.m, tests/test_linalg.m, tests/test_sparse.m, @@ -498,7 +499,7 @@ tests/test_if.m, tests/test_prefer.m, tests/test_unwind.m, tests/test_image.m, tests/test_quad.m, tests/test_while.m, tests/test_index-wfi-f.m, tests/test_recursion.m, - tests/test_index-wfi-t.m, tests/test_return.m: Initial of conversion + tests/test_index-wfi-t.m, tests/test_return.m: Initial of conversion of DejaGnu tests to test/assert infrastructure. 2005-05-11 John W. Eaton <jwe@octave.org> @@ -521,10 +522,10 @@ 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> - * octave.test/linalg/qr-7.m: Replace large random matrix tests + * octave.test/linalg/qr-7.m: Replace large random matrix tests of economy QR decomposition with small predictable tests. Include numerically sensitive rosser matrix test. Don't - report the measured norms. + report the measured norms. 2002-04-24 Bill Lash <lash@tellabs.com> @@ -545,7 +546,7 @@ 2002-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> - * octave.test/diffeq/dassl-1.m (tol): Use relative tolerance for test. + * octave.test/diffeq/dassl-1.m (tol): Use relative tolerance for test. * octave.test/diffeq/dassl-2.m (tol): Likewise. * octave.test/diffeq/lsode-1.m (tol): Likewise. * octave.test/diffeq/lsode-2.m (tol): Likewise. @@ -560,7 +561,7 @@ * octave.test/linalg/qr-7.m: New test. From Paul Kienzle <pkienzle@jazz.ncnr.nist.gov>. - + 2001-04-24 Christoph Spiel <cspiel@hammersmith-consulting.com> * Makefile.in (check): Allow user to specify which .exp file to run.