# HG changeset patch # User jwe # Date 1102083531 0 # Node ID c9a44ec47b20c6b47c5563799d3e2ee821fff0c0 # Parent 1dbe2c93af518eb37a8117fe8b0cc09741d1d3bb [project @ 2004-12-03 14:18:51 by jwe] diff -r 1dbe2c93af51 -r c9a44ec47b20 liboctave/ChangeLog --- a/liboctave/ChangeLog Fri Dec 03 13:40:28 2004 +0000 +++ b/liboctave/ChangeLog Fri Dec 03 14:18:51 2004 +0000 @@ -76,7 +76,7 @@ * Array.cc (assign2): Save result of squeeze operation. Squeeze if ndims is > 2, not if length of RHS vector is > 2. -2004-10-11 David Bateman +2004-10-11 David Bateman * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to flag whether transform in- or out-of-place. @@ -648,7 +648,7 @@ * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): Sprinkle with OCTAVE_QUIT. -2004-02-16 David Bateman +2004-02-16 David Bateman * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): Add support for FFTW 3.x. Include the ability to @@ -1422,7 +1422,7 @@ * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. * Makefile.in: Add them to the appropriate lists. -2003-09-09 David Bateman +2003-09-09 David Bateman * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, biry): Always request scaled results from AMOS functions and @@ -1494,7 +1494,7 @@ * ArrayN.cc (increment_index): New arg, start_dimension. -2003-07-29 Heine Kolltveit +2003-07-29 Heine Kolltveit * ArrayN.cc (operator <<): Improve output readability. @@ -1542,7 +1542,7 @@ * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. -2003-07-11 Russell Standish +2003-07-11 Russell Standish * Array.h (resize_fill_value): Now a top-level template function. Accept object as argument. Change all uses. @@ -1564,7 +1564,7 @@ * Array2-idx.h (Array2::index (idx_vector&, int, const T&)): Magic colon indexing always produces an object with one column. -2003-06-21 Paul Kienzle +2003-06-21 Paul Kienzle * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. @@ -1581,7 +1581,7 @@ Handle step limit. * DASSL-opts.in: New option for step limit. -2003-06-16 Per Persson +2003-06-16 Per Persson * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. @@ -1590,7 +1590,7 @@ * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. Store step limit in iwork(20), not iwork(18). -2003-05-16 Paul Kienzle +2003-05-16 Paul Kienzle * oct-rand.cc: Use liboctave's clock layer instead of the system clock. @@ -1703,7 +1703,7 @@ * lo-ieee.h (lo_ieee_signbit): New macro. -2003-02-18 David Bateman +2003-02-18 David Bateman * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): Use Lapack instead of Linpack. @@ -1922,7 +1922,7 @@ * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead of ! defined (linux). -2002-11-09 Per Persson +2002-11-09 Per Persson * oct-shlib.cc (octave_dyld_shlib): New class. (make_shlib): Instantiate octave_dyld_shlib. @@ -2003,7 +2003,7 @@ * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. (liboctave.$(SHLEXT)): Not here. -2002-10-17 Paul Kienzle +2002-10-17 Paul Kienzle * oct-shlib.cc (octave_w32_shlib): New class to support Windows. @@ -2012,7 +2012,7 @@ * Makefile.in (install-lib): Don't bother with versions for $(SHLBIN) files. -2002-10-16 Paul Kienzle +2002-10-16 Paul Kienzle * Makefile.in (LIB_DEPS): Include $(LIBS). @@ -2025,7 +2025,7 @@ * Makefile.in (install): No need to use cd to create links. (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. -2002-10-14 Paul Kienzle +2002-10-14 Paul Kienzle * Makefile.in: Merge liboctave with liboct-readline and liboct-pathsearch. @@ -2082,11 +2082,11 @@ (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR instead of "/". -2002-10-07 Paul Kienzle +2002-10-07 Paul Kienzle * lo-cutils.c: On non-Posix Windows systems, include winsock.h. -2002-10-07 Paul Kienzle +2002-10-07 Paul Kienzle * oct-env.cc (octave_env::do_absolute_pathname): Recognize absolute path names under MinGW as well. @@ -2104,7 +2104,7 @@ (octave_env::do_chdir): Likewise. (is_dir_sep): New function. -2002-10-03 Paul Kienzle +2002-10-03 Paul Kienzle * oct-time.cc (octave_time::stamp): Better resolution for Windows systems. @@ -2119,7 +2119,7 @@ * lo-specfun.cc (acosh): Call xdacosh, not dacosh. -2002-09-27 Per Persson +2002-09-27 Per Persson * oct-group.cc (octave_group::octave_group): Dont' forget to set gr_gid too. @@ -2167,7 +2167,7 @@ If __GNUG__, use pragma interface/implementation. Allow this to be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. -2002-09-26 Paul Kienzle +2002-09-26 Paul Kienzle * file-ops.cc (file_ops::readlink): Don't declare buffer if system readlink function is not available. @@ -2274,7 +2274,7 @@ * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. * DASPK.cc (DASPK::do_integrate (double)): Likewise. -2002-08-15 Paul Kienzle +2002-08-15 Paul Kienzle * DASPK-opts.in, DASPK.h: Move include to .in file. * DASRT-opts.in, DASRT.h: Likewise. @@ -2469,7 +2469,7 @@ (gnu_readline::gnu_readline): Use them instead of passing pointers to extern "C" functions to octave_rl_ad_defun. -2002-05-22 Mumit Khan +2002-05-22 Mumit Khan * DASPK.cc (ddaspk_psol): Return value. * oct-rl-edit.c: Use /* ... */ to comment. @@ -2485,7 +2485,7 @@ sqrt(eps), not eps^2. DASPK_options::set_absolute_tolerance): Likewise. -2002-05-17 Mumit Khan +2002-05-17 Mumit Khan * Array.h (Array::resize_fill_value): Return default initialized object. @@ -2531,7 +2531,7 @@ * Array2.h (assign (Array2&, const Array2&)): Use it. * ArrayN.h (assign (ArrayN&, const ArrayN&)): Use it. -2002-05-02 Cai Jianming +2002-05-02 Cai Jianming * Array3.h (Array3::checkelem): Improve error message. * ArrayN.h (ArrayN::range_error): Likewise. @@ -2560,7 +2560,7 @@ * LSODE.h (LSODE_options::init): Likewise. (LSODE_options::set_absolute_tolerance): Likewise. -2002-04-03 Steven G. Johnson +2002-04-03 Steven G. Johnson * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. * file-stat.cc (file_stat::update_internal, file_stat::copy): @@ -2580,7 +2580,7 @@ dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. -2002-04-02 Paul Kienzle +2002-04-02 Paul Kienzle * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition internally when the user requests it. @@ -2594,7 +2594,7 @@ definition for NULL by passing 0 as the last arg to fftwnd_one. (octave_fftw::ifft2d): Likewise. -2002-02-22 Paul Kienzle +2002-02-22 Paul Kienzle * lo-mappers.cc (arg): Simply call atan2 (0.0, x). @@ -2838,7 +2838,7 @@ * Array2-idx.h (Array2::index (idx_vector&)): Avoid copying elements if arg is a colon. -2000-10-12 Cai Jianming +2000-10-12 Cai Jianming * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. (Matrix::cumsum (int) const): Likewise. @@ -2930,7 +2930,7 @@ * Makefile.in (liboctave.$(SHLEXT)): Delete target before rebuilding. -2000-03-21 Ben Sapp : +2000-03-21 Ben Sapp : * liboctave/Makefile.in (liboctave.$(LIBEXT)): New target. (libraries): Depend only on library targets, not archive members. @@ -3176,7 +3176,7 @@ * strptime.c: Only include langinfo.h if _LIBC is defined. -2000-01-21 A. Scottedward Hodel +2000-01-21 A. Scottedward Hodel * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling operations directly in step 2 and reverse step 2. @@ -3241,7 +3241,7 @@ On errors, simply return `T ()'. (DiagArray2::checkelem (int, int)): Likewise. -1999-11-02 A. Scottedward Hodel +1999-11-02 A. Scottedward Hodel * dMatrix.cc (Matrix::expm): Do balancing here instead of using AEPBALANCE class. @@ -3362,7 +3362,7 @@ * Makefile.in (libraries): Use the libfoo.a(objects) method of creating static libs. -Thu Mar 4 02:17:04 1999 James Macnicol +Thu Mar 4 02:17:04 1999 James Macnicol * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 and uint32 data types. @@ -3379,11 +3379,11 @@ * CMatrix.cc (operator * (const ComplexColumnVector& v, const ComplexRowVector& a)): Likewise -Tue Nov 24 23:38:19 1998 Eric Norum +Tue Nov 24 23:38:19 1998 Eric Norum * statdefs.h: Only define mode_t if not already defined. -Tue Nov 24 17:24:52 1998 john +Tue Nov 24 17:24:52 1998 john * lo-specfun.cc (airy, biry): Set imaginary part of result to zero when appropriate. @@ -3512,7 +3512,7 @@ Alloctate space before attempting to use it. (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. -Mon Jun 22 17:04:27 1998 Tomislav Goles +Mon Jun 22 17:04:27 1998 Tomislav Goles * EIG.cc (EIG::init): Move invariant code outside loop. @@ -3668,7 +3668,7 @@ * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. -Wed Nov 19 02:30:04 1997 Mumit Khan +Wed Nov 19 02:30:04 1997 Mumit Khan Changes to make support egcs snapshots that implement explicit specification of template functions according to CD2. diff -r 1dbe2c93af51 -r c9a44ec47b20 scripts/ChangeLog --- a/scripts/ChangeLog Fri Dec 03 13:40:28 2004 +0000 +++ b/scripts/ChangeLog Fri Dec 03 14:18:51 2004 +0000 @@ -493,7 +493,7 @@ * plot/hist.m: Compute histogram correctly for n>=30. -2004-03-02 Paul Kienzle +2004-03-02 Paul Kienzle * signal/sinc.m: Use i(:) instead of i when checking for any nonzeros. @@ -728,7 +728,7 @@ Delete whitespace_in_literal_matrix and propagate_empty_matrices from the list. -2003-07-25 Paul Kienzle +2003-07-25 Paul Kienzle * signal/autocov.m: Transpose result of conj because diag returns a column vector, not a row vector. @@ -831,11 +831,11 @@ gethelp$(BUILD_EXEEXT), $(DOCSTRINGS), and autom4te.cache directory. -2003-06-17 Aaron A. King +2003-06-17 Aaron A. King * plot/hist.m: Don't forget to define n if x is a vector. -2003-06-13 Alois Schloegl +2003-06-13 Alois Schloegl * miscellaneous/fileparts.m: For compatibility with Matlab, return "." with extension. @@ -853,7 +853,7 @@ * Makefile.in, image/Makefile.in, startup/Makefile.in: Handle DESTDIR. -2003-05-05 Andy Adler +2003-05-05 Andy Adler * plot/hist.m: Improve performance by using different algorithms depending on number of bins. @@ -863,11 +863,11 @@ * control/system/sysadd.m: If systems are not "tf", convert before adding. -2003-05-01 Paul Kienzle +2003-05-01 Paul Kienzle * image/imagesc.m: Accept data limits parameter for colormap. -2003-04-11 Doug Stewart +2003-04-11 Doug Stewart * control/base/__stepimp__.m: If digital impulse, reduce gain of the impulse by t_step. @@ -877,7 +877,7 @@ * control/base/__bodquist__.m: Don't convert pdbig and fdbig to column vectors. -2003-03-24 Quentin Spencer +2003-03-24 Quentin Spencer * linear-algebra/null.m: Handle empty matrix arg. @@ -907,15 +907,15 @@ * linear-algebra/logm.m: New file. -2003-02-18 David Bateman +2003-02-18 David Bateman * mkpkgadd: Scan C++ files as well -2003-02-13 Alois Schloegl +2003-02-13 Alois Schloegl * strings/findstr.m: Return empty set for zero-length target. -2003-02-11 Paul Kienzle +2003-02-11 Paul Kienzle * set/union.m: Preserve the orientation of inputs. @@ -927,7 +927,7 @@ * general/int2str.m: Do a better job with 0, Inf, and NaN, -2003-01-11 Paul Kienzle +2003-01-11 Paul Kienzle * Makefile.in (gethelp$(BUILD_EXEEXT)): Pass $(BUILD_CXXFLAGS) and $(BUILD_LDFLAGS) to compiler. @@ -1000,15 +1000,15 @@ * signal/bartlett.m: Avoid row/column mismatch error. -2002-11-12 Paul Kienzle +2002-11-12 Paul Kienzle * statistics/base/var.m: Use better formula for improved accuracy. -2002-11-04 Nicholas Piper +2002-11-04 Nicholas Piper * control/base/lsim.m: Correct doc string. -2002-11-04 A S Hodel +2002-11-04 A S Hodel * control/system/syssub.m: Call tf2sys with Gnum-Hnum, not Gnum+Hnum. @@ -1016,7 +1016,7 @@ * plot/contour.m: Handle x and y as matrices too. -2002-11-01 Joseph P. Skudlarek +2002-11-01 Joseph P. Skudlarek * plot/contour.m: Fix error and usage messages. @@ -1028,7 +1028,7 @@ * control/base/analdemo.m: Fix typo. -2002-10-31 Francesco Potorti` +2002-10-31 Francesco Potorti` * statistics/distributions/discrete_pdf.m: Fix typo. @@ -1043,17 +1043,17 @@ * Makefile.in (gethelp): Use $(BUILD_CXX), not $(CXX). -2002-09-27 Paul Kienzle +2002-09-27 Paul Kienzle * statistics/distributions/normal_cdf.m: Handle variance == 0. * statistics/distributions/normal_pdf.m: Likewise. * statistics/distributions/normal_inv.m: Likewise. -2002-09-27 Paul Kienzle +2002-09-27 Paul Kienzle * specfun/erfinv.m: Return NaN for NaN inputs. -2002-09-26 Jeff Cunningham +2002-09-26 Jeff Cunningham * statistics/base/var.m: Handle complex values. @@ -1063,7 +1063,7 @@ list. * deprecated/Makefile.in: New file. -2002-08-09 Paul Kienzle +2002-08-09 Paul Kienzle * statistics/distributions/beta_cdf.m: Replace betai with betainc. * statistics/distributions/binomial_cdf.m: Likewise. @@ -1107,7 +1107,7 @@ * statistics/base/mean.m: Allow empty matrices. Handle DIM arg. -2002-08-05 Teemu Ikonen +2002-08-05 Teemu Ikonen * plot/__errcomm__.m: If format is not specified, default to error bar format. @@ -1129,7 +1129,7 @@ * plot/semilogxerr.m: Likewise. * plot/semilogyerr.m: Likewise. -2002-07-25 Teemu Ikonen +2002-07-25 Teemu Ikonen * plot/__errcomm__.m: New file. Common functionality for error plots. * plot/loglogerr.m: New file. Double logarithm plots with errorbars. @@ -1147,7 +1147,7 @@ * general/mod.m: Additional error checks, Texinfoize doc string. -2002-04-29 Paul Kienzle +2002-04-29 Paul Kienzle * general/mod.m: New function. @@ -1184,7 +1184,7 @@ * strings/str2mat.m: Likewise. * strings/strcat.m: Likewise. -2002-06-27 Paul Kienzle +2002-06-27 Paul Kienzle * statistics/distributions/gamma_pdf.m: Avoid overflow in more cases. @@ -1193,11 +1193,11 @@ * skip-autoheader: New file, for autogen.sh. * Makefile.in (DISTFILES): Add it to the list. -2002-04-29 Paul Kienzle +2002-04-29 Paul Kienzle * general/repmat.m: New function. -2002-04-25 Paul Kienzle +2002-04-25 Paul Kienzle * audio/lin2mu.m: Accept matrices and [-1,1] normalized audio. Use optional parameter to specify the number of bits in the input. @@ -1210,48 +1210,48 @@ * linear-algebra/kron.m: Delete. -2002-04-24 Paul Kienzle +2002-04-24 Paul Kienzle * signal/freqz.m: If nargout is zero, plot results instead of returning them. * signal/freqz_plot.m: New file. -2002-04-24 Bill Lash +2002-04-24 Bill Lash * scripts/signal/unwrap.m: New file. -2002-04-23 Paul Kienzle +2002-04-23 Paul Kienzle * image/rgb2hsv.m: Faster, more accurate, remove the divide by zero warning. -2002-04-09 Paul Kienzle +2002-04-09 Paul Kienzle * strings/deblank.m: Trim \0 as well as blank. * scripts/freqz.m: Evaluate a specific range of frequencies expressed in radians or Hz relative to a supplied sample rate. -2002-04-04 Paul Kienzle +2002-04-04 Paul Kienzle * signal/fftfilt.m: Filter columns if called with a matrix. * strings/findstr.m: Vectorize as much as possible. -2002-04-04 Dirk Laurie +2002-04-04 Dirk Laurie * special-matrix/invhilb.m: New version that is faster and more accurate. -2002-04-03 Steven G. Johnson +2002-04-03 Steven G. Johnson * configure.in: Update for autoconf 2.5x. -2002-04-03 Paul Kienzle +2002-04-03 Paul Kienzle * special-matrix/vander.m: Code tidy and vectorize. -2002-04-02 Paul Kienzle +2002-04-02 Paul Kienzle * linear-algebra/cross.m: Accept nx3 and 3xn matrices, in addition to vectors. Issue a warning in the case x matches y' but return a @@ -1287,7 +1287,7 @@ * m/image/saveimage.m: fix saving an image to Postscript format. -2001-04-18 A. Scottedward Hodel +2001-04-18 A. Scottedward Hodel * control/system/is_stabilizable.m: Pass a to sys2ss, not sys. @@ -1342,12 +1342,12 @@ * strings/hex2dec.m: Replace with version that just calls base2dec. * strings/bin2dec.m: Likewise. -2001-02-07 David Livings +2001-02-07 David Livings * statistics/base/ppplot.m: Use gset, not set. * statistics/base/qqplot.m: Likewise. -2001-02-05 Ondrej Popp +2001-02-05 Ondrej Popp * control/system/c2d.m: Add missing endif. @@ -1382,7 +1382,7 @@ * Makefile.in (bin-dist): Pass -C to $(MAKE), not -c. -2000-11-16 Paul Kienzle +2000-11-16 Paul Kienzle * plot/contour.m: Reorder args for Matlab compatibility. @@ -1426,11 +1426,11 @@ * plot/hist.m: Allow 3 argument form to work. -2000-06-27 Matthew W. Roberts +2000-06-27 Matthew W. Roberts * plot/plot.m: Add examples in doc string. -2000-06-08 Ben Sapp +2000-06-08 Ben Sapp * control/base/__stepimp__.m: Reset multiplot state when done. Do the right thing even if automatic_replot is not zero. @@ -1441,14 +1441,14 @@ * general/logical.m: Return arg if it is empty. Better error message for non-numeric types. -2000-05-31 A. Scottedward Hodel +2000-05-31 A. Scottedward Hodel * control/base/dlqe.m: Update documentation. Fix typo. Warn about difference with Matlab dlqe function. * control/system/sysmult.m: Fix typo in argument dimensions checking. -2000-05-24 Ben Sapp +2000-05-24 Ben Sapp * strings/strrep.m: Fix typo. @@ -1456,12 +1456,12 @@ * strings/strrep.m: Don't transpose result for case of jump > 0. -2000-05-13 Paul Kienzle +2000-05-13 Paul Kienzle * strings/strrep.m: Avoid for loop for speed. * plot/axis.m: Handle string options for Matlab compatibility. -2000-04-04 John Smith +2000-04-04 John Smith * statistics/distributions/beta_inv.m: Provide better(?) initial guess for iteration. @@ -1483,7 +1483,7 @@ when it was created. Suggested by Stephen Eglen . -2000-03-21 Paul Kienzle +2000-03-21 Paul Kienzle * polynomial/polyreduce.m: Simplify by looking for the first non-zero element rather than the last of the first set of zero @@ -1491,7 +1491,7 @@ * plot/__pltopt1__.m: Accept "--", "-.", and ":" line styles. -2000-03-21 Kai Habel +2000-03-21 Kai Habel * image/saveimage.m: Swap black and white colormaps so zero is displayed as black and 1 is displayed as white. @@ -1512,11 +1512,11 @@ * specfun/erfinv.m: Use z_new in convergence test, not z_old. -2000-02-11 Georg Thimm +2000-02-11 Georg Thimm * set/create_set.m: Use find to avoid while loop. -2000-02-11 Stephen Eglen +2000-02-11 Stephen Eglen * plot/hist.m: New optional third argument. @@ -1558,11 +1558,11 @@ * plot/mesh.m: Fix error message to reflect reality. -2000-01-24 Cyril Humbert +2000-01-24 Cyril Humbert * statistics/distributions/weibull_pdf.m: Use correct formula. -2000-01-22 Michael Reifenberger +2000-01-22 Michael Reifenberger * audio/saveaudio.m: Also accept files with .ul extension. * audio/loadaudio.m: Ditto. @@ -2005,7 +2005,7 @@ Always generate a row vector. * statistics/distributions/hypergeometric_rnd.m: Likewise. -2000-01-11 Ben Sapp +2000-01-11 Ben Sapp * strings/upper.m: Add missing `-*- texinfo -*-' tag to doc string. @@ -2017,7 +2017,7 @@ * control/dre.m: Likewise. * control/hinfsyn_ric.m: Likewise. -2000-01-05 Ben Sapp +2000-01-05 Ben Sapp * io/printf.m: Add @seealso{...} to doc string. * io/puts.m: Likewise. @@ -2201,7 +2201,7 @@ * control/bddemo.m: Ditto. * control/pzmap.m: Ditto. -1999-12-08 Daniel Calvelo +1999-12-08 Daniel Calvelo * signal/spectral_adf.m: Fix typo. @@ -2342,7 +2342,7 @@ * Makefile.in (DISTFILES): Include DOCSTRINGS. -1999-11-09 Ben Sapp +1999-11-09 Ben Sapp * control/DEMOcontrol.m: Texinfoize doc string. * control/abcddim.m: Ditto. @@ -2473,7 +2473,7 @@ * control/zp2tf.m: Ditto. * control/zpout.m: Ditto. -1999-11-02 Ben Sapp +1999-11-02 Ben Sapp * scripts/audio/lin2mu.m: Texinfoize doc string. * scripts/audio/loadaudio.m: Ditto. @@ -2482,7 +2482,7 @@ * scripts/audio/record.m: Ditto. * scripts/audio/saveaudio.m: Ditto. -1999-10-26 Ben Sapp +1999-10-26 Ben Sapp * elfun/acot.m: Texinfoize doc string. * elfun/acsc.m: Ditto. @@ -2512,7 +2512,7 @@ * specfun/log2.m: Ditto. * specfun/pow2.m: Ditto. -1999-10-23 Ben Sapp +1999-10-23 Ben Sapp * general/is_scalar.m: Texinfoize help text. * general/is_square.m: Ditto. @@ -2575,7 +2575,7 @@ * control/bode.m: Allow optional 5th arg to specify plot style. -Wed Sep 22 22:12:03 1999 A. Scottedward Hodel +Wed Sep 22 22:12:03 1999 A. Scottedward Hodel * linear-algebra/krylov.m: Correctly handle case of V having full rank when V has more columns than rows. @@ -2625,7 +2625,7 @@ figure now creates a new figure window and returns its number. Accept figure (property, value) syntax, but do nothing. -Thu Aug 12 09:28:01 PDT 1999 Tom Poage +Thu Aug 12 09:28:01 PDT 1999 Tom Poage * general/shift.m: Avoid printing temporary value for backward shift. @@ -2639,7 +2639,7 @@ * linear-algebra/cond.m: Avoid returning NaN for matrices that contain only zeros. -Sun Jun 20 22:24:27 1999 Eduardo Gallestey +Sun Jun 20 22:24:27 1999 Eduardo Gallestey * linear-algebra/kron.m: Create result matrix and insert blocks instead of appending them. @@ -2658,7 +2658,7 @@ * linear-algebra/qrhouse.m, linear-algebra/krygetq.m: Delete. -Wed Apr 7 13:22:43 1999 A. S. Hodel +Wed Apr 7 13:22:43 1999 A. S. Hodel * control/is_controllable.m, control/zgscal.m: Accomodate new version of krylov and krylovb. @@ -2682,7 +2682,7 @@ infinity-norms of complex matrices. From Sven Khatri . -Tue Mar 16 13:36:36 1999 A. Scottedward Hodel" +Tue Mar 16 13:36:36 1999 A. Scottedward Hodel" * linear-algebra/qrhouse.m: Handle default args correctly. @@ -2691,19 +2691,19 @@ * strings/split.m: Avoid problems when splitting strings that have \ in them. -Thu Mar 11 12:36:13 1999 Massimo Lorenzin +Thu Mar 11 12:36:13 1999 Massimo Lorenzin * image/colormap.m: Do better arg checking, handle string args that name the colormap function to call (e.g., colormap ("ocean")). -Mon Mar 8 22:23:24 1999 Rolf Fabian +Mon Mar 8 22:23:24 1999 Rolf Fabian * polynomial/polyfit.m: Use .' transpose operator, not '. * linear-algebra/dot.m: Likewise. * linear-algebra/cross.m: Likewise. * general/rot90.m: Likewise. -Sat Mar 6 01:45:00 1999 A Scott Hodel +Sat Mar 6 01:45:00 1999 A Scott Hodel * linear-algebra/qrhouse.m: Permute columns at each iteration so that the leading column is not all zeros. @@ -2728,7 +2728,7 @@ * statistics/tests/run_test.m: Ditto. * statistics/tests/chisquare_test_independence.m: Ditto. -Wed Mar 3 02:25:00 1999 Joao Cardoso +Wed Mar 3 02:25:00 1999 Joao Cardoso * plot/__plr2__.m: Fix typo. @@ -2736,12 +2736,12 @@ * plot/__pltopt1__.m: Accept "k" to mean black. -Fri Dec 11 10:43:19 1998 A Scott Hodel +Fri Dec 11 10:43:19 1998 A Scott Hodel * linear-algebra/krylov.m: Force empty_list_elements_ok for this function. -Thu Dec 10 11:07:00 1998 A Scott Hodel +Thu Dec 10 11:07:00 1998 A Scott Hodel * control/ss2sys.m: Fix typo. @@ -2769,7 +2769,7 @@ nearest position in colormap instead of truncating. Correct usage message. -Tue Nov 24 14:50:52 1998 A Scott Hodel +Tue Nov 24 14:50:52 1998 A Scott Hodel * linear-algebra/krylov.m: New arg pflg. If nonzero, avoid using zero rows of [A,v] as householder pivots; this avoids spurious @@ -3294,7 +3294,7 @@ return a column (row) vector. If they don't match, pay attention to the value of prefer_column_vectors. -Thu Aug 28 15:31:20 1997 Rolf Fabian +Thu Aug 28 15:31:20 1997 Rolf Fabian * polynomial/polyvalm.m: Don't assume orthogonal eigenvectors for nonsymmetric matrices. @@ -3314,7 +3314,7 @@ * plot/mesh.m: Set noparametric plot mode after plotting. -Wed Jun 25 21:06:10 1997 Rick Niles +Wed Jun 25 21:06:10 1997 Rick Niles * plot/__pltopt__.m: Handle key/legend names. Correctly set colors, line styles, and point styles. @@ -3367,7 +3367,7 @@ * general/nextpow2.m: Correctly handle new meaning of is_scalar() and is_vector(). -Thu Mar 13 16:36:35 1997 Kurt Hornik +Thu Mar 13 16:36:35 1997 Kurt Hornik * specfun/erfinv.m: Scale update by sqrt (pi) / 2. Use tolerance of 2 * eps. diff -r 1dbe2c93af51 -r c9a44ec47b20 src/ChangeLog --- a/src/ChangeLog Fri Dec 03 13:40:28 2004 +0000 +++ b/src/ChangeLog Fri Dec 03 14:18:51 2004 +0000 @@ -1,3 +1,7 @@ +2004-12-03 Teemu Ikonen + + * file-io.cc: Doc string fixes. + 2004-12-02 David Bateman * input.cc (get_user_input): Only set nm and line for debugging if @@ -3190,7 +3194,7 @@ * ov.cc (octave_value(const ArrayN&)): New constructor. * ov.h (octave_value(const ArrayN&)): Provide decl. -2003-07-30 Heine Kolltveit +2003-07-30 Heine Kolltveit * ov.cc (octave_value(const ArrayN&)): New constructor. * ov.h (octave_value(const ArrayN&)): Provide decl. @@ -3226,16 +3230,16 @@ * Makefile.in (install-lib): Use $(INSTALL), not $(INSTALL_PROGRAM) for $(SHLLIB) files. -2003-07-29 Paul Kienzle +2003-07-29 Paul Kienzle * Makefile.in: Don't need special system.c for Cygwin. * oct-procbuf.cc: Use popen rather than fork/exec for Windows. -2003-07-28 Paul Kienzle +2003-07-28 Paul Kienzle * sysdep.cc (CYGWIN_init): Convert TMPDIR to system agnostic path. -2003-07-25 Paul Kienzle +2003-07-25 Paul Kienzle * help.cc (try_info, display_help_text): Protect spaces in filenames with quotes. @@ -3332,7 +3336,7 @@ (empty_list_elements_ok): Delete. (symbols_of_pt_mat): Delete DEFVAR for empty_list_elements_ok. -2003-07-11 Russell Standish +2003-07-11 Russell Standish * TEMPLATE-INST/Array-tc.cc (resize_fill_value): Provide specialization. @@ -3587,7 +3591,7 @@ * version.h (OCTAVE_VERSION): Now 2.1.49. -2003-05-28 Teemu Ikonen +2003-05-28 Teemu Ikonen * load-save.cc (save_mat5_binary_element, save_mat_binary_data): Allow saving of non-7-bit ASCII characters. @@ -3677,7 +3681,7 @@ * ov-cell.h (octave_cell::is_matrix_type): New function. -2003-03-09 Duncan Temple Lang +2003-03-09 Duncan Temple Lang * octave.cc (octave_main): New arg, embedded. * octave.h: Fix decl. @@ -3717,7 +3721,7 @@ cell array instead of a string array. (Fisfield): Rename from struct_contains. -2003-02-22 Paul Kienzle +2003-02-22 Paul Kienzle * toplev.cc: Put config info in array of strings, then convert to map. @@ -3736,7 +3740,7 @@ * toplev.cc (main_loop): New arg, fun_to_call. If non-empty, evaluate this function before continuing. -2003-02-21 Paul Kienzle +2003-02-21 Paul Kienzle * file-io.cc (Fmkstemp): Use OCTAVE_LOCAL_BUFFER instead of using std::auto_ptr directly. @@ -3749,7 +3753,7 @@ * oct-obj.h (octave_value_list::operator delete): Handle systems with or without placement delete. -2003-02-21 Paul Kienzle +2003-02-21 Paul Kienzle * utils.cc (octave_vsnprintf): Return value of vsnprintf is int, not size_t. Make sure there is some space left in the buffer for @@ -3795,7 +3799,7 @@ (hdf5_callback_data::name, hdf5_callback_data::doc): Now std::string instead of char*. Change all uses. -2003-02-18 Roger Banks +2003-02-18 Roger Banks * load-save.cc (read_ascii_data, read_ascii_data, read_mat5_binary_element, save_mat5_binary_element, @@ -3809,7 +3813,7 @@ * DLD-FUNCTIONS/log.cc: Delete. -2003-02-18 Paul Kienzle +2003-02-18 Paul Kienzle * DLD-FUNCTIONS/sqrtm.cc: New file. @@ -3860,7 +3864,7 @@ Use BEGIN (INITIAL) instead of BEGIN 0. Use parens around start state in BEGIN statements. -2003-02-13 Paul Kienzle +2003-02-13 Paul Kienzle * variables.cc (Fmlock, Fmunlock, Fmislocked): New functions. @@ -3931,7 +3935,7 @@ * mkgendoc: Likewise. * mkops: Likewise. -2003-01-11 Paul Kienzle +2003-01-11 Paul Kienzle * Makefile.in (gendoc$(BUILD_EXEEXT)): Pass $(BUILD_CXXFLAGS) and $(BUILD_LDFLAGS) to compiler. @@ -4125,7 +4129,7 @@ * octave.cc (octave_main): Return 0 at end of function to avoid compiler warnings. -2002-12-30 Paul Kienzle +2002-12-30 Paul Kienzle * parse.y: Fix typo in doc string. @@ -4324,7 +4328,7 @@ * Makefile.in: No need to add $(LIBKPATHSEA) to LINK_DEPS, since it is not included in liboctave. -2002-12-18 JD Cole +2002-12-18 JD Cole * pt-check.cc (tree_checker::visit_subplot_axes, tree_checker::visit_do_until_command): New functions. @@ -4963,7 +4967,7 @@ types first. If the arg is something else, try ch_map_fcn if it is defined. -2002-10-15 Paul Kienzle +2002-10-15 Paul Kienzle * Makefile.in: If building shared but not static libs, only set XERBLA to the location of the pic object file if FPICFLAG is @@ -4981,7 +4985,7 @@ * Makefile.in (install): No need to use cd to create links. -2002-10-14 Paul Kienzle +2002-10-14 Paul Kienzle * Makefile.in: Merge liboctave with liboct-readline and liboct-pathsearch. @@ -5059,7 +5063,7 @@ * utils.cc (octave_sleep): Cast result of modf to unsigned int. -2002-10-07 Paul Kienzle +2002-10-07 Paul Kienzle * sighandlers.cc (my_friendly_exit): If kill is unavailable, use raise. @@ -5085,7 +5089,7 @@ (octave_usleep): Make it work for Windows systems. From Paul Kienzle . -2002-10-03 Paul Kienzle +2002-10-03 Paul Kienzle * cutils.c (octave_usleep): Make it work for Windows systems. @@ -5109,7 +5113,7 @@ (octave_stream::mode_as_string): Use parens since | has lower precedence than ==. -2002-09-26 Paul Kienzle +2002-09-26 Paul Kienzle * sysdep.cc: Include conio.h if it exists. (octave_kbhit): Rename from kbhit. Implement with _kbhit if it @@ -5163,7 +5167,7 @@ If __GNUG__, use pragma interface/implementation. Allow this to be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. -2002-09-26 Paul Kienzle +2002-09-26 Paul Kienzle * mappers.cc (install_mapper_functions): Install erf, not xerf. Install erfc, not xerfc. @@ -5298,7 +5302,7 @@ * help.cc: Likewise. * dirfns.cc: Likewise. -2002-08-15 Paul Kienzle +2002-08-15 Paul Kienzle * input.cc (octave_read): Do a better job of buffering. @@ -5806,14 +5810,14 @@ * debug.cc (Fdbtype): Use C++ strings, not C strings. -2002-05-22 Mumit Khan +2002-05-22 Mumit Khan * debug.cc: Include cstdlib instead of stdlib.h. Include cstring. (dbtype): Use strchr instead of index. * TEMPLATE-INST/Array-tc.cc (Array::resize_fill_value): Fix template specialization syntax. -2002-05-17 Mumit Khan +2002-05-17 Mumit Khan * c-file-ptr-stream.h (OCTAVE_STD_FILEBUF): New macro to handle various forms of extensions to std::filebuf. @@ -6152,7 +6156,7 @@ * OPERATORS/op-cell.cc (install_list_ops): Use DEFASSIGNANYOP_FN and INSTALL_ASSIGNANYOP, not DEFASSIGNOP_FN and INSTALL_ASSIGNOP. -2002-05-03 Cai Jianming +2002-05-03 Cai Jianming * OPERATORS/op-cell.cc: New file. * src/Makefile.in (OP_XSRC): Include it in the list. @@ -6172,7 +6176,7 @@ * Cell.h (Cell): Derive from Array2. Most functions removed since we can use those from Array2 instead. -2002-05-02 Cai Jianming +2002-05-02 Cai Jianming * ov-base-mat.cc (octave_base_matrix::assign): New function. @@ -6187,7 +6191,7 @@ * ov-re-mat.cc (octave_bool_matrix::assign): Delete. * ov-re-mat.h (octave_bool_matrix:assign): Delete decl. -2002-05-02 Cai Jianming +2002-05-02 Cai Jianming * OPERATORS/op-bm-b.cc: New file.x * Makefile.in (OP_XSRC): Add it to the list. @@ -6224,7 +6228,7 @@ * DLD-FUNCTIONS/daspk.cc: New file. * Makefile.in (DLD_XSRC): Add it to the list. -2002-04-25 Paul Kienzle +2002-04-25 Paul Kienzle * DLD-FUNCTIONS/kron.cc: New file. * Makefile.in (DLD_SRC): Add it to the list. @@ -6252,7 +6256,7 @@ (hdf5_fstreambase::close): Likewise. (hdf5_fstreambase::open): Likewise. -2002-04-10 Ben Sapp +2002-04-10 Ben Sapp * pt-stmt.cc (delete_breakpoint): List breakpoints if line < 0. * debug.cc (get_user_function): Check symbol by name first. @@ -6262,12 +6266,12 @@ (Fdbg_where): Rename from Fdbwhere. (do_dbtype, Fdbtype): New functions. -2002-04-10 Peter Van Wieren +2002-04-10 Peter Van Wieren * load-save.cc (save_mat5_binary_element): Save elements of 2d character matrices in proper order. -2002-04-09 Paul Kienzle +2002-04-09 Paul Kienzle * utils.cc (do_string_escapes): Handle \0 too. (undo_string_escape): Likewise. @@ -6279,7 +6283,7 @@ * oct-conf.h.in (OCTAVE_CONF_EXEEXT): Define and substitute OCTAVE_CONF_EXEEXT, not OCTAVE_CONF_EXE. -2002-04-03 Steven G. Johnson +2002-04-03 Steven G. Johnson * DLD-FUNCTIONS/balance.cc: Use F77_FUNC instead of F77_FCN. * DLD-FUNCTIONS/qz.cc: Likewise. @@ -7160,7 +7164,7 @@ * comment-list.h, comment-list.cc: New files. * Makefile.in: Add them to the appropriate lists. -2000-04-23 etienne grossmann +2000-04-23 etienne grossmann * pt-mat.cc (tm_row_const::tm_row_const_rep::eval_error): New args x and y, for dimension mismatch info. @@ -7171,7 +7175,7 @@ * sysdep.cc (kbhit): Also clear cin if at EOF. -2000-04-11 Joao Cardoso +2000-04-11 Joao Cardoso * sysdep.cc (kbhit): New arg, wait. (raw_mode): Ditto. @@ -7301,7 +7305,7 @@ (liboctinterp.$(LIBEXT), liboctinterp.$(SHELXT)): Delete target before rebuilding. -2000-03-21 Ben Sapp : +2000-03-21 Ben Sapp : * Makefile.in (libraries): Depend only on library targets, not archive members. @@ -7332,7 +7336,7 @@ * Makefile.in (clean): Also delete gendoc. -2000-02-18 James R. Van Zandt +2000-02-18 James R. Van Zandt * load-save.cc (Vcrash_dumps_octave_core): Fix comment for this var. @@ -7752,7 +7756,7 @@ Delete second arg, simply create object with orientation corresponding to vector arg. Move constructors to class decl. -2000-01-07 Ben Sapp +2000-01-07 Ben Sapp * mappers.cc (Fconj, Ferf, Ferfc, Fgamma, Fimag, Flgamma, Flog10, Freal, Fround): Add @seealso{...} to doc strings. @@ -8064,7 +8068,7 @@ state. (octave_base_stream::do_oscanf): Likewise. -1999-11-02 Ben Sapp +1999-11-02 Ben Sapp * help.cc (Fhelp): Texinfoize doc string. * input.cc (Fecho, Fcompletion_matches): Ditto. @@ -8199,7 +8203,7 @@ * Makefile.in (DEFUN_PATTERN): Also match DEFUN_MAPPER. -1999-10-26 Ben Sapp +1999-10-26 Ben Sapp * data.cc (VI, VInf, VJ, VNaN, Ve, Veps, Vfalse, Vi, Vinf, Vj, Vnan, Vpi, Vrealmax, Vrealmin): Texinfoize doc strings. @@ -8208,7 +8212,7 @@ Ffinite, Ffix, Ffloor, Fgamma, Fimag, Flgamma, Flog, Flog10, Freal, Fround, Fsign, Fsin, Fsinh, Fsqrt, Ftan, Ftanh): Ditto. -1999-10-23 Ben Sapp +1999-10-23 Ben Sapp * data.cc (Fis_matrix): Texinfoize doc string. * ov.cc (Vpropagate_empty_matrices): Ditto. @@ -8562,7 +8566,7 @@ * data.cc (Fisnumeric): Fix typo. -Thu Mar 4 02:17:04 1999 James Macnicol +Thu Mar 4 02:17:04 1999 James Macnicol * file-io.cc (Ffread, Ffwrite): Add uint16 and uint32 data types to doc string. @@ -8640,7 +8644,7 @@ * utils.cc (file_in_loadpath): Expect argc == 2, not 3. -Tue Nov 24 23:38:19 1998 Eric Norum +Tue Nov 24 23:38:19 1998 Eric Norum * mkbuiltins: Also strip off leading `./' from file names. * mkops: Ditto. @@ -9159,7 +9163,7 @@ * DLD-FUNCTIONS/rand.cc: Declare Fortran subroutines as returning int, not int*. -Wed Oct 14 23:51:31 1998 Georg Thimm +Wed Oct 14 23:51:31 1998 Georg Thimm * load-save.cc (Vcrash_dumps_octave_core): New static variable. (save_user_variables): Only save variables if @@ -9283,7 +9287,7 @@ . (feval): Don't attempt to copy nonexistent arg names. -Mon Jun 22 21:35:50 1998 Richard Allan Holcombe +Mon Jun 22 21:35:50 1998 Richard Allan Holcombe * xpow.cc (xpow): Improve efficiency for matrix^(scalar int) case. @@ -9702,7 +9706,7 @@ * ov-ch-mat.h (octave_char_matrix::convert_to_str): Result is char_matrix_str, not just char_matrix. -Wed Nov 19 02:05:40 1997 Mumit Khan +Wed Nov 19 02:05:40 1997 Mumit Khan * DLD-FUNCTIONS/filter.cc: Don't include extern template decls if CXX_NEW_FRIEND_TEMPLATE_DECL is defined. @@ -9809,7 +9813,7 @@ * lex.l : Ensure that we handle words that begin with single or double quotes as strings. -Thu Jul 17 13:06:48 1997 Klaus Gebhardt +Thu Jul 17 13:06:48 1997 Klaus Gebhardt * DLD-FUNCTIONS/rand.cc (Frand): Use F77_XFCN to call getsd, setsd, setall, setcgn, dgenunf, and dgennor since they can call diff -r 1dbe2c93af51 -r c9a44ec47b20 src/file-io.cc --- a/src/file-io.cc Fri Dec 03 13:40:28 2004 +0000 +++ b/src/file-io.cc Fri Dec 03 14:18:51 2004 +0000 @@ -182,7 +182,8 @@ @deftypefn {Built-in Function} {} fclose (@var{fid})\n\ Closes the specified file. If successful, @code{fclose} returns 0,\n\ otherwise, it returns -1.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fopen, fseek, ftell}") { octave_value retval = -1; @@ -203,7 +204,11 @@ pending output makes it to the screen before some other event occurs.\n\ For example, it is always a good idea to flush the standard output\n\ stream before calling @code{input}.\n\ -@end deftypefn") +\n\ +@code{fflush} returns 0 on success and an OS dependent error value\n\ +(@minus{}1 on unix) on error.\n\ +@end deftypefn\n\ +@seealso{fopen, fclose}") { octave_value retval = -1; @@ -246,7 +251,8 @@ character.\n\ \n\ If there are no more characters to read, @code{fgetl} returns @minus{}1.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fread, fscanf}") { static std::string who = "fgetl"; @@ -294,7 +300,8 @@ character.\n\ \n\ If there are no more characters to read, @code{fgets} returns @minus{}1.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fread, fscanf}") { static std::string who = "fgets"; @@ -490,7 +497,8 @@ @noindent\n\ however, conversions are currently only supported for @samp{native}\n\ @samp{ieee-be}, and @samp{ieee-le} formats.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fclose, fread, fseek}") { octave_value_list retval; @@ -626,14 +634,18 @@ DEFUN (fseek, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} fseek (@var{fid}, @var{offset}, @var{origin})\n\ -Set the file pointer to any location within the file @var{fid}. The\n\ -pointer is positioned @var{offset} characters from the @var{origin},\n\ +Set the file pointer to any location within the file @var{fid}.\n\ +\n\ +The pointer is positioned @var{offset} characters from the @var{origin},\n\ which may be one of the predefined variables @code{SEEK_CUR} (current\n\ position), @code{SEEK_SET} (beginning), or @code{SEEK_END} (end of\n\ -file). If @var{origin} is omitted, @code{SEEK_SET} is assumed. The\n\ -offset must be zero, or a value returned by @code{ftell} (in which case\n\ -@var{origin} must be @code{SEEK_SET}.\n\ -@end deftypefn") +file) or strings \"cof\", \"bof\" or \"eof\". If @var{origin} is omitted,\n\ +@code{SEEK_SET} is assumed. The offset must be zero, or a value returned\n\ +by @code{ftell} (in which case @var{origin} must be @code{SEEK_SET}.\n\ +\n\ +Return 0 on success and -1 on error.\n\ +@end deftypefn\n\ +@seealso{ftell, fopen, fclose}") { octave_value retval = -1; @@ -662,7 +674,8 @@ @deftypefn {Built-in Function} {} ftell (@var{fid})\n\ Return the position of the file pointer as the number of characters\n\ from the beginning of the file @var{fid}.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fseek, fopen, fclose}") { octave_value retval = -1; @@ -686,7 +699,8 @@ @deftypefn {Built-in Function} {} fprintf (@var{fid}, @var{template}, @dots{})\n\ This function is just like @code{printf}, except that the output is\n\ written to the stream @var{fid} instead of @code{stdout}.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{printf, sprintf, fread, fscanf, fopen, fclose}") { static std::string who = "fprintf"; @@ -744,11 +758,13 @@ DEFUN (printf, args, nargout, "-*- texinfo -*-\n\ -@deftypefn {Built-in Function} {} printf (@var{fid}, @var{template}, @dots{})\n\ +@deftypefn {Built-in Function} {} printf (@var{template}, @dots{})\n\ Print optional arguments under the control of the template string\n\ @var{template} to the stream @code{stdout}.\n\ +\n\ +Return the number of characters printed.\n\ @end deftypefn\n\ -@seealso{fprintf and sprintf}") +@seealso{fprintf, sprintf, scanf}") { static std::string who = "printf"; @@ -792,6 +808,8 @@ "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} fputs (@var{fid}, @var{string})\n\ Write a string to a file with no formatting.\n\ +\n\ +Return a non-negative number on success and EOF on error.\n\ @end deftypefn") { static std::string who = "fputs"; @@ -817,6 +835,8 @@ "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} puts (@var{string})\n\ Write a string to the standard output with no formatting.\n\ +\n\ +Return a non-negative number on success and EOF on error.\n\ @end deftypefn") { static std::string who = "puts"; @@ -839,7 +859,8 @@ suitably sized string as an argument, Octave's @code{sprintf} function\n\ returns the string, automatically sized to hold all of the items\n\ converted.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{printf, fprintf, sscanf}") { static std::string who = "sprintf"; @@ -930,7 +951,8 @@ single scalar return value. This form is more `C-like', and also\n\ compatible with previous versions of Octave. The number of successful\n\ conversions is returned in @var{count}\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{scanf, sscanf, fread, fprintf}") { static std::string who = "fscanf"; @@ -1001,7 +1023,8 @@ This is like @code{fscanf}, except that the characters are taken from the\n\ string @var{string} instead of from a stream. Reaching the end of the\n\ string is treated as an end-of-file condition.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fscanf, scanf, sprintf}") { static std::string who = "sscanf"; @@ -1099,7 +1122,8 @@ \n\ It is currently not useful to call @code{scanf} in interactive\n\ programs.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fscanf, sscanf, printf}") { int nargin = args.length (); @@ -1342,7 +1366,8 @@ \n\ The data read from the file is returned in @var{val}, and the number of\n\ values read is returned in @code{count}\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fwrite, fopen, fclose}") { octave_value_list retval; @@ -1453,7 +1478,8 @@ \n\ The behavior of @code{fwrite} is undefined if the values in @var{data}\n\ are too large to fit in the specified precision.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fread, fopen, fclose}") { octave_value retval = -1; @@ -1494,7 +1520,8 @@ file and 0 otherwise. Note that it will only return 1 if the end of the\n\ file has already been encountered, not if the next read operation will\n\ result in an end-of-file condition.\n\ -@end deftypefn") +@end deftypefn\n\ +@seealso{fread, fopen, fclose}") { octave_value retval = -1; @@ -1928,7 +1955,7 @@ "-*- texinfo -*-\n\ @defvr {Built-in Variable} P_tmpdir\n\ The default name of the directory for temporary files on this system.\n\ -of this variable is system dependent.\n\ +The value of this variable is system dependent.\n\ @end defvr"); // NOTE: the values of SEEK_SET, SEEK_CUR, and SEEK_END have to be