Difference between revisions of "Modules"

From Remeis-Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
* stats - several statistic functions and tests
 
* stats - several statistic functions and tests
 
* rand - random number/distribution module
 
* rand - random number/distribution module
* [[profile]] - Run-time profiler: Analyses (nested) function run-times
+
* [[Profile]] - Run-time profiler: Analyses (nested) function run-times
 
* [[socket]] - basic communication functions via TCP/IP
 
* [[socket]] - basic communication functions via TCP/IP
  
 
[[Category:Isis / Slang]]
 
[[Category:Isis / Slang]]

Revision as of 17:00, 11 April 2018

Useful S-Lang modules

S-Lang modules are packages containing several functions. They have to be loaded before they can be used:

 isis> require("modulename");

Have a look here http://www.jedsoft.org/slang/modules/ for a list of common modules. Some modules you have to know:

  • xfig - plotting with XFig
  • gsl - GNU scientific library
  • stats - several statistic functions and tests
  • rand - random number/distribution module
  • Profile - Run-time profiler: Analyses (nested) function run-times
  • socket - basic communication functions via TCP/IP