Add help informations for numerical integration functions - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/help.lua
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年08月24日 17:12:41 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年08月24日 17:12:41 +0200
commitcc057826b4036cbb50e7f54ec2edd3290dc22944 (patch)
tree0d66809069b9f585331db593368f7f1adf3ae957 /help.lua
parent10181f3b0098551f530e69cfc7d89221dac9332c (diff)
downloadgsl-shell-cc057826b4036cbb50e7f54ec2edd3290dc22944.tar.gz
Add help informations for numerical integration functions
Diffstat (limited to 'help.lua')
-rw-r--r--help.lua 9
1 files changed, 8 insertions, 1 deletions
diff --git a/help.lua b/help.lua
index cbc5fe3a..279ddc20 100644
--- a/help.lua
+++ b/help.lua
@@ -1,5 +1,10 @@
-local help_files = {'graphics', 'matrix', 'iter'}
+local help_files = {'graphics', 'matrix', 'iter', 'integ', 'ode'}
+
+local function help_init( ... )
+ local REG = debug.getregistry()
+ REG['GSL.help_hook'] = {}
+end
local function open_module(modname)
local fullname = string.format('help/%s.lua', modname)
@@ -17,6 +22,8 @@ local function search_help(func)
end
end
+help_init()
+
-- declare a global function
function help(func)
local txt = search_help(func) or "No help found for the given function"
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月18日 21:45:25 +0000

AltStyle によって変換されたページ (->オリジナル) /