Copyright © 1996-2024 The Octave Project Developers
本マニュアルのコピーを作成し頒布することを許可します。ただし、すべてのコピーに著作権表示とこの許可表示を残すことを条件とします。
本マニュアルの改変版を逐訳のコピーの条件下でコピーし、頒布することを許可します。
ただし、結果として生じる派生著作物全体が、本マニュアルと同一の許可通知の条件下で頒布されることを条件とします。
このマニュアルの他の言語への翻訳を、上記の修正版の条件のもとでコピーし配布することを許可します。
Copyright © 1996-2024 The Octave Project Developers
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 above conditions for modified versions.
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 9.4.0.
Table of Contents:目次
- Preface:まえがき
- Acknowledgements:謝辞
- Citing Octave in Publications:出版物におけるOctaveの引用について
- How You Can Contribute to Octave:Octaveに貢献するには:
- Distribution:頒布
- 1 A Brief Introduction to Octave:Octave入門
- 1.1 Running Octave:Octaveの起動
- 1.2 Simple Examples:簡単な例
- 1.2.1 Elementary Calculations:基本的な計算
- 1.2.2 Creating a Matrix:行列の作り方
- 1.2.3 Matrix Arithmetic:行列計算
- 1.2.4 Solving Systems of Linear Equations:連立一次方程式の解き方
- 1.2.5 Integrating Differential Equations:微分方程式・積分
- 1.2.6 Producing Graphical Output:描画作成
- 1.2.7 Help and Documentation:ヘルプとドキュメント
- 1.2.8 Editing What You Have Typed:入力した文の編集
- 1.3 Conventions:規則
- 2 Getting Started:始めに
- 2.1 Invoking Octave from the Command Line:コマンドラインからのOctaveの起動
- 2.2 Quitting Octave:Octaveの終了
- 2.3 Commands for Getting Helpヘルプを得るためのコマンド
- 2.4 Command Line Editingコマンドライン編集
- 2.5 How Octave Reports Errorsオクターブによるエラーの報告方法
- 2.6 Executable Octave Programs:実行可能なオクターブプログラム
- 2.7 Comments in Octave Programs:Octaveプログラムのコメント
- 3 Data Types:データ型
- 3.1 Built-in Data Types:組み込みデータ型
- 3.2 User-defined Data Types:ユーザー定義データ型
- 3.3 Object Sizes:オブジェクトのサイズ
- 4 Numeric Data Types数値データ型
- 5 Strings:文字列
- 6 Data Containers:データコンテナ
- 7 Variables:変数
- 8 Expressions:インデックス式
- 9 Evaluation:評価
- 10 Statements:ステートメント
- 10.1 The if Statement:if文
- 10.2 The switch Statement:switch文
- 10.3 The while Statement:while文
- 10.4 The do-until Statement:do-until 文
- 10.5 The for Statement:for 文
- 10.6 The break Statement:break 文
- 10.7 The continue Statement:continue 文
- 10.8 The unwind_protect Statement:unwind_protect ステートメント
- 10.9 The try Statement:try 文
- 10.10 Continuation Lines:継続行
- 11 Functions and Scripts: 関数とスクリプト
- 11.1 Introduction to Function and Script Files:関数とスクリプトファイルの概要
- 11.2 Defining Functions:関数の定義
- 11.3 Returning from a Function:関数からの戻り
- 11.4 Multiple Return Values:複数の戻り値
- 11.5 Variable-length Return Lists:可変長の戻りリスト
- 11.6 Variable-length Argument Lists:可変長引数リスト
- 11.7 Ignoring Arguments:引数を無視する
- 11.8 Default Arguments:デフォルト引数
- 11.9 Validating Arguments:引数の検証
- 11.10 Function Files:関数ファイル
- 11.11 Script Files:スクリプトファイル
- 11.11.1 Publish Octave Script Files:Octave スクリプトファイルの公開
- 11.11.2 Publishing Markup:公開マークアップ
- 11.11.2.1 Using Publishing Markup in Script Files:スクリプトファイルでの公開マークアップの使用
- 11.11.2.2 Text Formatting:テキストの書式設定
- 11.11.2.3 Sections:セクション
- 11.11.2.4 Preformatted Code:フォーマット済みコード
- 11.11.2.5 Preformatted Text:整形済みテキスト
- 11.11.2.6 Bulleted Lists:箇条書きリスト
- 11.11.2.7 Numbered Lists:番号付きリスト
- 11.11.2.8 Including File Content:ファイルコンテンツのインクルード
- 11.11.2.9 Including Graphics:グラフィックスの組み込み
- 11.11.2.10 Including URLs:URL の挿入
- 11.11.2.11 Mathematical Equations:数式
- 11.11.2.12 HTML Markup:HTML マークアップ
- 11.11.2.13 LaTeX Markup:LaTeX マークアップ
- 11.11.3 Jupyter Notebooks:Jupyter ノートブック
- 11.12 Function Handles and Anonymous Functions:関数ハンドルと無名関数
- 12 Errors and Warnings:エラーと警告
- 13 Debugging:デバッグ
- 14 Input and Output:入力と出力
- 14.1 Basic Input and Output: 基本的な入出力
- 14.2 C-Style I/O Functions:CスタイルのI/O関数
- 14.2.1 Opening and Closing Files:ファイルのオープンとクローズ
- 14.2.2 Simple Output:シンプルな出力
- 14.2.3 Line-Oriented Input:行指向入力
- 14.2.4 Formatted Output:フォーマットされた出力
- 14.2.5 Output Conversion for Matrices:行列の出力変換
- 14.2.6 Output Conversion Syntax:出力変換構文
- 14.2.7 Table of Output Conversions:出力変換表
- 14.2.8 Integer Conversions: 整数変換
- 14.2.9 Floating-Point Conversions:浮動小数点変換
- 14.2.10 Other Output Conversions:その他の出力変換
- 14.2.11 Formatted Input:フォーマットされた入力
- 14.2.12 Input Conversion Syntax:入力変換構文
- 14.2.13 Table of Input Conversions:入力変換表
- 14.2.14 Numeric Input Conversions:数値入力変換
- 14.2.15 String Input Conversions:文字列入力変換
- 14.2.16 Binary I/O:バイナリI/O:バイナリI/O
- 14.2.17 Temporary Files:一時ファイル
- 14.2.18 End of File and Errors:ファイルの終わりとエラー
- 14.2.19 File Positioning:ファイルの位置指定
- 15 Plotting:プロット
- 15.1 Introduction to Plotting:プロット入門
- 15.2 High-Level Plotting:高レベルのプロット
- 15.2.1 Two-Dimensional Plots:2次元プロット
- 15.2.1.1 Axis Configuration:軸の設定
- 15.2.1.2 Two-dimensional Function Plotting:2次元関数のプロット
- 15.2.1.3 Two-dimensional Geometric Shapes:2次元の幾何学的形状
- 15.2.2 Three-Dimensional Plots:3次元プロット
- 15.2.2.1 Aspect Ratio:アスペクト比
- 15.2.2.2 Three-dimensional Function Plotting:3次元関数プロット
- 15.2.2.3 Three-dimensional Geometric Shapes:3次元幾何学的形状
- 15.2.3 Plot Annotations:プロット注釈
- 15.2.4 Multiple Plots on One Page:1ページに複数のプロットを表示する
- 15.2.5 Multiple Plot Windows:複数のプロットウィンドウ
- 15.2.6 Manipulation of Plot Objects:プロットオブジェクトの操作
- 15.2.7 Manipulation of Plot Windows:プロットウィンドウの操作
- 15.2.8 Use of the interpreter Property:インタープリタ・プロパティの使用
- 15.2.8.1 none interpreter:"none" インタープリタ
- 15.2.8.2 tex interpreter:"tex" インタープリタ
- 15.2.8.3 latex interpreter:"latex" インタプリタ
- 15.2.9 Printing and Saving Plots:プロットの印刷と保存
- 15.2.10 Interacting with Plots:プロットの操作
- 15.2.11 Test Plotting Functions:プロット関数のテスト
- 15.3 Graphics Data Structures:グラフィックスデータ構造
- 15.3.1 Introduction to Graphics Structures:グラフィックス構造の紹介
- 15.3.2 Graphics Objects:グラフィックスオブジェクト
- 15.3.2.1 Creating Graphics Objects
- 15.3.2.2 Handle Functions
- 15.3.3 Graphics Object Properties:グラフィックスオブジェクトのプロパティ
- 15.3.3.1 Root Properties:ルートプロパティ
- 15.3.3.2 Figure Properties:図のプロパティ
- 15.3.3.3 Axes Properties:軸のプロパティ
- 15.3.3.4 Legend Properties:凡例プロパティ
- 15.3.3.5 Line Properties:線のプロパティ
- 15.3.3.6 Text Properties:テキストプロパティ
- 15.3.3.7 Image Properties:画像のプロパティ
- 15.3.3.8 Patch Properties:パッチプロパティ
- 15.3.3.9 Scatter Properties:散布図プロパティ
- 15.3.3.10 Surface Properties:表面プロパティ
- 15.3.3.11 Light Properties:ライトのプロパティ
- 15.3.3.12 Uimenu Properties:Uimenu プロパティ
- 15.3.3.13 Uibuttongroup Properties:Uibuttongroup プロパティ
- 15.3.3.14 Uicontextmenu Properties:Uicontextmenu プロパティ
- 15.3.3.15 Uipanel Properties:Uipanel プロパティ
- 15.3.3.16 Uicontrol Properties:Uicontrol プロパティ
- 15.3.3.17 Uitable Properties:Uitableプロパティ
- 15.3.3.18 Uitoolbar Properties:Uitoolbar プロパティ
- 15.3.3.19 Uipushtool Properties:Uipushtool プロパティ
- 15.3.3.20 Uitoggletool Properties:Uitoggletool プロパティ
- 15.3.4 Searching Properties: プロパティの検索
- 15.3.5 Managing Default Properties:デフォルトプロパティの管理
- 15.4 Advanced Plotting:高度なプロット
- 15.4.1 Colors:色
- 15.4.2 Line Styles:線のスタイル
- 15.4.3 Marker Styles:マーカースタイル
- 15.4.4 Callbacks:コールバック
- 15.4.5 Application-defined Data:アプリケーション定義データ
- 15.4.6 Object Groups:オブジェクトグループ
- 15.4.6.1 Data Sources in Object Groups:オブジェクトグループ内のデータソース
- 15.4.6.2 Area Series:エリアシリーズ
- 15.4.6.3 Bar Series:バーシリーズ
- 15.4.6.4 Contour Groups:輪郭グループ
- 15.4.6.5 Error Bar Series:エラーバーシリーズ
- 15.4.6.6 Line Series:線シリーズ
- 15.4.6.7 Quiver Group:クィバーグループ
- 15.4.6.8 Stair Group:階段グループ
- 15.4.6.9 Stem Series:ステムシリーズ
- 15.4.6.10 Surface Group:サーフェスグループ
- 15.4.7 Transform Groups:変換グループ
- 15.4.8 Graphics Toolkits:グラフィックスツールキット
- 15.4.8.1 Customizing Toolkit Behavior:ツールキットの動作のカスタマイズ
- 15.4.8.2 Hardware vs Software Rendering:ハードウェアレンダリングとソフトウェアレンダリング
- 15.4.8.3 Precision issues:精度の問題
- 16 Matrix Manipulation:行列操作
- 17 Arithmetic:算術
- 18 Linear Algebra:線形代数
- 19 Vectorization and Faster Code Execution:ベクトル化とコード実行の高速化
- 20 Nonlinear Equations:非線形方程式
- 21 Diagonal and Permutation Matrices:対角行列と順列行列
- 21.1 Creating and Manipulating Diagonal/Permutation Matrices:対角行列/順列行列の作成と操作
- 21.2 Linear Algebra with Diagonal/Permutation Matrices:対角行列/順列行列を使った線形代数
- 21.3 Functions That Are Aware of These Matrices:これらの行列を認識する関数
- 21.4 Examples of Usage:使用例
- 21.5 Differences in Treatment of Zero Elements:ゼロ要素の扱いの違い
22 Sparse Matrices:疎行列- 22.1 Creation and Manipulation of Sparse Matrices:疎行列の作成と操作
- 22.1.1 Storage of Sparse Matrices:疎行列の格納
- 22.1.2 Creating Sparse Matrices:疎行列の作成
- 22.1.3 Finding Information about Sparse Matrices:疎行列に関する情報の検索
- 22.1.4 Basic Operators and Functions on Sparse Matrices:疎行列に対する基本的な演算子と関数
- 22.1.4.1 Sparse Functions:スパース関数
- 22.1.4.2 Return Types of Operators and Functions:演算子と関数の戻り値の型
- 22.1.4.3 Mathematical Considerations:数学的な考慮事項
- 22.2 Linear Algebra on Sparse Matrices:疎行列上の線形代数
- 22.3 Iterative Techniques Applied to Sparse Matrices:疎行列に適用される反復手法
- 22.4 Real Life Example using Sparse Matrices:疎行列を使った実際の例
- 23 Numerical Integration:数値積分
- 24 Differential Equations:微分方程式
- 25 Optimization:最適化
- 26 Statistics:統計
- 27 Sets:セット
- 28 Polynomial Manipulations:多項式操作
- 29 Interpolation:補間
- 30 Geometry:幾何学
- 31 Signal Processing:信号処理
- 32 Image Processing:画像処理
- 33 Audio Processing:オーディオ処理
- 34 Object Oriented Programming:オブジェクト指向プログラミング
- 35 GUI Development:GUI開発
- 36 System Utilities:システムユーティリティ
- 36.1 Timing Utilities:タイミングユーティリティ
- 36.2 Filesystem Utilities:ファイルシステムユーティリティ
- 36.3 File Archiving Utilities:ファイルアーカイブユーティリティ
- 36.4 Networking Utilities:ネットワークユーティリティ
- 36.5 Controlling Subprocesses:サブプロセスの制御
- 36.6 Process, Group, and User IDs:プロセス、グループ、およびユーザーID
- 36.7 Environment Variables:環境変数
- 36.8 Current Working Directory:現在の作業ディレクトリ
- 36.9 Password Database Functions:パスワードデータベース関数
- 36.10 Group Database Functions:グループデータベース関数
- 36.11 System Information:システム情報
- 36.12 Hashing Functions:ハッシュ関数
- 37 Packages:パッケージ
- Appendix A External Code Interface
- A.1 Oct-Files
- A.1.1 Getting Started with Oct-Files
- A.1.2 Matrices and Arrays in Oct-Files
- A.1.3 Character Strings in Oct-Files
- A.1.4 Cell Arrays in Oct-Files
- A.1.5 Structures in Oct-Files
- A.1.6 Sparse Matrices in Oct-Files
- A.1.6.1 Array and Sparse Class Differences
- A.1.6.2 Creating Sparse Matrices in Oct-Files
- A.1.6.3 Using Sparse Matrices in Oct-Files
- A.1.7 Accessing Global Variables in Oct-Files
- A.1.8 Calling Octave Functions from Oct-Files
- A.1.9 Calling External Code from Oct-Files
- A.1.10 Allocating Local Memory in Oct-Files
- A.1.11 Input Parameter Checking in Oct-Files
- A.1.12 Exception and Error Handling in Oct-Files
- A.1.13 Documentation and Testing of Oct-Files
- A.1 Oct-Files
- A.2 Mex-Files
- A.2.1 Getting Started with Mex-Files
- A.2.2 Working with Matrices and Arrays in Mex-Files
- A.2.3 Character Strings in Mex-Files
- A.2.4 Cell Arrays with Mex-Files
- A.2.5 Structures with Mex-Files
- A.2.6 Sparse Matrices with Mex-Files
- A.2.7 Calling Other Functions in Mex-Files
- A.3 Standalone Programs
- A.4 Java Interface
- A.4.1 Making Java Classes Available
- A.4.2 How to use Java from within Octave
- A.4.3 Set up the JVM
- A.4.4 Java Interface Functions
- Appendix B Test and Demo Functions
- B.1 Test Functions
- B.2 Demonstration Functions
- Appendix C Obsolete Functions
- Appendix D Known Causes of Trouble
- D.1 Actual Bugs We Haven’t Fixed Yet
- D.2 Reporting Bugs
- D.2.1 Have You Found a Bug?
- D.2.2 Where to Report Bugs
- D.2.3 How to Report Bugs
- D.2.4 Sending Patches for Octave
- D.3 How To Get Help with Octave
- D.4 How to Distinguish Between Octave and Matlab
- Appendix E Installing Octave
- E.1 Build Dependencies
- E.1.1 Obtaining the Dependencies Automatically
- E.1.2 Build Tools
- E.1.3 External Packages
- E.2 Running Configure and Make
- E.3 Compiling Octave with 64-bit Indexing
- E.4 Installation Problems
- E.1 Build Dependencies
- Appendix F Grammar and Parser
- Appendix G GNU GENERAL PUBLIC LICENSE
- Concept Index
- Function Index
- Operator Index
- Graphics Properties Index