1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483
|
% Copyright (C) 1996, 1997 John W. Eaton
% This is part of the Octave manual.
% For copying conditions, see the file gpl.texi.
\input texinfo
@setfilename octave.info
@ifinfo
@format
START-INFO-DIR-ENTRY
* Octave: (octave). Interactive language for numerical computations.
END-INFO-DIR-ENTRY
@end format
@end ifinfo
@c Settings for printing on 8-1/2 by 11 inch paper:
@c -----------------------------------------------
@setchapternewpage odd
@c Settings for small book format:
@c ------------------------------
@ignore
@smallbook
@setchapternewpage odd
@finalout
@iftex
@cropmarks
@end iftex
@end ignore
@defindex op
@c Things like the Octave version number are defined in conf.texi.
@c This file doesn't include a chapter, so it must not be included
@c if you want to run the Emacs function texinfo-multiple-files-update.
@include conf.texi
@settitle GNU Octave
@ifinfo
Copyright (C) 1996, 1997 John W. Eaton.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
@ignore
Permission is granted to process this file through Tex and print the
results, provided the printed document carries copying permission
notice identical to this one except for the removal of this paragraph
(this paragraph not being relevant to the printed manual).
@end ignore
Permission is granted to copy and distribute modified versions of
this manual under the conditions for verbatim copying, provided that
the entire resulting derived work is distributed under the terms of
a permission notice identical to this one.
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for
modified versions.
@end ifinfo
@titlepage
@title GNU Octave
@subtitle A high-level interactive language for numerical computations
@subtitle Edition 3 for Octave version @value{VERSION}
@subtitle February 1997
@author John W. Eaton
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 1996, 1997 John W. Eaton.
This is the third edition of the Octave documentation, and is consistent
with version @value{VERSION} of Octave.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the same conditions as for modified versions.
Portions of this document have been adapted from the @code{gawk},
@code{readline}, @code{gcc}, and C library manuals, published by the Free
Software Foundation, 59 Temple Place---Suite 330, Boston, MA
02111--1307, USA.
@end titlepage
@ifinfo
@node Top, Preface, (dir), (dir)
@top
This manual documents how to run, install and port GNU Octave, as well
as its new features and incompatibilities, and how to report bugs.
It corresponds to GNU Octave version @value{VERSION}.
@end ifinfo
@menu
* Preface::
* Introduction:: A brief introduction to Octave.
* Getting Started::
* Data Types::
* Numeric Data Types::
* Strings::
* Data Structures::
* Variables::
* Expressions:: Expressions.
* Evaluation::
* Statements:: Looping and program flow control.
* Functions and Scripts::
* Error Handling::
* Input and Output::
* Plotting::
* Matrix Manipulation::
* Arithmetic::
* Linear Algebra::
* Nonlinear Equations::
* Quadrature::
* Differential Equations::
* Optimization::
* Statistics::
* Sets::
* Polynomial Manipulations::
* Control Theory::
* Signal Processing::
* Image Processing::
* Audio Processing::
* System Utilities::
* Tips::
* Trouble:: If you have trouble installing Octave.
* Installation:: How to configure, compile and install Octave.
* Emacs::
* Grammar::
* Copying:: The GNU General Public License.
* Concept Index:: An item for each concept.
* Variable Index:: An item for each documented variable.
* Function Index:: An item for each documented function.
* Operator Index:: An item for each documented operator.
--- The Detailed Node Listing ---
Preface
* Acknowledgements::
* How You Can Contribute to Octave::
* Distribution::
A Brief Introduction to Octave
* Running Octave::
* Simple Examples::
* Conventions::
Conventions
* Fonts::
* Evaluation Notation::
* Printing Notation::
* Error Messages::
* Format of Descriptions::
Format of Descriptions
* A Sample Function Description::
* A Sample Command Description::
* A Sample Variable Description::
Getting Started
* Invoking Octave::
* Quitting Octave::
* Getting Help::
* Command Line Editing::
* Errors::
* Executable Octave Programs::
* Comments::
Invoking Octave
* Command Line Options::
* Startup Files::
Command Line Editing
* Cursor Motion::
* Killing and Yanking::
* Commands For Text::
* Commands For Completion::
* Commands For History::
* Customizing the Prompt::
* Diary and Echo Commands::
Data Types
* Built-in Data Types::
* User-defined Data Types::
* Object Sizes::
Built-in Data Types
* Numeric Objects::
* String Objects::
* Data Structure Objects::
Numeric Data Types
* Matrices::
* Ranges::
* Predicates for Numeric Objects::
Matrices
* Empty Matrices::
Strings
* Creating Strings::
* Searching and Replacing::
* String Conversions::
* Character Class Functions::
Variables
* Global Variables::
* Status of Variables::
* Summary of Built-in Variables::
* Defaults from the Environment::
Expressions
* Index Expressions::
* Calling Functions::
* Arithmetic Ops::
* Comparison Ops::
* Boolean Expressions::
* Assignment Ops::
* Increment Ops::
* Operator Precedence::
Calling Functions
* Call by Value::
* Recursion::
Boolean Expressions
* Element-by-element Boolean Operators::
* Short-circuit Boolean Operators::
Statements
* The if Statement::
* The switch Statement::
* The while Statement::
* The for Statement::
* The break Statement::
* The continue Statement::
* The unwind_protect Statement::
* The try Statement::
* Continuation Lines::
The @code{for} Statement
* Looping Over Structure Elements::
Functions and Script Files
* Defining Functions::
* Multiple Return Values::
* Variable-length Argument Lists::
* Variable-length Return Lists::
* Returning From a Function::
* Function Files::
* Script Files::
* Dynamically Linked Functions::
* Organization of Functions::
Input and Output
* Basic Input and Output::
* C-Style I/O Functions::
Basic Input and Output
* Terminal Output::
* Terminal Input::
* Simple File I/O::
C-Style I/O Functions
* Opening and Closing Files::
* Simple Output::
* Line-Oriented Input::
* Formatted Output::
* Output Conversion for Matrices::
* Output Conversion Syntax::
* Table of Output Conversions::
* Integer Conversions::
* Floating-Point Conversions:: Other Output Conversions::
* Other Output Conversions::
* Formatted Input::
* Input Conversion Syntax::
* Table of Input Conversions::
* Numeric Input Conversions::
* String Input Conversions::
* Binary I/O::
* Temporary Files::
* EOF and Errors::
* File Positioning::
Plotting
* Two-Dimensional Plotting::
* Specialized Two-Dimensional Plots::
* Three-Dimensional Plotting::
* Plot Annotations::
* Multiple Plots on One Page::
Matrix Manipulation
* Finding Elements and Checking Conditions::
* Rearranging Matrices::
* Special Utility Matrices::
* Famous Matrices::
Arithmetic
* Utility Functions::
* Complex Arithmetic::
* Trigonometry::
* Sums and Products::
* Special Functions::
* Mathematical Constants::
Linear Algebra
* Basic Matrix Functions::
* Matrix Factorizations::
* Functions of a Matrix::
Quadrature
* Functions of One Variable::
* Orthogonal Collocation::
Differential Equations
* Ordinary Differential Equations::
* Differential-Algebraic Equations::
Optimization
* Quadratic Programming::
* Nonlinear Programming::
* Linear Least Squares::
System Utilities
* Timing Utilities::
* Filesystem Utilities::
* Controlling Subprocesses::
* Process ID Information::
* Environment Variables::
* Current Working Directory::
* Password Database Functions::
* Group Database Functions::
* System Information::
Tips and Standards
* Style Tips:: Writing clean and robust programs.
* Coding Tips:: Making code run faster.
* Documentation Tips:: Writing readable documentation strings.
* Comment Tips:: Conventions for writing comments.
* Function Headers:: Standard headers for functions.
Known Causes of Trouble with Octave
* Actual Bugs:: Bugs we will fix later.
* Reporting Bugs::
* Bug Criteria::
* Bug Lists::
* Bug Reporting::
* Sending Patches::
* Service::
Reporting Bugs
* Bug Criteria::
* Where: Bug Lists. Where to send your bug report.
* Reporting: Bug Reporting. How to report a bug effectively.
* Patches: Sending Patches. How to send a patch for Octave.
Installing Octave
* Notes::
* Installation Problems::
* Binary Distributions::
Binary Distributions
* Installing Octave from a Binary Distribution::
* Creating a Binary Distribution::
Emacs Octave Support
* Installing EOS::
* Using Octave Mode::
* Running Octave From Within Emacs::
* Using the Emacs Info Reader for Octave::
Grammar
* Keywords::
@end menu
@include preface.texi
@include intro.texi
@include basics.texi
@include data.texi
@include numbers.texi
@include strings.texi
@include struct.texi
@include var.texi
@include expr.texi
@include eval.texi
@include stmt.texi
@include func.texi
@include errors.texi
@include io.texi
@include plot.texi
@include matrix.texi
@include arith.texi
@include linalg.texi
@include nonlin.texi
@include quad.texi
@include diffeq.texi
@include optim.texi
@include stats.texi
@include set.texi
@include poly.texi
@include control.texi
@include signal.texi
@include image.texi
@include audio.texi
@include system.texi
@c maybe add again later, if anyone every writes any really interesting
@c fun stuff for Octave.
@c
@c @include amuse.texi
@c Appendices start here. Installation and bugs have to go before the
@c readline and Info appendices because we want to have separate indices
@c for them, and there appears to be no way to go back to the original
@c set of indices once a redirection has taken place.
@include tips.texi
@include bugs.texi
@include install.texi
@include emacs.texi
@include grammar.texi
@include gpl.texi
@include cp-idx.texi
@include vr-idx.texi
@include fn-idx.texi
@include op-idx.texi
@contents
@bye
|