Version 5 of math

Updated 2001-12-15 11:23:09

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


Category Package, subset Tcllib, Category Mathematics