Version 29 of math

Updated 2007-05-18 12:53:07 by lvirden

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::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:

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