Difference between revisions of "Modules"

From Remeis-Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
Have a look here http://www.jedsoft.org/slang/modules/ for a list of common modules.
 
Have a look here http://www.jedsoft.org/slang/modules/ for a list of common modules.
 
Some modules you have to know:
 
Some modules you have to know:
* [[slxfig|xfig]] - plotting with XFig
+
* [[Plotting_with_the_S-Lang_Xfig_module|xfig]] - plotting with XFig
 
* [http://space.mit.edu/cxc/software/slang/modules/gsl/doc/html/slgsl.html gsl] - GNU scientific library
 
* [http://space.mit.edu/cxc/software/slang/modules/gsl/doc/html/slgsl.html gsl] - GNU scientific library
 
* stats - several statistic functions and tests
 
* stats - several statistic functions and tests

Revision as of 16:57, 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