Documentation can be found at http://tcllib.sourceforge.net/doc/math.html * http://tcllib.sourceforge.net/doc/bigfloat.html * http://tcllib.sourceforge.net/doc/bignum.html * http://tcllib.sourceforge.net/doc/calculus.html * http://tcllib.sourceforge.net/doc/combinatorics.html * http://tcllib.sourceforge.net/doc/constants.html * http://tcllib.sourceforge.net/doc/fourier.html * http://tcllib.sourceforge.net/doc/fuzzy.html * http://tcllib.sourceforge.net/doc/geometry.html * http://tcllib.sourceforge.net/doc/interpolate.html * http://tcllib.sourceforge.net/doc/linalg.html * http://tcllib.sourceforge.net/doc/optimize.html * http://tcllib.sourceforge.net/doc/polynomials.html * http://tcllib.sourceforge.net/doc/qcomplex.html * http://tcllib.sourceforge.net/doc/rational_funcs.html * http://tcllib.sourceforge.net/doc/roman.html * http://tcllib.sourceforge.net/doc/romberg.html * http://tcllib.sourceforge.net/doc/special.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::roman] -- Handling of [Roman Numerals]. * ::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: * http://www.speech.kth.se/~beskow/tcl/ has commands for [matrix] and [vector] operations. * Also note [tcllib]/[struct]/[matrix], * [nap] (and its overview [http://tcl-nap.sourceforge.net/overview.html]), * [VKIT], * and the [BLT] [vector] functionality. * [Additional math functions] is the corresponding Wiki sandbox. If you pick tcllib up from its CVS repository, you will be able to get access to even more functionality: * ::[math::bigfloat]::abs, acos, add, addInt2Float, asin, atan, ceil, ... * ::math::bignum::cmp, tostr, add, div, fromstr, max, min, mul, abs, iszero, setsign, ... * ::[math::calculus]::eulerStep, heunStep, rungeKuttaStep, ... * ::[math::combinatorics] Beta, factorialList, pascal, InitializeFactorial, InitializePascal, choose, ln_Gamma, factorial * ::math::complexnumbers::complex, +, -, *, / mod, pow, real, sin, sqrt, ... * ::math::constants::constants::pi e, ln10 onethird eps print-constants, find_huge, find_tiny * ::math::fourier::dft, ... * ::math::geometry::calculateDistanceToLine, findClosestPointOnLine, angle, areaPolygon, bbox, calculateDistanceToLine, ... * ::math::interpolate::interp-linear, neville, ... * ::math::linearalgebra::angle, ... * ::math::cov, expectDouble, expectInteger, fibonacci, integrate, max, mean, min, product, random, sigma, stats, sum, ... * ::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, Jn ... * ::math::special::legendre, ... * ::math::statistics::BasicStats, histogram, corr, ... * ::math::statistics::filter, map, samplescount, ... * ::math::statistics::Inverse-cdf-exponential, cdf-normal, ... * ::math::statistics::pdf-normal, pdf-uniform, ... * ::math::statistics::plot-scale, plot-xydata, ... * ::math::statistics::random-exponential, random-normal, ... ---- [Category Package], subset [Tcllib], [Category Mathematics]