Documentation can be found at http://tcllib.sourceforge.net/doc/math.html
This package is a part of the Tcllib distribution.
It contains:
math::cov: coefficient of variation of 3 or more arguments
- math::fibonacci
- Return the nth Fibonacci number
- math::integrate
- calculate the area under a curve defined by an argument of a list of 5 or more x,y data pairs
- math::max
- Return the maximum of two or more arguments
- math::mean
- Return the arithmetic mean of two or more arguments
- math::min
- Return the minimum of two or more arguments
- math::product
- Return the product of two or more arguments
- math::random
- Return a random number, value chosen based on an argument selecting one of these ranges:
(null) choose a number between 0 and 1
val choose a number between 0 and val
val1 val2 choose a number between val1 and val2
- math::sigma
- population standard deviation value (from 3 or more arguments)
- math::stats
- calculate mean, standard deviation, and coefficient of variation from 3 or more arguments.
- math::sum
- calculate arithmetic sum of two or more arguments
Things to keep in mind:
If you pick tcllib up from its CVS repository, you will be able to get access to even more funcctionality:
- ::math::bigfloat::abs, acos, add, addInt2Float, asin, atan, ceil, ...
- ::math::bignum::max, min, abs, iszero, ...
- ::math::calculus::eulerStep, heunStep, rungeKuttaStep, ...
- ::math::complexnumbers::complex, +, -, *, ...
- ::math::constants::constants::pi
- ::math::fourier::dft, ...
- ::math::geometry::calculateDistanceToLine, findClosestPointOnLine, ...
- ::math::interpolate::interp-linear, ...
- ::math::linearalgebra::angle, ...
- ::math::optimize::minimum, maximum, min_bound_1d, ...
- ::math::polynomials::polynomial, addPolyn, subPolyn, ...
- ::math::rationalnumbers::rationalFunction, ratioCmd, evalRatio, ...
- ::math::special::elliptic_K, ...
- ::math::special::exponential_Ei, ...
- ::math::special::Gamma, ...
- ::math::special::I_n, J-1/2, J0, J1, J1/2, ...
- ::math::special::legendre, ...
- ::math::statistics::BasicStats, histogram, corr, ...
- ::math::statistics::filter, map, samplescount, ...
- ::math::statistics::pdf-normal, pdf-uniform, ...
- ::math::statistics::plot-scale, plot-xydata, ...
Category Package, subset Tcllib, Category Mathematics