home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / octa21fb.zip / octave / doc / octave.INF (.txt) < prev    next >
OS/2 Help File  |  2000-01-15  |  12KB  |  388 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Title page ΓòÉΓòÉΓòÉ
  3.  
  4.                                    GNU Octave
  5.  
  6.           A high-level interactive language for numerical computations
  7.  
  8.                        Edition 3 for Octave version 2.1.23
  9.  
  10.                                   February 1997
  11.  
  12.                                   John W. Eaton
  13.  
  14. Copyright (C) 1996, 1997 John W. Eaton. 
  15.  
  16. This is the third edition of the Octave documentation, and is consistent with 
  17. version 2.1.23 of Octave. 
  18.  
  19. Permission is granted to make and distribute verbatim copies of this manual 
  20. provided the copyright notice and this permission notice are preserved on all 
  21. copies. 
  22.  
  23. Permission is granted to copy and distribute modified versions of this manual 
  24. under the conditions for verbatim copying, provided that the entire resulting 
  25. derived work is distributed under the terms of a permission notice identical to 
  26. this one. 
  27.  
  28. Permission is granted to copy and distribute translations of this manual into 
  29. another language, under the same conditions as for modified versions. 
  30.  
  31. Portions of this document have been adapted from the gawk, readline, gcc, and C 
  32. library manuals, published by the Free Software Foundation, 59 Temple 
  33. Place---Suite 330, Boston, MA 02111--1307, USA. 
  34.  
  35.  
  36. ΓòÉΓòÉΓòÉ 2. Top ΓòÉΓòÉΓòÉ
  37.  
  38. This manual documents how to run, install and port GNU Octave, as well as its 
  39. new features and incompatibilities, and how to report bugs. It corresponds to 
  40. GNU Octave version 2.1.23. 
  41.  
  42.  Preface 
  43.  Introduction                            A brief introduction to Octave. 
  44.  Getting Started 
  45.  Data Types 
  46.  Numeric Data Types 
  47.  Strings 
  48.  Data Structures 
  49.  Variables 
  50.  Expressions                             Expressions. 
  51.  Evaluation 
  52.  Statements                              Looping and program flow control. 
  53.  Functions and Scripts 
  54.  Error Handling 
  55.  Input and Output 
  56.  Plotting 
  57.  Matrix Manipulation 
  58.  Arithmetic 
  59.  Linear Algebra 
  60.  Nonlinear Equations 
  61.  Quadrature 
  62.  Differential Equations 
  63.  Optimization 
  64.  Statistics 
  65.  Sets 
  66.  Polynomial Manipulations 
  67.  Control Theory 
  68.  Signal Processing 
  69.  Image Processing 
  70.  Audio Processing 
  71.  System Utilities 
  72.  Tips 
  73.  Trouble                                 If you have trouble installing Octave. 
  74.  Installation                            How to configure, compile and install 
  75.                                          Octave. 
  76.  Emacs 
  77.  Grammar 
  78.  Copying                                 The GNU General Public License. 
  79.  Concept Index                           An item for each concept. 
  80.  Variable Index                          An item for each documented variable. 
  81.  Function Index                          An item for each documented function. 
  82.  Operator Index                          An item for each documented operator. 
  83.  
  84.   --- The Detailed Node Listing --- 
  85.  
  86.  Preface 
  87.  
  88.  Acknowledgements 
  89.  How You Can Contribute to Octave 
  90.  Distribution 
  91.  
  92.  A Brief Introduction to Octave 
  93.  
  94.  Running Octave 
  95.  Simple Examples 
  96.  Conventions 
  97.  
  98.  Conventions 
  99.  
  100.  Fonts 
  101.  Evaluation Notation 
  102.  Printing Notation 
  103.  Error Messages 
  104.  Format of Descriptions 
  105.  
  106.  Format of Descriptions 
  107.  
  108.  A Sample Function Description 
  109.  A Sample Command Description 
  110.  A Sample Variable Description 
  111.  
  112.  Getting Started 
  113.  
  114.  Invoking Octave 
  115.  Quitting Octave 
  116.  Getting Help 
  117.  Command Line Editing 
  118.  Errors 
  119.  Executable Octave Programs 
  120.  Comments 
  121.  
  122.  Invoking Octave 
  123.  
  124.  Command Line Options 
  125.  Startup Files 
  126.  
  127.  Command Line Editing 
  128.  
  129.  Cursor Motion 
  130.  Killing and Yanking 
  131.  Commands For Text 
  132.  Commands For Completion 
  133.  Commands For History 
  134.  Customizing the Prompt 
  135.  Diary and Echo Commands 
  136.  
  137.  Data Types 
  138.  
  139.  Built-in Data Types 
  140.  User-defined Data Types 
  141.  Object Sizes 
  142.  
  143.  Built-in Data Types 
  144.  
  145.  Numeric Objects 
  146.  String Objects 
  147.  Data Structure Objects 
  148.  
  149.  Numeric Data Types 
  150.  
  151.  Matrices 
  152.  Ranges 
  153.  Predicates for Numeric Objects 
  154.  
  155.  Matrices 
  156.  
  157.  Empty Matrices 
  158.  
  159.  Strings 
  160.  
  161.  Creating Strings 
  162.  Searching and Replacing 
  163.  String Conversions 
  164.  Character Class Functions 
  165.  
  166.  Variables 
  167.  
  168.  Global Variables 
  169.  Status of Variables 
  170.  Summary of Built-in Variables 
  171.  Defaults from the Environment 
  172.  
  173.  Expressions 
  174.  
  175.  Index Expressions 
  176.  Calling Functions 
  177.  Arithmetic Ops 
  178.  Comparison Ops 
  179.  Boolean Expressions 
  180.  Assignment Ops 
  181.  Increment Ops 
  182.  Operator Precedence 
  183.  
  184.  Calling Functions 
  185.  
  186.  Call by Value 
  187.  Recursion 
  188.  
  189.  Boolean Expressions 
  190.  
  191.  Element-by-element Boolean Operators 
  192.  Short-circuit Boolean Operators 
  193.  
  194.  Statements 
  195.  
  196.  The if Statement 
  197.  The switch Statement 
  198.  The while Statement 
  199.  The for Statement 
  200.  The break Statement 
  201.  The continue Statement 
  202.  The unwind_protect Statement 
  203.  The try Statement 
  204.  Continuation Lines 
  205.  
  206.  The for Statement 
  207.  
  208.  Looping Over Structure Elements 
  209.  
  210.  Functions and Script Files 
  211.  
  212.  Defining Functions 
  213.  Multiple Return Values 
  214.  Variable-length Argument Lists 
  215.  Variable-length Return Lists 
  216.  Returning From a Function 
  217.  Function Files 
  218.  Script Files 
  219.  Dynamically Linked Functions 
  220.  Organization of Functions 
  221.  
  222.  Input and Output 
  223.  
  224.  Basic Input and Output 
  225.  C-Style I/O Functions 
  226.  
  227.  Basic Input and Output 
  228.  
  229.  Terminal Output 
  230.  Terminal Input 
  231.  Simple File I/O 
  232.  
  233.  C-Style I/O Functions 
  234.  
  235.  Opening and Closing Files 
  236.  Simple Output 
  237.  Line-Oriented Input 
  238.  Formatted Output 
  239.  Output Conversion for Matrices 
  240.  Output Conversion Syntax 
  241.  Table of Output Conversions 
  242.  Integer Conversions 
  243.  Floating-Point Conversions              Other Output Conversions:: 
  244.  Other Output Conversions 
  245.  Formatted Input 
  246.  Input Conversion Syntax 
  247.  Table of Input Conversions 
  248.  Numeric Input Conversions 
  249.  String Input Conversions 
  250.  Binary I/O 
  251.  Temporary Files 
  252.  EOF and Errors 
  253.  File Positioning 
  254.  
  255.  Plotting 
  256.  
  257.  Two-Dimensional Plotting 
  258.  Specialized Two-Dimensional Plots 
  259.  Three-Dimensional Plotting 
  260.  Plot Annotations 
  261.  Multiple Plots on One Page 
  262.  
  263.  Matrix Manipulation 
  264.  
  265.  Finding Elements and Checking Conditions 
  266.  Rearranging Matrices 
  267.  Special Utility Matrices 
  268.  Famous Matrices 
  269.  
  270.  Arithmetic 
  271.  
  272.  Utility Functions 
  273.  Complex Arithmetic 
  274.  Trigonometry 
  275.  Sums and Products 
  276.  Special Functions 
  277.  Mathematical Constants 
  278.  
  279.  Linear Algebra 
  280.  
  281.  Basic Matrix Functions 
  282.  Matrix Factorizations 
  283.  Functions of a Matrix 
  284.  
  285.  Quadrature 
  286.  
  287.  Functions of One Variable 
  288.  Orthogonal Collocation 
  289.  
  290.  Differential Equations 
  291.  
  292.  Ordinary Differential Equations 
  293.  Differential-Algebraic Equations 
  294.  
  295.  Optimization 
  296.  
  297.  Quadratic Programming 
  298.  Nonlinear Programming 
  299.  Linear Least Squares 
  300.  
  301.  Control Theory 
  302.  
  303.  sysstruct 
  304.  sysinterface 
  305.  sysdisp 
  306.  blockdiag 
  307.  numerical 
  308.  sysprop 
  309.  systime 
  310.  sysfreq 
  311.  cacsd 
  312.  misc 
  313.  
  314.  System Data Structure 
  315.  
  316.  sysstructvars 
  317.  sysstructtf 
  318.  sysstructzp 
  319.  sysstructss 
  320.  
  321.  System Construction and Interface Functions 
  322.  
  323.  fir2sys 
  324.  ss2sys 
  325.  tf2sys 
  326.  zp2sys 
  327.  structaccess 
  328.  structintern 
  329.  
  330.  System Utilities 
  331.  
  332.  Timing Utilities 
  333.  Filesystem Utilities 
  334.  Controlling Subprocesses 
  335.  Process ID Information 
  336.  Environment Variables 
  337.  Current Working Directory 
  338.  Password Database Functions 
  339.  Group Database Functions 
  340.  System Information 
  341.  
  342.  Tips and Standards 
  343.  
  344.  Style Tips                              Writing clean and robust programs. 
  345.  Coding Tips                             Making code run faster. 
  346.  Documentation Tips                      Writing readable documentation 
  347.                                          strings. 
  348.  Comment Tips                            Conventions for writing comments. 
  349.  Function Headers                        Standard headers for functions. 
  350.  
  351.  Known Causes of Trouble with Octave 
  352.  
  353.  Actual Bugs                             Bugs we will fix later. 
  354.  Reporting Bugs 
  355.  Bug Criteria 
  356.  Bug Lists 
  357.  Bug Reporting 
  358.  Sending Patches 
  359.  Service 
  360.  
  361.  Reporting Bugs 
  362.  
  363.  Bug Criteria 
  364.  * Where: Bug Lists.       Where to send your bug report. * Reporting: Bug 
  365.  Reporting.   How to report a bug effectively. * Patches: Sending Patches. 
  366.  How to send a patch for Octave. 
  367.  
  368.  Installing Octave 
  369.  
  370.  Installation Problems 
  371.  Binary Distributions 
  372.  
  373.  Binary Distributions 
  374.  
  375.  Installing Octave from a Binary Distribution 
  376.  Creating a Binary Distribution 
  377.  
  378.  Emacs Octave Support 
  379.  
  380.  Installing EOS 
  381.  Using Octave Mode 
  382.  Running Octave From Within Emacs 
  383.  Using the Emacs Info Reader for Octave 
  384.  
  385.  Grammar 
  386.  
  387.  Keywords 
  388.