Modules

From Remeis-Wiki
Jump to navigation Jump to search

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