「GNU Octave/Octファイル」の版間の差分

削除された内容 追加された内容
コンストラクタ
Hello world!
5 行
 
== Octファイルの実行例 ==
=== Hello world! ===
<source lang="cpp">
#include <octave/oct.h>
 
DEFUN_DLD (helloworld, args, nargout,
"Hello World Help String")
{
int nargin = args.length ();
 
octave_stdout << "Hello World has "
<< nargin << " input arguments and "
<< nargout << " output arguments.\n";
 
return octave_value_list ();
}
</source>
 
=== 実数入力可算 ===
<source lang="cpp">