| Publisher's Preface |
|
1 | (2) |
| Author's Preface |
|
3 | (1) |
| Acknowledgements |
|
3 | (2) |
| How You Can Contribute to Octave |
|
5 | (1) |
| Distribution |
|
6 | (1) |
|
A Brief Introduction to Octave |
|
|
7 | (10) |
|
|
|
7 | (1) |
|
|
|
7 | (4) |
|
|
|
7 | (1) |
|
|
|
8 | (1) |
|
|
|
8 | (1) |
|
Integrating Differential Equations |
|
|
8 | (1) |
|
Producing Graphical Output |
|
|
9 | (1) |
|
Editing What You Have Typed |
|
|
10 | (1) |
|
|
|
11 | (1) |
|
|
|
11 | (6) |
|
|
|
11 | (1) |
|
|
|
12 | (1) |
|
|
|
12 | (1) |
|
|
|
12 | (1) |
|
|
|
13 | (1) |
|
A Sample Function Description |
|
|
13 | (1) |
|
A Sample Command Description |
|
|
14 | (1) |
|
A Sample Variable Description |
|
|
14 | (3) |
|
|
|
17 | (18) |
|
|
|
17 | (4) |
|
|
|
17 | (3) |
|
|
|
20 | (1) |
|
|
|
21 | (1) |
|
Commands for Getting Help |
|
|
22 | (1) |
|
|
|
23 | (8) |
|
|
|
23 | (1) |
|
|
|
24 | (1) |
|
Commands For Changing Text |
|
|
25 | (1) |
|
Letting Readline Type For You |
|
|
25 | (1) |
|
Commands For Manipulating The History |
|
|
26 | (2) |
|
|
|
28 | (2) |
|
|
|
30 | (1) |
|
How Octave Reports Errors |
|
|
31 | (1) |
|
Executable Octave Programs |
|
|
32 | (1) |
|
Comments in Octave Programs |
|
|
33 | (2) |
|
|
|
35 | (4) |
|
|
|
35 | (1) |
|
|
|
35 | (1) |
|
|
|
35 | (1) |
|
|
|
36 | (1) |
|
|
|
36 | (1) |
|
|
|
36 | (3) |
|
|
|
39 | (8) |
|
|
|
39 | (6) |
|
|
|
43 | (2) |
|
|
|
45 | (1) |
|
Predicates for Numeric Objects |
|
|
45 | (2) |
|
|
|
47 | (8) |
|
|
|
48 | (1) |
|
|
|
49 | (1) |
|
|
|
50 | (2) |
|
Character Class Functions |
|
|
52 | (3) |
|
|
|
55 | (4) |
|
|
|
59 | (12) |
|
|
|
59 | (2) |
|
|
|
61 | (2) |
|
Summary of Built-in Variables |
|
|
63 | (5) |
|
Defaults from the Environment |
|
|
68 | (3) |
|
|
|
71 | (16) |
|
|
|
71 | (3) |
|
|
|
74 | (2) |
|
|
|
75 | (1) |
|
|
|
76 | (1) |
|
|
|
76 | (2) |
|
|
|
78 | (1) |
|
|
|
79 | (2) |
|
Element-by-element Boolean Operators |
|
|
79 | (1) |
|
Short-circuit Boolean Operators |
|
|
80 | (1) |
|
|
|
81 | (2) |
|
|
|
83 | (1) |
|
|
|
84 | (3) |
|
|
|
87 | (2) |
|
|
|
89 | (12) |
|
|
|
89 | (3) |
|
|
|
92 | (1) |
|
|
|
93 | (1) |
|
|
|
94 | (2) |
|
Looping Over Structure Elements |
|
|
95 | (1) |
|
|
|
96 | (1) |
|
|
|
97 | (1) |
|
The unwind_protect Statement |
|
|
98 | (1) |
|
|
|
99 | (1) |
|
|
|
99 | (2) |
|
Functions and Script Files |
|
|
101 | (18) |
|
|
|
101 | (3) |
|
|
|
104 | (2) |
|
Variable-length Argument Lists |
|
|
106 | (1) |
|
Variable-length Return Lists |
|
|
107 | (1) |
|
Returning From a Function |
|
|
108 | (1) |
|
|
|
109 | (2) |
|
|
|
111 | (2) |
|
Dynamically Linked Functions |
|
|
113 | (4) |
|
Organization of Functions Distributed with Octave |
|
|
117 | (2) |
|
|
|
119 | (4) |
|
|
|
123 | (26) |
|
|
|
124 | (6) |
|
|
|
124 | (2) |
|
|
|
126 | (2) |
|
|
|
128 | (2) |
|
|
|
130 | (19) |
|
Opening and Closing Files |
|
|
131 | (1) |
|
|
|
132 | (1) |
|
|
|
132 | (1) |
|
|
|
133 | (1) |
|
Output Conversion for Matrices |
|
|
134 | (1) |
|
|
|
134 | (2) |
|
Table of Output Conversions |
|
|
136 | (1) |
|
|
|
137 | (1) |
|
Floating-Point Conversions |
|
|
137 | (1) |
|
|
|
138 | (1) |
|
|
|
139 | (1) |
|
|
|
140 | (1) |
|
Table of Input Conversions |
|
|
141 | (1) |
|
Numeric input Conversions |
|
|
142 | (1) |
|
|
|
143 | (1) |
|
|
|
143 | (2) |
|
|
|
145 | (1) |
|
|
|
145 | (1) |
|
|
|
146 | (3) |
|
|
|
149 | (14) |
|
|
|
149 | (6) |
|
Specialized Two-Dimensional Plots |
|
|
155 | (2) |
|
Three-Dimensional Plotting |
|
|
157 | (2) |
|
|
|
159 | (1) |
|
Multiple Plots on One Page |
|
|
159 | (4) |
|
|
|
163 | (10) |
|
Finding Elements and Checking Conditions |
|
|
163 | (2) |
|
|
|
165 | (3) |
|
|
|
168 | (3) |
|
|
|
171 | (2) |
|
|
|
173 | (10) |
|
|
|
173 | (2) |
|
|
|
175 | (1) |
|
|
|
176 | (1) |
|
|
|
177 | (1) |
|
|
|
178 | (2) |
|
|
|
180 | (3) |
|
|
|
183 | (8) |
|
|
|
183 | (3) |
|
|
|
186 | (3) |
|
|
|
189 | (2) |
|
|
|
191 | (2) |
|
|
|
193 | (2) |
|
Functions of One Variable |
|
|
193 | (1) |
|
|
|
194 | (1) |
|
|
|
195 | (4) |
|
Ordinary Differential Equations |
|
|
195 | (1) |
|
Differential-Algebraic Equations |
|
|
196 | (3) |
|
|
|
199 | (2) |
|
|
|
199 | (1) |
|
|
|
199 | (1) |
|
|
|
199 | (2) |
|
|
|
201 | (2) |
|
|
|
203 | (2) |
|
|
|
205 | (4) |
|
|
|
209 | (6) |
|
|
|
215 | (4) |
|
|
|
219 | (4) |
|
|
|
223 | (2) |
|
|
|
225 | (20) |
|
|
|
225 | (6) |
|
|
|
231 | (3) |
|
|
|
234 | (4) |
|
Process, Group, and User IDs |
|
|
238 | (1) |
|
|
|
239 | (1) |
|
Current Working Directory |
|
|
239 | (1) |
|
Password Database Functions |
|
|
240 | (1) |
|
|
|
241 | (1) |
|
|
|
241 | (4) |
| Appendix A Tips and Standards |
|
245 | (6) |
|
A.1 Writing Clean Octave Programs |
|
|
245 | (1) |
|
A.2 Tips for Making Code Run Faster |
|
|
245 | (1) |
|
A.3 Tips for Documentation Strings |
|
|
246 | (1) |
|
A.4 Tips on Writing Comments |
|
|
247 | (1) |
|
A.5 Conventional Headers for Octave Functions |
|
|
248 | (3) |
| Appendix B Known Causes of Trouble |
|
251 | (8) |
|
B.1 Actual Bugs We Haven't Fixed Yet |
|
|
251 | (1) |
|
|
|
252 | (1) |
|
B.3 Have You Found a Bug? |
|
|
252 | (1) |
|
|
|
253 | (1) |
|
|
|
253 | (3) |
|
B.6 Sending Patches for Octave |
|
|
256 | (1) |
|
B.7 How To Get Help with Octave |
|
|
257 | (2) |
| Appendix C Installing Octave |
|
259 | (10) |
|
|
|
262 | (1) |
|
C.2 Installation Problems |
|
|
262 | (4) |
|
|
|
266 | (3) |
|
C.3.1 Installing Octave from a Binary Distribution |
|
|
266 | (1) |
|
C.3.2 Creating a Binary Distribution |
|
|
267 | (2) |
| Appendix D Emacs Octave Support |
|
269 | (12) |
|
|
|
269 | (1) |
|
|
|
269 | (5) |
|
D.3 Running Octave From Within Emacs |
|
|
274 | (2) |
|
D.4 Using the Emacs Info Reader for Octave |
|
|
276 | (3) |
|
|
|
279 | (2) |
|
|
|
279 | (2) |
| Appendix E GNU GENERAL PUBLIC LICENSE |
|
281 | (10) |
|
|
|
281 | (1) |
|
E.2 Terms and Conditions for Copying, Distribution and Modification |
|
|
282 | (6) |
|
E.3 Appendix: How to Apply These Terms to Your New Programs |
|
|
288 | (3) |
| Other Scientific Packages for the GNU System |
|
291 | (4) |
|
|
|
291 | (1) |
|
|
|
292 | (1) |
|
|
|
293 | (1) |
|
|
|
293 | (2) |
| Variable Index |
|
295 | (4) |
| Operator Index |
|
299 | (2) |
| Function Index |
|
301 | (6) |
| Concept Index |
|
307 | |