Unix and Linux Discussions Tagged with math |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
9,290 |
Shell Programming and Scripting |
|
|
|
6 |
2,268 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,540 |
Shell Programming and Scripting |
|
|
|
5 |
2,038 |
Shell Programming and Scripting |
|
|
|
3 |
3,651 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,070 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
82,790 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
12,757 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
4,213 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
4,485 |
Shell Programming and Scripting |
|
|
|
0 |
1,080 |
Software Releases - RSS News |
|
|
|
0 |
1,022 |
Software Releases - RSS News |
|
|
|
0 |
788 |
Software Releases - RSS News |
|
|
|
0 |
955 |
Software Releases - RSS News |
|
|
|
0 |
729 |
Software Releases - RSS News |
|
|
|
2 |
19,958 |
Programming |
|
|
|
7 |
22,866 |
Shell Programming and Scripting |
|
|
|
0 |
1,176 |
Software Releases - RSS News |
|
|
|
0 |
970 |
Software Releases - RSS News |
|
|
|
5 |
3,183 |
Shell Programming and Scripting |
|
|
|
1 |
6,528 |
Solaris |
|
|
|
0 |
944 |
Software Releases - RSS News |
|
|
|
0 |
1,079 |
Software Releases - RSS News |
|
|
|
9 |
4,341 |
Programming |
|
|
|
2 |
15,049 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
48,468 |
Programming |
|
|
|
3 |
4,752 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
35,547 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
48,358 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
3,121 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,875 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,524 |
UNIX for Dummies Questions & Answers |
math(n) Tcl Math Library math(n)
NAME
math - Tcl Math Library
SYNOPSIS
package require Tcl 8.2
package require math ?1.2?
::math::cov value value ?value ...?
::math::integrate list of xy value pairs
::math::fibonacci n
::math::max value ?value ...?
::math::mean value ?value ...?
::math::min value ?value ...?
::math::prod value ?value ...?
::math::random ?value1? ?value2?
::math::sigma value value ?value ...?
::math::stats value value ?value ...?
::math::sum value ?value ...?
DESCRIPTION
The math package provides utility math functions.
COMMANDS
::math::cov value value ?value ...?
Return the coefficient of variation expressed as percent of two or more numeric values.
::math::integrate list of xy value pairs
Return the area under a "curve" defined by a set of x,y pairs and the error bound as a list.
::math::fibonacci n
Return the n'th Fibonacci number.
::math::max value ?value ...?
Return the maximum of one or more numeric values.
::math::mean value ?value ...?
Return the mean, or "average" of one or more numeric values.
::math::min value ?value ...?
Return the minimum of one or more numeric values.
::math::prod value ?value ...?
Return the product of one or more numeric values.
::math::random ?value1? ?value2?
Return a random number. If no arguments are given, the number is a floating point value between 0 and 1. If one argument is given,
the number is an integer value between 0 and value1. If two arguments are given, the number is an integer value between value1 and
value2.
::math::sigma value value ?value ...?
Return the population standard deviation of two or more numeric values.
::math::stats value value ?value ...?
Return the mean, standard deviation, and coefficient of variation as percent as a list.
::math::sum value ?value ...?
Return the sum of one or more numeric values.
KEYWORDS
math, statistics
math 4.2 math(n)