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

Specfun

A collection of special functions
(1346 downloads for this version - 97937 downloads for all versions)
Details
Version
0.3
A more recent valid version with binaries for Scilab 5.3 exists: 0.4
Author
Michaël Baudin
Owner Organization
DIGITEO
Maintainer
Michael BAUDIN
License
Dependencies
Creation Date
December 22, 2010
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("specfun")
Description
            Purpose
--------

The goal of this toolbox is to provide special functions.
The toolbox is based on macros.
Any distribution function (cumulated or not) should not be placed 
into this module: the good module for this is distfun.

This module depends on :
 * the apifun module,
 * the assert module.

Features
--------

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_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.

Authors
------

2010, DIGITEO, Michael Baudin
2009, Pascal Getreuer

Acknowledgements
----------------

Samuel Gougeon
Calixte Denizet

            
Files (2)
[88.81 kB]
Source code archive

[163.14 kB]
OS-independent binary for Scilab 5.3.x
Binary version
Automatically generated by the ATOMS compilation chain

News (0)
Comments (2)     Leave a comment 
Comment -- January 6, 2011, 09:24:58 AM    
This version has no known issue.

-->atomsTest('specfun')
   TMPDIR = C:\Users\baudin\AppData\Local\Temp\SCI_TMP_10076_

   001/012 - [SCIHOME\atoms\specfun\0.3-1] checkflint..............passed 
   002/012 - [SCIHOME\atoms\specfun\0.3-1] combine.................passed 
   003/012 - [SCIHOME\atoms\specfun\0.3-1] combinerepeat...........passed 
   004/012 - [SCIHOME\atoms\specfun\0.3-1] expm1...................passed 
   005/012 - [SCIHOME\atoms\specfun\0.3-1] factorial...............passed 
   006/012 - [SCIHOME\atoms\specfun\0.3-1] factoriallog............passed 
   007/012 - [SCIHOME\atoms\specfun\0.3-1] gammainc................passed 
   008/012 - [SCIHOME\atoms\specfun\0.3-1] lambertw................passed 
   009/012 - [SCIHOME\atoms\specfun\0.3-1] log1p...................passed 
   010/012 - [SCIHOME\atoms\specfun\0.3-1] nchoosek................passed 
   011/012 - [SCIHOME\atoms\specfun\0.3-1] pascal..................passed 
   012/012 - [SCIHOME\atoms\specfun\0.3-1] subset..................passed 

   --------------------------------------------------------------------------
   Summary

   tests                       12 - 100 % 
   passed                      12 - 100 % 
   failed                       0 -   0 % 
   skipped                      0 -   0 % 
   length                          8.81 sec 
   --------------------------------------------------------------------------
Comment -- January 6, 2011, 09:26:23 AM    
Here are the CHANGES for this version.


specfun (0.3)
    * Created specfun_getpath.
    * Improved robustness and help page of nchoosek.
    * In expm1, added unit tests for robustness.
    * In log1p, added unit tests for robustness.
    * In lambertw, added unit tests for robustness.
    * In lambertw, changed order of b and z for consistency (backward compatibility lost).
    * Removed assert function from all unit tests. Module specfun now depends on assert 
module.
    * In lambertw, improved management and testing of %inf, %nan and zero.
    * Made consistent use of specfun_checkflint.
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.