Scilab 5.3.0
- Scilab Online Help
- Scilab
- Scilab keywords
- TMPDIR
- abort
- add_demo
- argn
- banner
- boolean
- break
- clear
- clearfun
- clearglobal
- comp
- continue
- debug
- delbpt
- dispbpt
- edit
- errcatch
- errclear
- error
- error_table
- exists
- exit
- external
- extraction
- format
- funcprot
- funptr
- getdebuginfo
- getmd5
- getmemory
- getmodules
- getos
- getscilabmode
- getshell
- getvariablesonstack
- getversion
- gstacksize
- ieee
- insertion
- intppty
- inv_coeff
- iserror
- isglobal
- lasterror
- macr2lst
- macr2tree
- matrices
- matrix
- mode
- mtlb_mode
- names
- newfun
- null
- pause
- perl
- poly
- predef
- quit
- rational
- readgateway
- resume
- sciargs
- scilab
- setbpt
- sethomedirectory
- stacksize
- startup
- symbols
- testmatrix
- type
- typename
- user
- varn
- ver
- warning
- what
- where
- whereami
- who
- who_user
- whos
- with_atlas
- with_gtk
- with_javasci
- with_macros_source
- with_module
- with_pvm
- with_texmacs
- with_tk
Please note that the recommended version of Scilab is 5.3.3. This page might be outdated.
See the recommended documentation of this function
comp
scilab 関数のコンパイル
呼び出し手順
comp(function [,opt])
パラメータ
- function
コンパイルされていないscilab関数 (タイプ 11)
- opt
フラグ. 値は 0 (デフォルト), 1 または 2.
説明
comp(function) は関数
functionをコンパイルします.
コンパイル済みの関数と解釈された関数は等価ですが,
通常はコンパイル済みの関数の方がはるかに高速です.
標準ライブラリとして提供される関数はコンパイルされています.
コマンドexecとdeffの短縮構文と
同様に,オンライン定義もコンパイルされた関数を生成します.
このため, comp は非常に多くの場面で使用されます.
コンパイルされていない関数を作成するには,
exec または
deff に
オプション "n" を指定する必要があります.
値 opt==2 は,"プロファイル用に"コンパイルされた 関数を作成します. add_profiling関数により, コンパイル後でもプロファイル命令を追加することが可能になっています.
古い opt==1 オプションは コード解析用で無視されます.
注意: コンパイルは"インプレース"で行われます, すなわち, 元の関数は修正され,新しいオブジェクトは生成されません.
| << clearglobal | Scilab | continue >> |