Specfun

Specfun

Specfun toolbox

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.

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.

Dependencies

  • This module depends on the apifun module (>= v0.2)
  • This module depends on the assert module
  • This module depends on the helptbx module

Forge

http://forge.scilab.org/index.php/p/specfun/

ATOMS

http://atoms.scilab.org/toolboxes/specfun

Authors

  • 2010, DIGITEO, Michael Baudin
  • 2009, Pascal Getreuer

Acknowledgements

  • Samuel Gougeon
  • Calixte Denizet

Licence

This toolbox is released under the CeCILL_V2 licence :

http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt

Powered by InDefero,
a Céondo Ltd initiative.