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
(3815 downloads for this version - 98605 downloads for all versions)
Details
Version
0.4
A more recent valid version exists: 0.6
Author
Michaël Baudin
Owner Organization
DIGITEO
Maintainer
Michael BAUDIN
License
Dependencies
Creation Date
October 19, 2011
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.

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

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

Samuel Gougeon
Calixte Denizet

            
Files (2)
[88.72 kB]
Source code archive

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

News (0)
Comments (4)     Leave a comment 
Comment -- October 19, 2011, 10:48:14 AM    
Here is the changelog of the v0.2.

specfun (0.2)
    * combine created
    * combinerepeat created
    * subset created
    * made a consistent use of the apifun module
Comment -- October 19, 2011, 10:48:33 AM    
Here is the changelog of the v0.3.


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.
Comment -- October 20, 2011, 11:27:03 AM    
The v0.4 is correctly packaged. I checked this with Win Vista and Scilab 5.3.2.


-->atomsSystemUpdate()
-->atomsInstall('specfun')
 ans  =
!specfun  0.4-2  allusers  SCI\contrib\specfun\0.4-2  I  !
-->atomsLoad('specfun')
Start specfun
	Load macros
	Load help
	Load demos
	Type "help Specfun Toolbox" for quick start.
	Type "demo_gui()" and search for "specfun" for Demonstrations.
 ans  =
!specfun  0.4-2  allusers  SCI\contrib\specfun\0.4-2  !
-->atomsTest('specfun')
   TMPDIR = C:\Users\baudin\AppData\Local\Temp\SCI_TMP_6992_

   001/012 - [SCI\contrib\specfun\0.4-2] combine...................passed 
   002/012 - [SCI\contrib\specfun\0.4-2] combinerepeat.............passed 
   003/012 - [SCI\contrib\specfun\0.4-2] expm1.....................passed 
   004/012 - [SCI\contrib\specfun\0.4-2] factorial.................passed 
   005/012 - [SCI\contrib\specfun\0.4-2] factoriallog..............passed 
   006/012 - [SCI\contrib\specfun\0.4-2] gammainc..................passed 
   007/012 - [SCI\contrib\specfun\0.4-2] ismember..................passed 
   008/012 - [SCI\contrib\specfun\0.4-2] lambertw..................passed 
   009/012 - [SCI\contrib\specfun\0.4-2] log1p.....................passed 
   010/012 - [SCI\contrib\specfun\0.4-2] nchoosek..................passed 
   011/012 - [SCI\contrib\specfun\0.4-2] pascal....................passed 
   012/012 - [SCI\contrib\specfun\0.4-2] subset....................passed 

Michaël Baudin
Comment -- October 20, 2011, 11:27:44 AM    
Here is the changelog for the version 0.4.

specfun (0.4)
    * Improved specfun_combine, to remove Kronecker product.
    * Added specfun_ismember.
    * Used apifun_argindefault.
    * Removed specfun_checkflint.
      Replaced with apifun_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.