Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Specfun details
Login with GitLab


A collection of special mathematical functions
(31762 downloads for this version - 100482 downloads for all versions)
Michaël Baudin
Owner Organization
Scilab Enterprises
Administrator ATOMS
Michael BAUDIN
Samuel Gougeon
Creation Date
July 14, 2018
Source created on
Scilab 6.0.x
Binaries available on
Scilab 5.5.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Scilab 6.0.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Scilab 6.1.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("specfun")

The goal of this toolbox is to provide special functions.
The toolbox is based on macros.


The following is a list of the current features: 

 * specfun_expm1 : Compute exp(x)-1 accurately for small values of x.
 * specfun_gammainc : The incomplete gamma function.
 * specfun_lambertw : The Lambert W-Function.
 * specfun_log1p : Compute log(1+x) accurately for small values of x.
 *  Discrete Maths
   * specfun_combine : Returns the all the combinations of the given vectors.
   * specfun_combinerepeat : Returns repeated combinations with replacement.
   * specfun_factorial : The factorial function
   * specfun_factoriallog : The log-factorial function
   * specfun_ismember : Array elements that are members of set.
   * specfun_nchoosek : Returns the binomial number (n,k).
   * specfun_pascal : Returns the Pascal matrix.
   * specfun_subset : Generate all combinations of k values from x 
                      without replacement.


Samuel Gougeon
Calixte Denizet

CHANGES 0.5.1 => 0.6
* builder.sce can now build for both Scilab 5 and Scilab 6
* Dependency on helptbx removed: helptbx_helpupdate() is useful
  only for maintainers (to maintain help pages), never for users.
* readme.txt updated: specfun no longer depends on the assert and
  helptbx modules.
* specfun_subset()
  -- extended to int64 & uint64
  -- fixed against "operation +-[]" errors
* help pages:
  -- specfun code keywords were not highlighted
  -- misc. improvements (indentation, etc)
* (specfun.start now checks that dependences are loaded.)
Files (4)
[83.82 kB]
Source code archive

[145.17 kB]
OS-independent binary for Scilab 5.5.x

[166.81 kB]
OS-independent binary for Scilab 6.0.x

[166.81 kB]
OS-independent binary for Scilab 6.1.x

News (0)
Comments (1)     Leave a comment 
Comment from Samuel Gougeon -- August 19, 2018, 08:58:54 PM    
From 2018-07-14 to 2018-08-19, an error in specfun.start for Scilab 6.0 prevented loading 
the module correctly.
This is now fixed in the current binary.
All the modules depending on specfun directly or indirectly might have been hindered:
distfun  floatingpoint  makematrix  number  Ortpol  scidoe  stixbox
Sorry for this inconvenience.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.