Mercurial > octave
view CITATION @ 20931:69dcb58b9ada
Clean up use of error() versus ::error() in stream-based code.
* oct-fstrm.cc, oct-iostrm.cc, oct-strstrm.cc: Add comments before code that is
specifically using error from stream class rather than ::error from error.h
* oct-stream.cc: Overhaul file. Add programming note about difference between
error() and ::error() at top of file. Put input validation first. Cuddle
parentheses to variable when doing indexing. Declare variables as late as
possible. Wrap lines < 80 characters, but try to break comments into
intelligible blocks. Avoid declaring retval when returning a value would
do just as well.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 17 Dec 2015 10:55:28 -0800 |
parents | f5d9e57d4380 |
children | d77caa2d523d |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2015). GNU Octave version 4.0.0 manual: a high-level interactive language for numerical computations. URL http://www.gnu.org/software/octave/doc/interpreter/ A BibTeX entry for LaTeX users is: @book{, author = {John W. Eaton, David Bateman, S\oren Hauberg, and Rik Wehbring}, title = {{GNU Octave} version 4.0.0 manual: a high-level interactive language for numerical computations}, year = {2015}, url = {http://www.gnu.org/software/octave/doc/interpreter}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also `citation pkgname' for citing Octave packages.