8.0.0.0. Special Functions
(packages/libnum/special.lsh)


The complete collection of special functions is available through direct calls to GSL. This library provides access to some of the most common ones, or those whose low-level GSL version are a bit difficult to call, or those whose GSL name is obfuscated.

8.0.0.0.0. (polar-to-rect v)
(packages/libnum/special.lsh)


transform a double vector of size 2 from polar coordinates (magnitude and angle), to rectangular coordinates. The result is returned in a fresh idx1 of double of size 2.

8.0.0.0.1. (rect-to-polar v)
(packages/libnum/special.lsh)


transform a double vector of size 2 from polar coordinates to rectangular coordinates. The result is returned in a fresh idx1 of double of size 2 with the magnitude and angle components.

8.0.0.0.2. (factorial n)
(packages/libnum/special.lsh)


returns fatorial of n . argument and return values are double.

8.0.0.0.3. (logistic x)
(packages/libnum/special.lsh)


return the value of the logistic function (also known as fermi-dirac integral with index of -1) 1/(1+exp(-x).