Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab manual >> Functions > recompilefunction

recompilefunction

型を変更し,Scilab関数を再コンパイルする

呼び出し手順

recompilefunction(funname [,kind [,force]])

パラメータ

funname

文字列, 再コンパイルする関数の名前

kind

文字列: "n" (コンパイル前, 11型), "c" (コンパイル済み, 13型) または "p" (コンパイル済み, type 型, プロファイル用). デフォルト: "c".

force

論理値. falseの場合, 関数は kind が変更された場合のみ再コンパイルされます; true の場合, 同じ kind が維持される場合でも再コンパイルされます (プロファイル統計をリセットするために "p" 関数を再コンパイルする場合に特に有用です).

説明

  • この関数はfun2stringにより 関数変数を逆コンパイルし, deffにより 指定した kind に再コンパイルします.

recompilefunction("asinh","p")
for i=1:100; asinh(rand(100,100)); end
showprofile(asinh)

作者

Enrico Segre

参考文献

http://wiki.scilab.org/Scilab_function_variables%3A_representation%2C_manipulation

<< macrovar Functions varargin >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:25:14 CET 2011