Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Português

Change language to:
English - Français - 日本語 -

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.

Manual Scilab >> Funções > recompilefunction

recompilefunction

recompila uma função Scilab modificando o seu tipo

Seqüência de Chamamento

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

Parâmetros

funname

string, nome da função a ser recompilada

kind

string: "n" (não compilado, tipo 11), "c" (compilado, tipo 13) or "p" (compilado, tipo 13, preparado para profiling). Pardrão: "c".

force

booleano. Se falso, a função é recompilada apenas se seu tipo mudar; se verdadeiro, é recompilada ainda que mantenha o tipo (notavelmente útil para compilar uma função "p" function, para reiniciar as estatísticas de profiling).

Descrição

  • Esta função compila reversamente uma variável função via fun2string, e a recompila para o tipo desejado através de deff.

Exemplos

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

Autor

Enrico Segre

Bibliografia

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

<< macrovar Funções 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:24:43 CET 2011