1941-docker-image-to-testdevel
| Line | |
|---|
| 1 | # math.tcl -- |
|---|
| 2 | # |
|---|
| 3 | # Main 'package provide' script for the package 'math'. |
|---|
| 4 | # |
|---|
| 5 | # Copyright (c) 1998-2000 by Ajuba Solutions. |
|---|
| 6 | # Copyright (c) 2002 by Kevin B. Kenny. All rights reserved. |
|---|
| 7 | # |
|---|
| 8 | # See the file "license.terms" for information on usage and redistribution |
|---|
| 9 | # of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
|---|
| 10 | # |
|---|
| 11 | # RCS: @(#) $Id: math.tcl,v 1.22 2006/09/20 22:16:02 andreas_kupries Exp $ |
|---|
| 12 | |
|---|
| 13 | package require Tcl 8.2 ;# uses [lindex $l end-$integer] |
|---|
| 14 | |
|---|
| 15 | # @mdgen OWNER: tclIndex |
|---|
| 16 | |
|---|
| 17 | namespace eval ::math { |
|---|
| 18 | |
|---|
| 19 | variable version 1.2.4 |
|---|
| 20 | |
|---|
| 21 | # misc.tcl |
|---|
| 22 | |
|---|
| 23 | namespace export cov fibonacci integrate |
|---|
| 24 | namespace export max mean min |
|---|
| 25 | namespace export product random sigma |
|---|
| 26 | namespace export stats sum |
|---|
| 27 | namespace export expectDouble expectInteger |
|---|
| 28 | |
|---|
| 29 | # combinatorics.tcl |
|---|
| 30 | |
|---|
| 31 | namespace export ln_Gamma factorial choose |
|---|
| 32 | namespace export Beta |
|---|
| 33 | |
|---|
| 34 | # Set up for auto-loading |
|---|
| 35 | |
|---|
| 36 | variable home [file join [pwd] [file dirname [info script]]] |
|---|
| 37 | if {[lsearch -exact $::auto_path $home] == -1} { |
|---|
| 38 | lappend ::auto_path $home |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | package provide [namespace tail [namespace current]] $version |
|---|
| 42 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.