Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Specfun details
Please login or create an account

Specfun

(639/8392 downloads)
A collection of special functions
Details
Version
0.3-1
Most recent version: 0.4.1
Author(s)
Michaël Baudin
Entity
DIGITEO
Package maintainer
Michael Baudin
License
Supported Scilab Versions
>= 5.3
Dependencies
Apifun (any version)
Assert (≥ 1.0)
Creation Date
22nd of December 2010
ATOMS packaging system
Available on
How To Install
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)
[159.31 Ko] specfun_0.3-1.bin.zip
Binary version
Automatically generated by the ATOMS compilation chain

News (0)
Comments (2)
    Leave a comment 
Comment from Michael Baudin -- 6th of January 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 from Michael Baudin -- 6th of January 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 need to log in before you can leave a comment.