home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / octave-1.1.1p1-base.tgz / octave-1.1.1p1-base.tar / fsf / octave / NEWS < prev    next >
Text File  |  1995-02-15  |  56KB  |  1,600 lines

  1. Summary of changes for version 1.1.1:
  2. ------------------------------------
  3.  
  4.   * New built-in variables, default_return_value and
  5.     define_all_return_values.
  6.  
  7.     If define_all_return_values is set to "false", Octave does not do
  8.     anything special for return values that are left undefined, and
  9.     you will get an error message if you try to use them.  For
  10.     example, if the function
  11.  
  12.       function [x, y] = f ()
  13.         y = 1;
  14.       endfunction
  15.  
  16.     is called as
  17.  
  18.       octave:13> [a, b] = f ()
  19.  
  20.     Octave will print an error message for the attempt to assign an
  21.     undefined value to `a'.
  22.  
  23.     This is incompatible with Matlab, which will define the return
  24.     variable `x' to be the empty matrix.  To get the Matlab-like
  25.     behavior, you can set the variable define_all_return_values to
  26.     "true" (the default is "false") and default_return_value to `[]'
  27.     (the default).  Then, any return values that remain undefined when
  28.     the function returns will be initialized to `[]'.
  29.  
  30.     If the function is called without explicitly asking for an output,
  31.     it will succeed.  This behavior is compatible and unchanged from
  32.     previous versions of Octave.
  33.  
  34.   * New built-in variable suppress_verbose_help_message.  If set to
  35.     "true", Octave will not add additional help information to the end
  36.     of the output from the help command and usage messages for
  37.     built-in commands.  The default value is "false".
  38.  
  39.   * New built-in variable PS4 is used as the prefix of echoed input
  40.     (enabled with the --echo-input (-x) option).
  41.  
  42.   * The function size() now accepts a second optional argument.
  43.  
  44.   * Output from `save - ...' now goes through the pager.
  45.  
  46.   * The break statement may also be used to exit a function, for
  47.     compatibility with Matlab.
  48.  
  49.   * More bug fixes.
  50.  
  51. Summary of changes for version 1.1.0:
  52. ------------------------------------
  53.  
  54.   * Octave now requires g++ 2.6.3 or later.  This change is necessary
  55.     to make template instantiations cleaner, and to avoid having to
  56.     have special cases in the code for earlier versions of gcc.
  57.  
  58.   * A new data structure type has been added.  The implementation uses
  59.     an associative array with indices limited to strings, but the
  60.     syntax is more like C-style structures.  here are some examples of
  61.     using it.
  62.  
  63.     Elements of structures can be of any type, including structures:
  64.  
  65.       octave:1> x.a = 1;
  66.       octave:2> x.b = [1, 2; 3, 4];
  67.       octave:3> x.c = "string";
  68.       octave:4> x
  69.       x =
  70.  
  71.       <structure: a b c>
  72.  
  73.       octave:5> x.a
  74.       x.a = 1
  75.       octave:6> x.b
  76.       x.b =
  77.  
  78.     1  2
  79.     3  4
  80.  
  81.       octave:7> x.c
  82.       x.c = string
  83.       octave:8> x.b.d = 3
  84.       x.b.d = 3
  85.       octave:9> x.b
  86.       x.b =
  87.  
  88.       <structure: d>
  89.  
  90.       octave:10> x.b.d
  91.       x.b.d = 3
  92.  
  93.     Functions can return structures:
  94.  
  95.       octave:1> a = rand (3) + rand (3) * I;
  96.       octave:2> function y = f (x)
  97.       > y.re = real (x);
  98.       > y.im = imag (x);
  99.       > endfunction
  100.       octave:3> f (a)
  101.       ans =
  102.  
  103.       <structure: im re>
  104.  
  105.       octave:4> ans.im
  106.       ans.im =
  107.  
  108.     0.093411  0.229690  0.627585
  109.     0.415128  0.221706  0.850341
  110.     0.894990  0.343265  0.384018
  111.  
  112.       octave:5> ans.re
  113.       ans.re =
  114.  
  115.     0.56234  0.14797  0.26416
  116.     0.72120  0.62691  0.20910
  117.     0.89211  0.25175  0.21081
  118.  
  119.     Return lists can include structure elements:
  120.  
  121.       octave:1> [x.u, x.s, x.v] = svd ([1, 2; 3, 4])
  122.       x.u =
  123.  
  124.     -0.40455  -0.91451
  125.     -0.91451   0.40455
  126.  
  127.       x.s =
  128.  
  129.     5.46499  0.00000
  130.     0.00000  0.36597
  131.  
  132.       x.v =
  133.  
  134.     -0.57605   0.81742
  135.     -0.81742  -0.57605
  136.  
  137.       octave:8> x
  138.       x =
  139.  
  140.       <structure: s u v>
  141.  
  142.     This feature should be considered experimental, but it seems to
  143.     work ok.  Suggestions for ways to improve it are welcome.
  144.  
  145.   * Octave now supports a limited form of exception handling modelled
  146.     after the unwind-protect form of Lisp:
  147.  
  148.       unwind_protect
  149.         BODY
  150.       unwind_protect_cleanup
  151.         CLEANUP
  152.       end_unwind_protect
  153.  
  154.     Where BODY and CLEANUP are both optional and may contain any
  155.     Octave expressions or commands.  The statements in CLEANUP are
  156.     guaranteed to be executed regardless of how control exits BODY.
  157.  
  158.     This is useful to protect temporary changes to global variables
  159.     from possible errors.  For example, the following code will always
  160.     restore the original value of the built-in variable
  161.     do_fortran_indexing even if an error occurs while performing the
  162.     indexing operation.
  163.  
  164.       save_do_fortran_indexing = do_fortran_indexing;
  165.       unwind_protect
  166.         do_fortran_indexing = "true";
  167.         elt = a (idx)
  168.       unwind_protect_cleanup
  169.         do_fortran_indexing = save_do_fortran_indexing;
  170.       end_unwind_protect
  171.  
  172.     Without unwind_protect, the value of do_fortran_indexing would not
  173.     be restored if an error occurs while performing the indexing
  174.     operation because evaluation would stop at the point of the error
  175.     and the statement to restore the value would not be executed.
  176.  
  177.   * Recursive directory searching has been implemented using Karl
  178.     Berry's kpathsea library.  Directories below path elements that
  179.     end in // are searched recursively for .m files.
  180.  
  181.   * Octave now waits for additional input when a pair of parentheses
  182.     is `open' instead of giving an error.  This allows one to write
  183.     statements like this
  184.  
  185.       if (big_long_variable_name == other_long_variable_name
  186.           || not_so_short_variable_name > 4
  187.           && y > x)
  188.         some (code, here);
  189.  
  190.     without having to clutter up the if statement with continuation
  191.     characters.
  192.  
  193.   * Continuation lines are now allowed in string constants and are
  194.     handled correctly inside matrix constants.
  195.  
  196.   * Both `...{whitespace}\n' and `\{whitespace}\n' can be used to
  197.     introduce continuation lines, where {whitespace} may include
  198.     spaces, tabs and comemnts.
  199.  
  200.   * The script directory has been split up by topic.
  201.  
  202.   * Dynamic linking mostly works with dld.  The following limitations
  203.     are known problems:
  204.  
  205.     -- Clearing dynamically linked functions doesn't work.
  206.  
  207.     -- Dynamic linking only works with dld, which has not been ported
  208.        to very many systems yet.
  209.  
  210.     -- Configuring with --enable-lite-kernel seems to mostly work to
  211.        make nonessential built-in functions dynamically loaded, but
  212.        there also seem to be some problems.  For example, fsolve seems
  213.        to always return info == 3.  This is difficult to debug since
  214.        gdb won't seem to allow breakpoints to be set inside
  215.        dynamically loaded functions.
  216.  
  217.     -- Octave uses a lot of memory if the dynamically linked functions
  218.        are compiled with -g.  This appears to be a limitation with
  219.        dld, and can be avoided by not using -g to compile functions
  220.        that will be linked dynamically.
  221.  
  222.   * fft2 and ifft2 are now built-in functions.
  223.  
  224.   * The `&&' and `||' logical operators are now evaluated in a
  225.     short-circuit fashion and work differently than the element by
  226.     element operators `&' and `|'.  See the Octave manual for more
  227.     details.
  228.  
  229.   * Expressions like 1./m are now parsed as 1 ./ m, not 1. / m.
  230.  
  231.   * The replot command now takes the same arguments as gplot or
  232.     gsplot (except ranges, which cannot be respecified with replot
  233.     (yet)) so you can add additional lines to existing plots.
  234.  
  235.   * The hold command has been implemented.
  236.  
  237.   * New function `clearplot' clears the plot window.  The name `clg'
  238.     is aliased to `clearplot' for compatibility with Matlab.
  239.  
  240.   * The commands `gplot clear' and `gsplot clear' are equivalent to
  241.     `clearplot'.  (Previously, `gplot clear' would evaluate `clear' as
  242.     an ordinary expression and clear all the visible variables.)
  243.  
  244.   * The Matlab-style plotting commands have been improved.  They now
  245.     accept line-style arguments, multiple x-y pairs, and other plot
  246.     option flags.  For example,
  247.  
  248.       plot (x, y, "@12", x, y2, x, y3, "4", x, y4, "+")
  249.  
  250.     results in a plot with
  251.  
  252.       y  plotted with points of type 2 ("+") and color 1 (red).
  253.       y2 plotted with lines.
  254.       y3 plotted with lines of color 4.
  255.       y4 plotted with points which are "+"s.
  256.  
  257.     the help message for `plot' and `plot_opt' provide full
  258.     descriptions of the options.
  259.  
  260.   * NaN is now dropped from plot data, and Inf is converted to a
  261.     very large value before calling gnuplot.
  262.  
  263.   * Improved load and save commands:
  264.  
  265.     -- The save and load commands can now read and write a new binary
  266.        file format.  Conversion to and from IEEE big and little endian
  267.        formats is handled automatically.  Conversion for other formats
  268.        has not yet been implemented.
  269.  
  270.     -- The load command can now read Matlab .mat files, though it is
  271.        not yet able to read sparse matrices or handle conversion for
  272.        all data formats.
  273.  
  274.     -- The save command can write Matlab .mat files.
  275.  
  276.     -- The load command automatically determines the save format
  277.        (binary, ascii, or Matlab binary).
  278.  
  279.     -- The default format for the save command is taken from the
  280.        built-in variable `default_save_format'.
  281.  
  282.     -- The save and load commands now both accept a list of globbing
  283.        patterns so you can easily load a list of variables from a
  284.        file.
  285.  
  286.     -- The load command now accepts the option -list, for listing the
  287.        variable names without actually loading the data.  With
  288.        -verbose, it prints a long listing.
  289.  
  290.     -- The load command now accepts the option -float-binary, for
  291.        saving floating point data in binary files in single precision.
  292.  
  293.   * who and whos now accept a list of globbing patterns so you can
  294.     limit the lists of variables and functions to those that match a
  295.     given set of patterns.
  296.  
  297.   * New functions for manipulating polynomials
  298.       
  299.       compan     -- companion matrix corresponding to polynomial coefficients
  300.       conv       -- convolve two vectors
  301.       deconv     -- deconvolve two vectors
  302.       roots      -- find the roots of a polynomial
  303.       poly       -- characteristic polynomial of a matrix
  304.       polyderiv  -- differentiate a polynomial
  305.       polyinteg  -- integrate a polynomial
  306.       polyreduce -- reduce a polynomial to minimum number of terms
  307.       polyval    -- evaluate a polynomial at a point
  308.       polyvalm   -- evaluate a polynomial in the matrix sense
  309.       residue    -- partial fraction expansion corresponding to the ratio
  310.                     of two polynomials
  311.  
  312.   * New functions for manipulating sets
  313.  
  314.       create_set   -- create a set of unique values
  315.       complement   -- find the complement of two sets
  316.       intersection -- find the intersection of two sets
  317.       union        -- find the union of two sets
  318.  
  319.   * New elementary functions:
  320.  
  321.       acot   acoth   acsc   acsch
  322.       asec   asech   cot    coth
  323.       csc    csch    log2   sec
  324.       sech
  325.  
  326.   * New special functions:
  327.  
  328.       beta   -- beta function
  329.       betai  -- incomplete beta function
  330.       gammai -- incomplete gamma function
  331.  
  332.   * New image processing functions:
  333.  
  334.       colormap  -- set and return current colormap
  335.       gray      -- set a gray colormap
  336.       gray2ind  -- image format conversion
  337.       image     -- display an image
  338.       imagesc   -- scale and display an image
  339.       imshow    -- display images
  340.       ind2gray  -- image format conversion
  341.       ind2rgb   -- image format conversion
  342.       loadimage -- load an image from a file
  343.       ntsc2rgb  -- image format conversion
  344.       ocean     -- set a color colormap
  345.       rgb2ind   -- image format conversion
  346.       rgb2ntsc  -- image format conversion
  347.       saveimage -- save an image to a file
  348.  
  349.   * New time and date funcitons:
  350.  
  351.       tic          -- set wall-clock timer
  352.       toc          -- get elapsed wall-clock time, since timer last set
  353.       etime        -- another way to get elapsed wall-clock time
  354.       cputime      -- get CPU time used since Octave started
  355.       is_leap_year -- is the given year a leap year?
  356.  
  357.   * Other new functions:
  358.  
  359.       bug_report -- submit a bug report to the bug-octave mailing list
  360.  
  361.       toascii -- convert a string to a matrix of ASCII character codes
  362.  
  363.       octave_tmp_file -- generate a unique temporary file name
  364.  
  365.       undo_string_escapes -- replace special characters in a string by
  366.                              their backslash forms
  367.  
  368.       is_struct -- determine whether something is a structure data type
  369.  
  370.       feof   -- check EOF condition for a specified file
  371.       ferror -- check error state for a specified file
  372.       fread  -- read binary data from a file
  373.       fwrite -- write binary data to a file
  374.  
  375.       file_in_path -- check to see if named file exists in given path
  376.  
  377.       kbhit  -- get a single character from the terminal
  378.  
  379.       axis   -- change plot ranges
  380.       hist   -- plot histograms
  381.  
  382.       diary  -- save commands and output to a file
  383.  
  384.       type   -- show the definition of a function
  385.       which  -- print the type of an identifier or the location of a
  386.                 function file
  387.  
  388.       isieee  -- Returns 1 if host uses IEEE floating point
  389.       realmax -- Returns largest floating point number
  390.       realmin -- Returns smallest floating point number
  391.  
  392.       gcd     -- greatest common divisor
  393.       lcm     -- least common multiple
  394.  
  395.       null    -- orthonormal basis of the null space of a matrix
  396.       orth    -- orthonormal basis of the range space of a matrix
  397.  
  398.       fft2    -- two-dimensional fast fourier transform
  399.       ifft2   -- two-dimensional inverse fast fourier transform
  400.       filter  -- digital filter
  401.       fftfilt -- filter using fft
  402.       fftconv -- convolve to vectors using fft
  403.       sinc    -- returns sin(pi*x)/(pi*x)
  404.       freqz   -- compute the frequency response of a filter
  405.  
  406.   * The meaning of nargin (== args.length ()) in built-in functions
  407.     has been changed to match the meaning of nargin in user-defined
  408.     functions.
  409.  
  410.   * Variable return lists.  Octave now has a real mechanism for
  411.     handling functions that return an unspecified number of values,
  412.     so it is no longer necessary to place an upper bound on the number
  413.     of outputs that a function can produce.
  414.  
  415.     Here is an example of a function that uses the new syntax to
  416.     produce n values:
  417.  
  418.       function [...] = foo (n)
  419.         for i = 1:n
  420.           vr_val (i * x);
  421.         endfor
  422.       endfunction
  423.  
  424.   * New keyword, all_va_args, that allows the entire list of va_args
  425.     to be passed to another function.  For example, given the functions
  426.  
  427.       function f (...)
  428.         while (nargin--)
  429.           disp (va_arg ())
  430.         endwhile
  431.       endfunction
  432.       function g (...)
  433.         f ("begin", all_va_args, "end")
  434.       endfunction
  435.  
  436.     the statement
  437.  
  438.       g (1, 2, 3)
  439.  
  440.     prints
  441.  
  442.       begin
  443.       1
  444.       2
  445.       3
  446.       end
  447.  
  448.     all_va_args may be used more than once, but can only be used
  449.     within functions that take a variable number of arguments.
  450.  
  451.   * If given a second argument, svd now returns an economy-sized
  452.     decomposition, eliminating the unecessary rows or columns of U or
  453.     V.
  454.  
  455.   * The max and min functions correctly handle complex matrices in
  456.     which some columns contain real values only.
  457.  
  458.   * The find function now handles 2 and 3 output arguments.
  459.  
  460.   * The qr function now allows computation of QR with pivoting.
  461.  
  462.   * hilb() is much faster for large matrices.
  463.  
  464.   * computer() is now a built-in function.
  465.  
  466.   * pinv() is now a built-in function.
  467.  
  468.   * The output from the history command now goes through the pager.
  469.  
  470.   * If a function is called without assigning the result, nargout is
  471.     now correctly set to 0.
  472.  
  473.   * It is now possible to write functions that only set some return
  474.     values.  For example, calling the function
  475.  
  476.       function [x, y, z] = f () x = 1; z = 2; endfunction
  477.  
  478.     as
  479.  
  480.       [a, b, c] = f ()
  481.  
  482.     produces:
  483.  
  484.       a = 1
  485.  
  486.       b = [](0x0)
  487.  
  488.       c = 2
  489.  
  490.   * The shell_cmd function has been renamed to system (the name
  491.     shell_cmd remains for compatibility).  It now returns [output, status].
  492.  
  493.   * New built-in variable `OCTAVE_VERSION'.  Also a new function,
  494.     version, for compatibility with Matlab.
  495.  
  496.   * New built-in variable `automatic_replot'.  If it is "true", Octave
  497.     will automatically send a replot command to gnuplot each time the
  498.     plot changes.  Since this is fairly inefficient, the default value
  499.     is "false".
  500.  
  501.   * New built-in variable `whitespace_in_literal_matrix' allows some
  502.     control over how Octave decides to convert spaces to commas in
  503.     matrix expressions like `[m (1)]'.
  504.  
  505.     If the value of `whitespace_in_literal_matrix' is "ignore", Octave
  506.     will never insert a comma or a semicolon in a literal matrix list.
  507.     For example, the expression `[1 2]' will result in an error
  508.     instead of being treated the same as `[1, 2]', and the expression
  509.  
  510.       [ 1, 2,
  511.         3, 4 ]
  512.  
  513.     will result in the vector [1 2 3 4] instead of a matrix.
  514.  
  515.     If the value of `whitespace_in_literal_matrix' is "traditional",
  516.     Octave will convert spaces to a comma between identifiers and `('.
  517.     For example, given the matrix
  518.  
  519.       m = [3 2]
  520.  
  521.     the expression
  522.  
  523.       [m (1)]
  524.  
  525.     will be parsed as
  526.  
  527.       [m, (1)]
  528.  
  529.     and will result in
  530.  
  531.       [3 2 1]
  532.  
  533.     and the expression
  534.  
  535.       [ 1, 2,
  536.         3, 4 ]
  537.  
  538.     will result in a matrix because the newline character is converted
  539.     to a semicolon (row separator) even though there is a comma at the
  540.     end of the first line (trailing commas or semicolons are ignored).
  541.     This is apparently how Matlab behaves.
  542.  
  543.     Any other value for `whitespace_in_literal_matrix' results in
  544.     behavior that is the same as traditional, except that Octave does
  545.     not convert spaces to a comma between identifiers and `('.
  546.     For example, the expression
  547.  
  548.       [m (1)]
  549.  
  550.     will produce 3.  This is the way Octave has always behaved.
  551.  
  552.   * Line numbers in error messages for functions defined in files and
  553.     for script files now correspond to the file line number, not the
  554.     number of lines after the function keyword appeared.
  555.  
  556.   * Octave now extracts help from script files.  The comments must
  557.     come before any other statements in the file.
  558.  
  559.   * In function files, the first block of comments in the file will
  560.     now be interpreted as the help text if it doesn't look like the
  561.     Octave copyright notice.  Otherwise, Octave extracts the first set
  562.     of comments after the function keyword.
  563.  
  564.   * The function clock is more accurate on systems that have the
  565.     gettimeofday() function.
  566.  
  567.   * The standard output stream is now automatically flushed before
  568.     reading from stdin with any of the *scanf() functions.
  569.  
  570.   * Expanded reference card.
  571.  
  572.   * The Octave distribution now includes a frequently asked questions
  573.     file, with answers.  Better answers and more questions (with
  574.     answers!) are welcome.
  575.  
  576.   * New option --verbose.  If Octave is invoked with --verbose and not
  577.     --silent, a message is printed if an octaverc file is read while
  578.     Octave is starting.
  579.  
  580.   * An improved configure script generated by Autoconf 2.0.
  581.  
  582.   * Lots of bug fixes.
  583.  
  584. Summary of changes for version 1.0:
  585. ----------------------------------
  586.  
  587.   * C-style I/O functions now handle files referenced by name or by
  588.     number more consistently.
  589.  
  590. Summary of changes for version 0.83:
  591. -----------------------------------
  592.  
  593.   * Loading global symbols should work now.
  594.  
  595.   * Clearing the screen doesn't reprint the prompt unnecessarily.
  596.  
  597.   * The operations <complex scalar> OP <real matrix> for OP == +, -,
  598.     *, or ./ no longer crash Octave.
  599.  
  600.   * More portability and configuration fixes.
  601.  
  602. Summary of changes for version 0.82:
  603. -----------------------------------
  604.  
  605.   * Octave now comes with a reference card.
  606.  
  607.   * The manual has been improved, but more work remains to be done.
  608.  
  609.   * The atanh function now works for complex arguments.
  610.  
  611.   * The asin, acos, acosh, and atanh functions now work properly when
  612.     given real-valued arguments that produce complex results.
  613.  
  614.   * SEEK_SET, SEEK_CUR, and SEEK_END are now constants.
  615.  
  616.   * The `using' qualifier now works with gplot and gsplot when the
  617.     data to plot is coming directly from a file.
  618.  
  619.   * The strcmp function now works correctly for empty strings.
  620.  
  621.   * Eliminated bogus parse error for M-files that don't end with `end'
  622.     or `endfunction'.
  623.  
  624.   * For empty matrices with one nonzero dimension, the +, -, .*, and
  625.     ./ operators now correctly preserve the dimension.
  626.  
  627.   * Octave no longer crashes if you type ^D at the beginning of a line
  628.     in the middle of defining a loop or if statement.
  629.  
  630.   * On AIX systems, Back off on indexing DiagArray via Proxy class to
  631.     avoid gcc (or possibly AIX assembler?) bug. 
  632.  
  633.   * Various other bug and portability fixes.
  634.  
  635. Summary of changes for version 0.81:
  636. -----------------------------------
  637.  
  638.   * Octave no longer dumps core if you try to define a function in
  639.     your .octaverc file.
  640.  
  641.   * Fixed bug in Array class that resulted in bogus off-diagonal
  642.     elements when computing eigenvalue and singular value
  643.     decompositions.
  644.  
  645.   * Fixed bug that prevented lsode from working on the SPARCstation,
  646.     at least with some versions of Sun's f77.  This bug was introduced
  647.     in 0.80, when I changed LSODE to allow the user to abort the
  648.     integration from within the RHS function.
  649.  
  650.   * Fixed bug that prevented global attribute of variables from being
  651.     saved with save(), and another that prevented load() from working
  652.     at all.
  653.  
  654. Summary of changes for version 0.80:
  655. -----------------------------------
  656.  
  657.   * I have started working on a manual for the C++ classes.  At this
  658.     point, it is little more than a list of function names.  If you
  659.     would like to volunteer to help work on this, please contact
  660.     bug-octave@che.utexas.edu.
  661.  
  662.   * The patterns accepted by the save and clear commands now work like
  663.     file name globbing patterns instead of regular expressions.  I
  664.     apologize for any inconvenience this change may cause, but file
  665.     name globbing seems like a more reasonable style of pattern
  666.     matching for this purpose.
  667.  
  668.   * It is now possible to specify tolerances and other optional inputs
  669.     for dassl, fsolve, lsode, npsol, qpsol, and quad.  For each of
  670.     these functions, there is a corresponding function X_options,
  671.     which takes a keyword and value arguments.  If invoked without any
  672.     arguments, the X_options functions print a list of possible
  673.     keywords and current values.  For example,
  674.  
  675.       npsol_options ()
  676.  
  677.     prints a list of possible options with values, and
  678.  
  679.       npsol_options ("major print level", 10)
  680.  
  681.     sets the major print level to 10.
  682.  
  683.     The keyword match is not case sensitive, and the keywords may be
  684.     abbreviated to the shortest unique match.  For example,
  685.  
  686.       npsol_options ("ma p", 10)
  687.  
  688.     is equivalent to the statement shown above.
  689.  
  690.   * The new built-in variable save_precision can be used to set the
  691.     number of digits preserved by the ASCII save command.
  692.  
  693.   * Assignment of [] now works in most cases to allow you to delete
  694.     rows or columns of matrices and vectors.  For example, given a
  695.     4x5 matrix A, the assignment
  696.  
  697.       A (3, :) = []
  698.  
  699.     deletes the third row of A, and the assignment
  700.  
  701.       A (:, 1:2:5) = []
  702.  
  703.     deletes the first, third, and fifth columns.
  704.  
  705.   * Variable argument lists.  Octave now has a real mechanism for
  706.     handling functions that take an unspecified number of arguments,
  707.     so it is no longer necessary to place an upper bound on the number
  708.     of optional arguments that a function can accept.
  709.  
  710.     Here is an example of a function that uses the new syntax to print
  711.     a header followed by an unspecified number of values:
  712.  
  713.       function foo (heading, ...)
  714.         disp (heading);
  715.         va_start ();
  716.         while (--nargin)
  717.           disp (va_arg ());
  718.         endwhile
  719.       endfunction
  720.  
  721.     Note that the argument list must contain at least one named
  722.     argument (this restriction may eventually be removed), and the
  723.     ellipsis must appear as the last element of the argument list.
  724.  
  725.     Calling va_start() positions an internal pointer to the first
  726.     unnamed argument and allows you to cycle through the arguments
  727.     more than once.  It is not necessary to call va_start() if you
  728.     do not plan to cycle through the arguments more than once.
  729.  
  730.   * Recursive functions should work now.
  731.  
  732.   * The environment variable OCTAVE_PATH is now handled in the same
  733.     way as TeX handles TEXINPUTS.  If the path starts with `:', the
  734.     standard path is prepended to the value obtained from the
  735.     environment.  If it ends with `:' the standard path is appended to
  736.     the value obtained from the environment.
  737.  
  738.   * New functions, from Kurt Hornik (hornik@neuro.tuwien.ac.at) and
  739.     the Department of Probability Theory and Statistics TU Wien,
  740.     Austria:
  741.  
  742.      corrcoef    -- corrcoef (X, Y) is the correlation between the i-th
  743.             variable in X and the j-th variable in Y
  744.             corrcoef (X) is corrcoef (X, X)
  745.      cov         -- cov (X, Y) is the covariance between the i-th
  746.             variable in X and the j-th variable in Y
  747.             cov (X) is cov (X, X)
  748.      gls         -- generalized least squares estimation
  749.      kurtosis    -- kurtosis(x) = N^(-1) std(x)^(-4) SUM_i (x(i)-mean(x))^4 - 3
  750.             If x is a matrix, return the row vector containing
  751.             the kurtosis of each column
  752.      mahalanobis -- returns Mahalanobis' D-square distance between the
  753.             multivariate samples X and Y, which must have the
  754.             same number of components (columns), but may have
  755.             a different number of observations (rows)
  756.      ols         -- ordinary least squares estimation
  757.      pinv        -- returns the pseudoinverse of X; singular values
  758.             less than tol are ignored
  759.      skewness    -- skewness (x) = N^(-1) std(x)^(-3) SUM_i (x(i)-mean(x))^3
  760.             if x is a matrix, return the row vector containing
  761.             the skewness of each column
  762.  
  763.   * Errors in user-supplied functions called from dassl, fsolve,
  764.     lsode, npsol, and quad are handled more gracefully.
  765.  
  766.   * Programming errors in the use of the C++ classes within Octave
  767.     should no longer cause Octave to abort.  Instead, Octave's error
  768.     handler function is called and execution continues as best as is
  769.     possible.  This should result in eventually returning control to
  770.     the top-level Octave prompt.  (It would be nice to have a real
  771.     exception handling mechanism...)
  772.  
  773.   * A number of memory leaks have been eliminated.  Thanks to
  774.     Fong Kin Fui <fui@ee.nus.sg> for reporting them.
  775.  
  776.   * The C++ matrix classes are now derived from a generic
  777.     template-based array class.
  778.  
  779.   * The readline function operate-and-get-next (from bash) is now
  780.     available and bound to C-O by default.
  781.  
  782.   * Octave now uses the version of readline currently distributed with
  783.     bash-1.13.  On some systems, interactive invocations of Octave
  784.     will now blink the cursor to show matching parens.
  785.  
  786.   * By default, include files are now installed in
  787.     $prefix/include/octave instead of $prefix/include.
  788.  
  789.   * Octave now uses a config.h file instead of putting all defines on
  790.     the compiler command line.
  791.  
  792. Summary of changes for version 0.79:
  793. -----------------------------------
  794.  
  795.   * New control systems functions:
  796.  
  797.      dgram -- Returns the discrete controllability and observability gramian.
  798.      dlqr  -- Discrete linear quadratic regulator design.
  799.      dlqe  -- Discrete linear quadratic estimator (Kalman Filter) design.
  800.      c2d   -- Convert continuous system description to discrete time
  801.               description assuming zero-order hold and given sample time.
  802.  
  803.   * The max (min) functions can now return the index of the max (min)
  804.     value as a second return value.
  805.  
  806. Summary of changes for version 0.78:
  807. -----------------------------------
  808.  
  809.   * Octave's handling of global variables has been completely
  810.     rewritten.  To access global variables inside a function, you must
  811.     now declare them to be global within the function body.  Likewise,
  812.     if you do not declare a variable as global at the command line,
  813.     you will not have access to it within a function, even if it is
  814.     declared global there.  For example, given the function
  815.  
  816.       function f ()
  817.         global x = 1;
  818.         y = 2;
  819.       endfunction
  820.  
  821.     the global variable `x' is not visible at the top level until the
  822.     command
  823.  
  824.       octave:13> global x
  825.  
  826.     has been evaluated, and the variable `y' remains local to the
  827.     function f() even if it is declared global at the top level.
  828.  
  829.     Clearing a global variable at the top level will remove its global
  830.     scope and leave it undefined.  For example,
  831.  
  832.       octave:1> function f ()   # Define a function that accesses
  833.       >  global x;              #   the global variable `x'.
  834.       >  x
  835.       > endfunction
  836.       octave:2> global x = 1    # Give the variable `x' a value.
  837.       octave:3> f ()            # Evaluating the function accesses the
  838.       x = 1                     #   global `x'.
  839.       octave:4> clear x         # Remove `x' from global scope, clear value.
  840.       octave:5> x = 2           # Define new local `x' at the top level
  841.       x = 2
  842.       octave:6> f               # The global `x' is no longer defined.
  843.       error: `x' undefined near line 1 column 25
  844.       error: evaluating expression near line 1, column 25
  845.       error: called from `f'
  846.       octave:7> x               # But the local one is.
  847.       x = 2
  848.  
  849.   * The new function, `is_global (string)' returns 1 if the variable
  850.     named by string is globally visible.  Otherwise, returns 0.
  851.  
  852.   * The implementation of `who' has changed.  It now accepts the
  853.     following options:
  854.  
  855.       -b -builtins   -- display info for built-in variables and functions
  856.       -f -functions  -- display info for currently compiled functions
  857.       -v -variables  -- display info for user variables
  858.       -l -long       -- display long info
  859.  
  860.     The long output looks like this:
  861.  
  862.       octave:5> who -l
  863.  
  864.       *** currently compiled functions:
  865.  
  866.       prot  type               rows   cols  name
  867.       ====  ====               ====   ====  ====
  868.        wd   user function         -      -  f
  869.  
  870.       *** local user variables:
  871.  
  872.       prot  type               rows   cols  name
  873.       ====  ====               ====   ====  ====
  874.        wd   real scalar           1      1  y
  875.  
  876.       *** globally visible user variables:
  877.  
  878.       prot  type               rows   cols  name
  879.       ====  ====               ====   ====  ====
  880.        wd   complex matrix       13     13  x
  881.  
  882.     where the first character of the `protection' field is `w' if the
  883.     symbol can be redefined, and `-' if it has read-only access.  The
  884.     second character may be `d' if the symbol can be deleted, or `-'
  885.     if the symbol cannot be cleared.
  886.  
  887.   * The new built-in variable ignore_function_time_stamp can be used
  888.     to prevent Octave from calling stat() each time it looks up
  889.     functions defined in M-files.  If set to "system", Octave will not
  890.     automatically recompile M-files in subdirectories of
  891.     $OCTAVE_HOME/lib/VERSION if they have changed since they were last
  892.     compiled, but will recompile other M-files in the LOADPATH if they
  893.     change.  If set to "all", Octave will not recompile any M-files
  894.     unless their definitions are removed with clear.  For any other
  895.     value of ignore_function_time_stamp, Octave will always check to
  896.     see if functions defined in M-files need to recompiled.  The
  897.     default value of ignore_function_time_stamp is "system".
  898.  
  899.   * The new built-in variable EDITOR can be used to specify the editor
  900.     for the edit_history command.  It is set to the value of the
  901.     environment variable EDITOR, or `vi' if EDITOR is not set, or is
  902.     empty.
  903.  
  904.   * There is a new built-in variable, INFO_FILE, which is used as the
  905.     location of the info file.  Its initial value is
  906.     $OCTAVE_HOME/info/octave.info, so `help -i' should now work
  907.     provided that OCTAVE_HOME is set correctly, even if Octave is
  908.     installed in a directory different from that specified at compile
  909.     time.
  910.  
  911.   * There is a new command line option, --info-file FILE, that may be
  912.     used to set Octave's idea of the location of the info file.  It
  913.     will override any value of OCTAVE_INFO_FILE found in the
  914.     environment, but not any INFO_FILE="filename" commands found in
  915.     the system or user startup files. 
  916.  
  917.   * Octave's Info reader will now recognize gzipped files that have
  918.     names ending in `.gz'.
  919.  
  920.   * The save command now accepts regular expressions as arguments.
  921.     Note that these patterns are regular expressions, and do not work
  922.     like filename globbing.  For example, given the variables `a',
  923.     `aa', and `a1', the command `save a*' saves `a' and `aa' but not
  924.     `a1'.  To match all variables beginning with `a', you must use an
  925.     expression like `a.*' (match all sequences beginning with `a'
  926.     followed by zero or more characters).
  927.  
  928.   * Line and column information is included in more error messages.
  929.  
  930. Summary of changes for version 0.77:
  931. -----------------------------------
  932.  
  933.   * Improved help.  The command `help -i topic' now uses the GNU Info
  934.     browser to display help for the given topic directly from the
  935.     Texinfo documenation.
  936.  
  937.   * New function: chol -- Cholesky factorization.
  938.  
  939. Summary of changes for version 0.76:
  940. -----------------------------------
  941.  
  942.   * Better run-time error messages.  Many now include line and column
  943.     information indicating where the error occurred.  Octave will also
  944.     print a traceback for errors occurring inside functions. If you
  945.     find error messages that could use improvement, or errors that
  946.     Octave fails to catch, please send a bug report to
  947.     bug-octave@che.utexas.edu.
  948.  
  949.   * If gplot (or gsplot) is given a string to plot, and the string
  950.     does not name a file, Octave will pass the string along to gnuplot
  951.     directly.  This allows commands like
  952.  
  953.       gplot "sin (x)" w l, data w p
  954.  
  955.     to work (assuming that data is a variable containing a matrix of
  956.     values).
  957.  
  958.   * Long options (--help, --version, etc.) are supported.
  959.  
  960. Summary of changes for version 0.75:
  961. -----------------------------------
  962.  
  963.   * The documentation is much more complete, but still could use a lot
  964.     of work.
  965.  
  966.   * The history function now prints line numbers by default.  The
  967.     command `history -q' will  omit them.
  968.  
  969.   * The clear function now accepts regular expressions.
  970.  
  971.   * If gplot (or gsplot) is given a string to plot, and the string
  972.     names a file, Octave attempts to plot the contents of the file.
  973.  
  974.   * New functions:
  975.  
  976.     history:
  977.  
  978.       run_history  -- run commands from the history list.
  979.       edit_history -- edit commands from the history list with your
  980.                       favorite editor.
  981.  
  982.     linear algebra:
  983.  
  984.       balance         -- Balancing for algebraic and generalized
  985.              eigenvalue problems.
  986.       givens          -- Givens rotation.
  987.       is_square       -- Check to see if a matrix is square.
  988.       qzhess          -- QZ decomposition of the matrix pencil (a - lambda b).
  989.       qzval           -- Generalized eigenvalues for real matrices.
  990.       syl             -- Sylvester equation solver.
  991.  
  992.     control systems:
  993.  
  994.       is_symmetric    -- Check to see if a matrix is symmetric.
  995.       abcddim         -- Check dimensions of linear dynamic system [A,B,C,D].
  996.       is_controllable -- Check to see if [A,B,C,D] is controllable.
  997.       is_observable   -- Check to see if [A,B,C,D] is observable.
  998.       are             -- Solve algebraic Ricatti equation.
  999.       dare            -- Solve discrete-time algebraic Ricatti equation.
  1000.       lqe             -- Kalman filter design for continuous linear system.
  1001.       lqr             -- Linear Quadratic Regulator design.
  1002.       lyap            -- Solve Lyapunov equation.
  1003.       dlyap           -- Solve discrete Lyapunov equation.
  1004.       tzero           -- Compute the transmission zeros of [A,B,C,D].
  1005.  
  1006. Summary of changes for version 0.74:
  1007. -----------------------------------
  1008.  
  1009.   * Formal parameters to functions are now always considered to be
  1010.     local variables, so things like
  1011.  
  1012.       global x = 0
  1013.       global y = 0
  1014.       function y = f (x) x = 1; y = x; end
  1015.       f (x)
  1016.  
  1017.     result in the function returning 1, with the global values of x
  1018.     and y unchanged.
  1019.  
  1020.   * Multiple assignment expressions are now allowed to take indices,
  1021.     so things like
  1022.  
  1023.       octave:13> [a([1,2],[3,4]), b([5,6],[7,8])] = lu ([1,2;3,4])
  1024.  
  1025.     will work correctly.
  1026.  
  1027. Summary of changes for version 0.73:
  1028. -----------------------------------
  1029.  
  1030.   * Saving and loading global variables works correctly now.
  1031.  
  1032.   * The save command no longer saves built-in variables.
  1033.  
  1034.   * Global variables are more reliable.
  1035.  
  1036.   * Matrices may now have one or both dimensions zero, so that
  1037.     operations on empty matrices are now handled more consistently.
  1038.  
  1039.     By default, dimensions of the empty matrix are now printed along
  1040.     with the empty matrix symbol, `[]'.  For example:
  1041.  
  1042.       octave:13> zeros (3, 0)
  1043.       ans = 
  1044.  
  1045.       [](3x0)
  1046.  
  1047.     The new variable `print_empty_dimensions' controls this behavior.
  1048.     
  1049.     See also Carl de Boor, An Empty Exercise, SIGNUM, Volume 25,
  1050.     pages 2--6, 1990, or C. N. Nett and W. M. Haddad, A
  1051.     System-Theoretic Appropriate Realization of the Empty Matrix
  1052.     Concept, IEEE Transactions on Automatic Control, Volume 38,
  1053.     Number 5, May 1993.
  1054.  
  1055.   * The right and left division operators `/' and `\' will now find a
  1056.     minimum norm solution if the system is not square, or if the
  1057.     coefficient matrix is singular.
  1058.  
  1059.   * New functions:
  1060.  
  1061.       hess   -- Hessenberg decomposition
  1062.       schur  -- Ordered Schur factorization
  1063.       perror -- print error messages corresponding to error codes
  1064.                 returned from the functions fsolve, npsol, and qpsol
  1065.                 (with others to possibly be added later).
  1066.  
  1067.   * Octave now prints a warning if it finds anything other than
  1068.     whitespace or comments after the final `end' or `endfunction'
  1069.     statement.
  1070.  
  1071.   * The bodies of functions, and the for, while, and if commands are
  1072.     now allowed to be empty.
  1073.  
  1074.   * Support for Gill and Murray's QPSOL has been added.  Like NPSOL,
  1075.     QPSOL is not freely redistributable either, so you must obtain
  1076.     your own copy to be able to use this feature.  More information
  1077.     about where to find QPSOL and NPSOL are in the file README.NLP.
  1078.  
  1079. Summary of changes for version 0.72:
  1080. -----------------------------------
  1081.  
  1082.   * For numeric output, columns are now lined up on the decimal point.
  1083.     (This requires libg++-2.3.1 or later to work correctly).
  1084.  
  1085.   * If octave is running interactively and the output intended for the
  1086.     screen is longer than one page and a pager is available, it is
  1087.     sent to the pager through a pipe.  You may specify the program to
  1088.     use as the pager by setting the variable PAGER.  PAGER may also
  1089.     specify a command pipeline.
  1090.  
  1091.   * Spaces are not always significant inside square brackets now, so
  1092.     commands like
  1093.  
  1094.       [ linspace (1, 2) ]
  1095.  
  1096.     will work.  However, some possible sources of confusion remain
  1097.     because Octave tries (possibly too hard) to determine exactly what
  1098.     operation is intended from the context surrounding an operator.
  1099.     For example:
  1100.  
  1101.     -- In the command 
  1102.  
  1103.      [ 1 - 1 ]
  1104.  
  1105.        the `-' is treated as a binary operator and the result is the
  1106.        scalar 0, but in the command
  1107.  
  1108.      [ 1 -1 ]
  1109.  
  1110.        the `-' is treated as a unary operator and the result is the
  1111.        vector [ 1 -1 ].
  1112.  
  1113.     -- In the command
  1114.  
  1115.      a = 1; [ 1 a' ]
  1116.  
  1117.        the single quote character `'' is treated as a transpose operator
  1118.        and the result is the vector [ 1 1 ], but in the command
  1119.  
  1120.      a = 1; [ 1 a ' ]
  1121.  
  1122.        an error message indicating an unterminated string constant is
  1123.        printed.
  1124.  
  1125.   * Assignments are just expressions now, so they are valid anywhere
  1126.     other expressions are.  This means that things like
  1127.  
  1128.       if (a = n < m) ... endif
  1129.  
  1130.     are valid.  This is parsed as:  compare `n < m', assign the result
  1131.     to the variable `a', and use it as the test expression in the if
  1132.     statement.
  1133.  
  1134.     To help avoid errors where `=' has been used but `==' was
  1135.     intended, Octave issues a warning suggesting parenthesis around
  1136.     assignments used as truth values.  You can suppress this warning
  1137.     by adding parenthesis, or by setting the value of the new built-in
  1138.     variable `warn_assign_as_truth_value' to 'false' (the default
  1139.     value is 'true').
  1140.  
  1141.     This is also true for multiple assignments, so expressions like
  1142.  
  1143.       [a, b, c] = [u, s, v] = expression
  1144.  
  1145.     are now possible.  If the expression is a function, nargout is set
  1146.     to the number of arguments for the right-most assignment.  The
  1147.     other assignments need not contain the same number of elements.
  1148.     Extra left hand side variables in an assignment become undefined.
  1149.  
  1150.   * The default line style for plots is now `lines' instead of
  1151.     `points'.  To change it, use the `set data style STYLE' command.
  1152.  
  1153.   * New file handling and I/O functions:
  1154.  
  1155.       fopen    -- open a file for reading or writing
  1156.       fclose   -- close a file
  1157.       fflush   -- flush output to a file
  1158.       fgets    -- read characters from a file
  1159.       frewind  -- set file position to the beginning of a file
  1160.       fseek    -- set file position
  1161.       ftell    -- tell file position
  1162.       freport  -- print a report for all open files
  1163.       fscanf   -- read from a file
  1164.       sscanf   -- read from a string
  1165.       scanf    -- read from the standard input
  1166.  
  1167.   * New built-in variables for file and I/O functions:
  1168.  
  1169.       stdin    -- file number corresponding to the standard input stream.
  1170.       stdout   -- file number corresponding to the standard output stream.
  1171.       stderr   -- file number corresponding to the standard error stream.
  1172.  
  1173.     The following may be used as the final (optional) argument for
  1174.     fseek: 
  1175.  
  1176.       SEEK_SET -- set position relative to the beginning of the file.
  1177.       SEEK_CUR -- set position relative to the current position.
  1178.       SEEK_END -- set position relative to the end of the file.
  1179.  
  1180.   * New function: setstr -- convert vectors or scalars to strings
  1181.     (doesn't work for matrices yet).
  1182.  
  1183.   * If possible, computer now prints the system type instead of
  1184.     always printing `Hi Dave, I'm a HAL-9000'.
  1185.  
  1186.   * Octave now properly saves and restores its internal state
  1187.     correctly in more places.  Interrupting Octave while it is
  1188.     executing a script file no longer causes it to exit.
  1189.  
  1190.   * Octave now does tilde expansion on each element of the LOADPATH.
  1191.  
  1192.   * A number of memory leaks have been plugged.
  1193.  
  1194.   * Dependencies for C++ source files are now generated automatically
  1195.     by g++.
  1196.  
  1197.   * There is a new command line option, -p PATH, that may be used to
  1198.     set Octave's loadpath from the command line.  It will override any
  1199.     value of OCTAVE_PATH found in the environment, but not any
  1200.     LOADPATH="path" commands found in the system or user startup files.
  1201.  
  1202.   * It is now possible to override Octave's default idea of the
  1203.     location of the system-wide startup file (usually stored in
  1204.     $(prefix)/lib/octave/octaverc) using the environment variable
  1205.     OCTAVE_HOME.  If OCTAVE_HOME has a value, Octave will look for
  1206.     octaverc and its M-files in the directory $OCTAVE_HOME/lib/octave.
  1207.  
  1208.     This allows people who are using binary distributions (as is
  1209.     common with systems like Linux) to install the real octave binary
  1210.     in any directory (using a name like octave.bin) and then install
  1211.     a simple script like this
  1212.  
  1213.       #!/bin/sh
  1214.       OCTAVE_HOME=/foo/bar/baz
  1215.       export OCTAVE_HOME
  1216.       exec octave.bin
  1217.  
  1218.     to be invoked as octave.
  1219.  
  1220.  
  1221. Summary of changes for version 0.71:
  1222. -----------------------------------
  1223.  
  1224.   * Much improved plotting facility.  With this release, Octave does
  1225.     not require a specially modified version of gnuplot, so gnuplot
  1226.     sources are no longer distributed with Octave.  For a more
  1227.     detailed description of the new plotting features, see the file
  1228.     PLOTTING.
  1229.  
  1230.   * New plotting commands:
  1231.  
  1232.       plot            -- 2D plots
  1233.       semilogx        -- 2D semilog plot with logscale on the x axis
  1234.       semilogy        -- 2D semilog plot with logscale on the y axis
  1235.       loglog          -- 2D log-log plot
  1236.       mesh            -- 3D mesh plot
  1237.       meshdom         -- create matrices for 3D plotting from two vectors
  1238.       contour         -- contour plots of 3D data
  1239.       bar             -- create bar graphs
  1240.       stairs          -- create stairstep plots
  1241.       polar           -- 2D plots from theta-R data
  1242.       grid            -- turn plot grid lines on or off
  1243.       xlabel, ylabel  -- place labels on the x and y axes of 2D plots
  1244.       sombrero        -- demonstrate 3D plotting
  1245.       gplot           -- 2D plot command with gnuplot-like syntax
  1246.       gsplot          -- 3D plot command with gnuplot-like syntax
  1247.       set             -- set plot options with gnuplot syntax
  1248.       show            -- show plot options with gnuplot syntax
  1249.       closeplot       -- close stream to gnuplot process
  1250.       purge_tmp_files -- delete temporary files created by plot command
  1251.  
  1252.   * Other new commands:
  1253.  
  1254.       ls, dir         -- print a directory listing
  1255.       shell_cmd       -- execute shell commands
  1256.       keyboard        -- get input from keyboard, useful for debugging
  1257.       menu            -- display a menu of options and ask for input
  1258.       fft             -- fast fourier transform
  1259.       ifft            -- inverse fast fourier transform
  1260.  
  1261.   * Strings may be enclosed in either single or double quote
  1262.     characters.  Double quote characters are not special within single
  1263.     quote strings, and single quotes are not special within double
  1264.     quote strings.
  1265.  
  1266.   * Command name completion now works for M-file names too.
  1267.  
  1268.   * Better help and usage messages for many functions.
  1269.  
  1270.   * Help is now available for functions defined in M-files.  The first
  1271.     block of comments is taken as the text of the help message.
  1272.  
  1273.   * Numerous changes in preparation to support dynamic loading of
  1274.     object files with dld.
  1275.  
  1276.   * Bug fixes to make solving DAEs with dassl actually work.
  1277.  
  1278.   * The command `save file' now saves all variables in the named file.
  1279.  
  1280.   * If do_fortran_indexing is 'true', indexing a scalar with
  1281.     [1,1,1,...] (n times) replicates its value n times.  The
  1282.     orientation of the resulting vector depends on the value of
  1283.     prefer_column_vectors.
  1284.  
  1285.   * Things like [[1,2][3,4]] no longer cause core dumps, and invalid
  1286.     input like [1,2;3,4,[5,6]] now produces a diagnositic message.
  1287.  
  1288.   * The cd, save, and load commands now do tilde expansion.
  1289.  
  1290.   * It's now possible to clear global variables and functions by name.
  1291.  
  1292.   * Use of clear inside functions is now a parse error.
  1293.  
  1294. Summary of changes for version 0.70:
  1295. -----------------------------------
  1296.  
  1297.   * Better parse error diagnostics.  For interactive input, you get
  1298.     messages like
  1299.  
  1300.       octave:1> a = 3 + * 4;
  1301.  
  1302.       parse error:
  1303.  
  1304.       a = 3 + * 4;
  1305.           ^
  1306.  
  1307.     and for script files, the message includes the file name and input
  1308.     line number:
  1309.  
  1310.       octave:1> foo
  1311.  
  1312.       parse error near line 4 of file foo.m:
  1313.  
  1314.       a = 3 + * 4;
  1315.           ^
  1316.  
  1317.   * New built-in variable PS2 which is used as the secondary prompt.
  1318.     The default value is '> '.
  1319.  
  1320.   * New file, octave-mode.el, for editing Octave code with GNU Emacs.
  1321.     This is a modified version of Matthew R. Wette's matlab-mode.el.
  1322.  
  1323.   * Better support for missing math functions.
  1324.  
  1325.   * User preferences are now cached in a global struct so we don't
  1326.     have to do a symbol table lookup each time we need to know what
  1327.     they are.  This should mean slightly improved performance for
  1328.     evaluating expressions.
  1329.  
  1330. Summary of changes for version 0.69:
  1331. -----------------------------------
  1332.  
  1333.   * Multiple assignments are now possible, so statements like
  1334.  
  1335.       a = b = c = 3;
  1336.       a = b = c = [1,2;3,4];
  1337.  
  1338.     or
  1339.  
  1340.       c = (a = (b = 2) * 3 + 4) * 5
  1341.  
  1342.     are legal, as are things that have even more bizarre effects, like
  1343.  
  1344.       a(4:6,4:6) = b(2:3,2:3) = [1,2;3,4];
  1345.  
  1346.     (try it).
  1347.  
  1348.   * Improved parsing of strings (but they still don't work as matrix
  1349.     elements).
  1350.  
  1351.   * An M-file may now either define a function or be a list of
  1352.     commands to execute.
  1353.  
  1354.   * Better detection and conditional compilation of IEEE functions
  1355.     isinf, finite, and isnan.
  1356.  
  1357.   * Replacements for acosh, asinh, atanh, and gamma from the BSD math
  1358.     library for those systems that don't have them.
  1359.  
  1360. Summary of changes for version 0.68:
  1361. -----------------------------------
  1362.  
  1363.   * New functions:
  1364.  
  1365.       eval  -- evaluate a string as a sequence of Octave commands. 
  1366.       input -- print a prompt and get user input.
  1367.  
  1368. Summary of changes for version 0.67:
  1369. -----------------------------------
  1370.  
  1371.   * New functions:
  1372.  
  1373.       find -- return the indices of nonzero elements.
  1374.  
  1375.   * Zero-one style indexing now works.  For example,
  1376.  
  1377.       a = [1,2,3,4];
  1378.       b = a([1,0,0,1])
  1379.  
  1380.     sets b to the first and fourth elememnts of a.
  1381.  
  1382.     Zero-one style indexing also works for indexing the left hand side
  1383.     of an assignment.  For example,
  1384.  
  1385.       a = rand (1,2;3,4);
  1386.       a([0,1],:) = [-1,-2]
  1387.  
  1388.     sets the second row of a to [-1 -2]
  1389.  
  1390.     The behavior for the ambiguous case
  1391.  
  1392.       a = [1,2,3,4];
  1393.       b = a([1,1,1,1]);
  1394.  
  1395.     is controlled by the new global variable `prefer_zero_one_indexing'.
  1396.     If this variable is equal to 'true', b will be set to [1 2 3 4].
  1397.     If it is false, b will be set to [1 1 1 1].  The default value is
  1398.     'false'.
  1399.  
  1400.   * Using the new global variable `propagate_empty_matrices', it is
  1401.     possible to have unary andy binary operations on empty matrices
  1402.     return an empty matrix.  The default value of this variable is
  1403.     'warn', so that empty matrices are propagated but you get a
  1404.     warning.  Some functions, like eig and svd have also been changed
  1405.     to handle this.
  1406.  
  1407.   * Empty matrices can be used in conditionals, but they always
  1408.     evaluate to `false'.  With propagate_empty_matrices = 'true', both
  1409.     of the following expressions print 0: 
  1410.  
  1411.       if  [], 1, else 0, end
  1412.       if ~[], 1, else 0, end
  1413.  
  1414.   * Octave no longer converts input like `3.2 i' or `3 I' to complex
  1415.     constants directly because that causes problems inside square
  1416.     brackets, where spaces are important.  This abbreviated notation
  1417.     *does* work if there isn't a space between the number and the i,
  1418.     I, j, or J.
  1419.  
  1420. Summary of changes for version 0.66:
  1421. -----------------------------------
  1422.  
  1423.   * Logical unary not operator (~ or !) now works for complex.
  1424.  
  1425.   * Left division works.
  1426.  
  1427.   * Right and left element by element division should work correctly
  1428.     now.
  1429.  
  1430.   * Numbers like .3e+2 are no longer errors.
  1431.  
  1432.   * Indexing a matrix with a complex value doesn't cause a core dump.
  1433.  
  1434.   * The min and max functions should work correctly for two arguments.
  1435.  
  1436.   * Improved (I hope!) configuration checks.
  1437.  
  1438.   * Octave is now installed as octave-M.N, where M and N are version
  1439.     numbers, and octave is a link to that file.  This makes it
  1440.     possible to have more than one version of the interpreter installed.
  1441.  
  1442. Summary of changes for version 0.63:
  1443. -----------------------------------
  1444.  
  1445.   * The reshape function works again.
  1446.  
  1447.   * Octave now converts input like `3.2i' or `3 I' or `2.3e5 j' to be 
  1448.     complex constants directly, rather than requiring an expression
  1449.     like `3.3 * i' to be evaluated.
  1450.  
  1451. Summary of changes for version 0.61:
  1452. -----------------------------------
  1453.  
  1454.   * Octave has been successfully compiled using gcc 2.3.3 and libg++ 2.3.
  1455.     on a 486 system running Linux.
  1456.  
  1457.   * The win_texas_lotto function is now called texas_lotto (it's a
  1458.     script file, and win_texas_lotto.m is too long for some Linux and
  1459.     System V systems).
  1460.  
  1461. Summary of changes for version 0.57:
  1462. ------------------------------------
  1463.  
  1464.   * The C-like formatted print functions printf, fprintf, and sprintf
  1465.     finally work. 
  1466.  
  1467. Summary of changes for version 0.56:
  1468. ------------------------------------
  1469.  
  1470.   * By default, octave prints a short disclaimer when it starts.
  1471.     (You can suppress it by invoking octave with -q).
  1472.  
  1473.   * You can keep octave from reading your ~/.octaverc and .octaverc
  1474.     files by invoking it with -f.
  1475.  
  1476.   * When returning two values, eig now returns [v, d] instead of
  1477.     [lambda, v], where d is a diagonal matrix made from lambda.
  1478.  
  1479.   * The win_texas_lotto function now produces a sorted list.
  1480.  
  1481.   * New functions:
  1482.  
  1483.       expm -- matrix exponential.
  1484.       logm -- matrix logarithm.
  1485.  
  1486. Summary of changes for version 0.55:
  1487. ------------------------------------
  1488.  
  1489.   * The following (C-style) backslash escape sequences work in quoted
  1490.     strings (useful(?) with printf()):
  1491.  
  1492.       \a  bell         \r  carriage return
  1493.       \b  backspace    \t  horizontal tab
  1494.       \f  formfeed     \v  vertical tab
  1495.       \n  newline      \\  backslash
  1496.  
  1497.   * Use of `...' at the end of a line will allow a statement to
  1498.     continue over more than one line.
  1499.  
  1500.   * The names `inf' and `nan' are now aliases for `Inf' and `NaN',
  1501.     respectively.
  1502.  
  1503.   * New functions:
  1504.  
  1505.       casesen -- print a warning if the luser tries to turn off case
  1506.                  sensitivity.
  1507.       median  -- find median value.
  1508.       norm    -- compute the norm of a matrix.
  1509.       sort    -- sort columns.
  1510.  
  1511.   * New variable, `silent_functions'.  If silent_functions == 'true',
  1512.     the results of expressions are not printed even if they are not
  1513.     followed by a semicolon.  The disp() and printf() functions still
  1514.     result in output.  The default value for this variable is 'false'.
  1515.  
  1516.   * New variable `return_last_value_computed'.  If it is 'true',
  1517.     functions defined in script files return the last value computed
  1518.     if a return value has not been explicitly declared.  The default
  1519.     value for this variable is 'false'.
  1520.  
  1521. Summary of changes for version 0.52:
  1522. ------------------------------------
  1523.  
  1524.   * Name completion works for function and variable names currently in
  1525.     the symbol tables.  Coming soon: completion for names of functions
  1526.     defined in script files but not yet compiled. 
  1527.  
  1528.   * The initial value of do_fortran_indexing is now false, and the
  1529.     initial value of prefer_column_vectors is now true.  Swap the
  1530.     values of these variables if you want behavior that is more like
  1531.     Matlab.
  1532.  
  1533.   * All script files check the number of input arguments before doing
  1534.     much real work.
  1535.  
  1536.   * The identifiers `i' and `j' are now also names for sqrt(-1).
  1537.     These symbols may be used for other purposes, but their original
  1538.     definition will reappear if they are cleared.
  1539.  
  1540.   * The symbol tables are now implemented with hash tables for faster
  1541.     searching. 
  1542.  
  1543.   * A small amount of help is now available for most built-in
  1544.     operators, keywords and functions.  Coming soon: help for script
  1545.     files.
  1546.  
  1547.   * Without any arguments, the help command now lists all known
  1548.     built-in operators, keywords and functions.
  1549.  
  1550.   * Generic parse errors are now signalled by `Eh, what's up doc?',
  1551.     which is closer to what Bugs actually says.
  1552.  
  1553.   * The who command now only prints variable names by default.
  1554.     Use the -fcn (or -fcns, or -functions) switch to print the names of
  1555.     built-in or currently compiled functions.
  1556.  
  1557. Summary of changes for version 0.51:
  1558. ------------------------------------
  1559.  
  1560.   * Major overhaul of array indexing.
  1561.  
  1562.   * The colloc function actually works now.
  1563.  
  1564. Summary of changes for version 0.50:
  1565. ------------------------------------
  1566.  
  1567.   * The lsode and dassl functions now return the states only,
  1568.     instead of the time and the states, so you must keep track of
  1569.     the corresponding times (this is easy though, because you have
  1570.     to specify a vector of desired output times anyway).
  1571.  
  1572.   * Solution of NLPs with NPSOL now works on the SPARC.
  1573.  
  1574.   * New keywords `endif', `endfor', `endfunction', `endif', and
  1575.     `endwhile', which allow for better diagnostics.  The `end' keyword
  1576.     is still recognized.  All script files have been changed to use
  1577.     these new keywords in place of `end'.
  1578.  
  1579.   * It is now possible to uninstall Octave by doing a `make uninstall'
  1580.     in the top level directory.
  1581.  
  1582.   * The Makefiles are much closer to conforming with GNU coding standards.
  1583.  
  1584.   * New functions:
  1585.  
  1586.       win_texas_lotto  -- produce six unique random numbers between 1 and 50.
  1587.       quad             -- numerical integration.
  1588.       lu               -- LU factorization
  1589.       qr               -- QR factorization
  1590.       dassl            -- Solution of DAEs using DASSL.
  1591.  
  1592.   * New files:
  1593.  
  1594.       THANKS -- A list of people and organazations who have supported
  1595.         the development of Octave.
  1596.  
  1597.       NEWS   -- This file, listing recent changes.
  1598.  
  1599.   * Help is now available at the gnuplot prompt.
  1600.