unique - unique element

Syntax: any unique(any x)
Description: Return x sorted into ascending order with duplicate elements removed.
Examples: x unique(x)
3
3
1
2
1
2
3
See also: sort

use_library - load dynamic library (UNIX only)

Syntax: float use_library(string filename)
Description: Make the members of the shared library filename available as GSL functions
  • This function is only available on UNIX
  • The library must contain a function RegisterUserFunc which describes the functions available in the library. See User Functions
  • use_library returns 0 on success and -1 on failure.
Examples:
use_library("$UNIDIR/lib/UserFunc.so");

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.