Mercurial > hg > octave-nkf
comparison doc/interpreter/func.texi @ 3131:9c5160c83bd2
[project @ 1998-01-29 04:46:33 by jwe]
author | jwe |
---|---|
date | Thu, 29 Jan 1998 04:46:36 +0000 |
parents | 91589ab98e37 |
children | 7aae2c3636a7 |
comparison
equal
deleted
inserted
replaced
3130:02766207b74c | 3131:9c5160c83bd2 |
---|---|
953 dynamically linked function, compared to about 19 seconds using the | 953 dynamically linked function, compared to about 19 seconds using the |
954 M-file. Similar decreases in execution time can be expected for other | 954 M-file. Similar decreases in execution time can be expected for other |
955 functions, particularly those that rely on functions like @code{lsode} | 955 functions, particularly those that rely on functions like @code{lsode} |
956 that require user-supplied functions. | 956 that require user-supplied functions. |
957 | 957 |
958 Additional examples are available in the files in the @file{src} | 958 Just as for M-files, Octave will automatically reload dynamically linked |
959 directory of the Octave distribution. Currently, this includes the | 959 functions when the files that define them are more recent than the last |
960 files | 960 time that the function was loaded. Two variables are available to |
961 control how Octave behaves when dynamically linked functions are cleared | |
962 or reloaded. | |
963 | |
964 @defvr {Built-in Variable} auto_unload_dot_oct_files | |
965 If the value of @code{auto_unload_dot_oct_files} is nonzero, Octave will | |
966 automatically unload any @file{.oct} files when there are no longer any | |
967 functions in the symbol table that reference them. | |
968 @end defvr | |
969 | |
970 @defvr {Built-in Variable} warn_reload_forces_clear | |
971 If several functions have been loaded from the same file, Octave must | |
972 clear all the functions before any one of them can be reloaded. If | |
973 @code{warn_reload_forces_clear}, Octave will warn you when this happens, | |
974 and print a list of the additional functions that it is forced to clear. | |
975 @end defvr | |
976 | |
977 Additional examples for writing dynamically linked functions are | |
978 available in the files in the @file{src} directory of the Octave | |
979 distribution. Currently, this includes the files | |
961 | 980 |
962 @example | 981 @example |
963 @group | 982 @group |
964 balance.cc fft2.cc inv.cc qzval.cc | 983 balance.cc fft2.cc inv.cc qzval.cc |
965 chol.cc filter.cc log.cc schur.cc | 984 chol.cc filter.cc log.cc schur.cc |