Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Comment: | Merging changes from trunk |
---|---|
Timelines: | family | ancestors | descendants | both | odie |
Files: | files | file ages | folders |
SHA1: |
b83ef84eeca90fa805c64c34a7f14e8b |
User & Date: | tne 2016-07-19 15:39:29 |
2016-07-19
| ||
19:12 | Removed the dependency on coroutine-auto for tool. Adds a dependency on coroutine (and on the developer's own head be it if he/she decides to invoke global and update in a coro.) check-in: bc1da3f33c user: tne tags: odie | |
15:45 | Modified the httpd example code Fixes to the cron package to better interact with coroutines from the tool framework. Added support for TWAPI 3.1+ in nettool Replaced bare "puts", "flush", and "close" calls with the chan ensemble versions. Added a TCP based transaction system to udpcluster, as well as a central directory of information per machine. check-in: a20eacae85 user: tne tags: trunk | |
15:39 | Merging changes from trunk check-in: b83ef84eec user: tne tags: odie | |
15:38 | Updated nettool to utilize the latest TWAPI network API Replaced raw "puts" "flush" and "close" commands in udpcluster to utilize the chan ensemble version instead. check-in: 8f45d4f200 user: tne tags: odie | |
2016-07-12
| ||
07:58 | fumagic {minor change to documentation} check-in: 3525edeeef user: pooryorick tags: trunk | |
Changes to embedded/www/index.html.
︙ | ︙ | |||
1481 1482 1483 1484 1485 1486 1487 | <td class="#doctools_idxleft" width="35%"><a name="key31"> file </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tie/tie_std.html"> tie </a> · <a href="tcllib/files/modules/tie/tie.html"> tie </a> · <a href="tcllib/files/modules/uri/uri.html"> uri </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key116"> file recognition </a></td> <td class="#doctools_idxright" width="65%"> | | | | | 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 | <td class="#doctools_idxleft" width="35%"><a name="key31"> file </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tie/tie_std.html"> tie </a> · <a href="tcllib/files/modules/tie/tie.html"> tie </a> · <a href="tcllib/files/modules/uri/uri.html"> uri </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key116"> file recognition </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key118"> file type </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key115"> file utilities </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fileutil/fileutil.html"> fileutil </a> · <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> · <a href="tcllib/files/modules/fileutil/multi.html"> fileutil::multi </a> · <a href="tcllib/files/modules/fileutil/multiop.html"> fileutil::multi::op </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key385"> filesystem </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/map/map_slippy_cache.html"> map::slippy::cache </a> </td></tr> <tr class="#doctools_idxodd" valign=top> |
︙ | ︙ | |||
2447 2448 2449 2450 2451 2452 2453 | <td class="#doctools_idxleft" width="35%"><a name="key756"> method reference </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tool/meta.html"> oo::util </a> · <a href="tcllib/files/modules/ooutil/ooutil.html"> oo::util </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key230"> mime </a></td> <td class="#doctools_idxright" width="65%"> | | | 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 | <td class="#doctools_idxleft" width="35%"><a name="key756"> method reference </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tool/meta.html"> oo::util </a> · <a href="tcllib/files/modules/ooutil/ooutil.html"> oo::util </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key230"> mime </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> · <a href="tcllib/files/modules/mime/mime.html"> mime </a> · <a href="tcllib/files/modules/mime/smtp.html"> smtp </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key461"> minimal spanning tree </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/struct/graphops.html"> struct::graph::op </a> </td></tr> <tr class="#doctools_idxeven" valign=top> |
︙ | ︙ | |||
2520 2521 2522 2523 2524 2525 2526 | </td></tr> <tr class="#doctools_idxheader"><th colspan="2"> <a name="c17">Keywords: N</a> </th></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key29"> name service </a></td> <td class="#doctools_idxright" width="65%"> | | | 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 | </td></tr> <tr class="#doctools_idxheader"><th colspan="2"> <a name="c17">Keywords: N</a> </th></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key29"> name service </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/nns/nns_client.html"> nameserv </a> · <a href="tcllib/files/modules/nns/nns_auto.html"> nameserv::auto </a> · <a href="tcllib/files/modules/nns/nns_common.html"> nameserv::common </a> · <a href="tcllib/files/modules/nns/nns_protocol.html"> nameserv::protocol </a> · <a href="tcllib/files/modules/nns/nns_server.html"> nameserv::server </a> · <a href="tcllib/files/apps/nns.html"> nns </a> · <a href="tcllib/files/modules/nns/nns_intro.html"> nns_intro </a> · <a href="tcllib/files/apps/nnsd.html"> nnsd </a> · <a href="tcllib/files/apps/nnslog.html"> nnslog </a> · <a href="tcllib/files/modules/udpcluster/udpcluster.html"> udpcluster </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key86"> namespace unknown </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/namespacex/namespacex.html"> namespacex </a> </td></tr> <tr class="#doctools_idxeven" valign=top> |
︙ | ︙ | |||
3465 3466 3467 3468 3469 3470 3471 | <td class="#doctools_idxleft" width="35%"><a name="key109"> serialization </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/bee/bee.html"> bee </a> · <a href="tcllib/files/modules/doctools2idx/export_docidx.html"> doctools::idx::export::docidx </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_html.html"> doctools::idx::export::html </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_json.html"> doctools::idx::export::json </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_nroff.html"> doctools::idx::export::nroff </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_text.html"> doctools::idx::export::text </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_wiki.html"> doctools::idx::export::wiki </a> · <a href="tcllib/files/modules/doctools2idx/idx_structure.html"> doctools::idx::structure </a> · <a href="tcllib/files/modules/doctools2toc/export_doctoc.html"> doctools::toc::export::doctoc </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_html.html"> doctools::toc::export::html </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_json.html"> doctools::toc::export::json </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_nroff.html"> doctools::toc::export::nroff </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_text.html"> doctools::toc::export::text </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_wiki.html"> doctools::toc::export::wiki </a> · <a href="tcllib/files/modules/doctools2toc/toc_structure.html"> doctools::toc::structure </a> · <a href="tcllib/files/modules/pt/pt_peg_export_container.html"> pt::peg::export::container </a> · <a href="tcllib/files/modules/pt/pt_peg_export_json.html"> pt::peg::export::json </a> · <a href="tcllib/files/modules/pt/pt_peg_export_peg.html"> pt::peg::export::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_from_json.html"> pt::peg::from::json </a> · <a href="tcllib/files/modules/pt/pt_peg_from_peg.html"> pt::peg::from::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_import_json.html"> pt::peg::import::json </a> · <a href="tcllib/files/modules/pt/pt_peg_import_peg.html"> pt::peg::import::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_container.html"> pt::peg::to::container </a> · <a href="tcllib/files/modules/pt/pt_peg_to_cparam.html"> pt::peg::to::cparam </a> · <a href="tcllib/files/modules/pt/pt_peg_to_json.html"> pt::peg::to::json </a> · <a href="tcllib/files/modules/pt/pt_peg_to_param.html"> pt::peg::to::param </a> · <a href="tcllib/files/modules/pt/pt_peg_to_peg.html"> pt::peg::to::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_tclparam.html"> pt::peg::to::tclparam </a> · <a href="tcllib/files/modules/struct/graph.html"> struct::graph </a> · <a href="tcllib/files/modules/struct/struct_tree.html"> struct::tree </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key65"> server </a></td> <td class="#doctools_idxright" width="65%"> | | | 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 | <td class="#doctools_idxleft" width="35%"><a name="key109"> serialization </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/bee/bee.html"> bee </a> · <a href="tcllib/files/modules/doctools2idx/export_docidx.html"> doctools::idx::export::docidx </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_html.html"> doctools::idx::export::html </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_json.html"> doctools::idx::export::json </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_nroff.html"> doctools::idx::export::nroff </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_text.html"> doctools::idx::export::text </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_wiki.html"> doctools::idx::export::wiki </a> · <a href="tcllib/files/modules/doctools2idx/idx_structure.html"> doctools::idx::structure </a> · <a href="tcllib/files/modules/doctools2toc/export_doctoc.html"> doctools::toc::export::doctoc </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_html.html"> doctools::toc::export::html </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_json.html"> doctools::toc::export::json </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_nroff.html"> doctools::toc::export::nroff </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_text.html"> doctools::toc::export::text </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_wiki.html"> doctools::toc::export::wiki </a> · <a href="tcllib/files/modules/doctools2toc/toc_structure.html"> doctools::toc::structure </a> · <a href="tcllib/files/modules/pt/pt_peg_export_container.html"> pt::peg::export::container </a> · <a href="tcllib/files/modules/pt/pt_peg_export_json.html"> pt::peg::export::json </a> · <a href="tcllib/files/modules/pt/pt_peg_export_peg.html"> pt::peg::export::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_from_json.html"> pt::peg::from::json </a> · <a href="tcllib/files/modules/pt/pt_peg_from_peg.html"> pt::peg::from::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_import_json.html"> pt::peg::import::json </a> · <a href="tcllib/files/modules/pt/pt_peg_import_peg.html"> pt::peg::import::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_container.html"> pt::peg::to::container </a> · <a href="tcllib/files/modules/pt/pt_peg_to_cparam.html"> pt::peg::to::cparam </a> · <a href="tcllib/files/modules/pt/pt_peg_to_json.html"> pt::peg::to::json </a> · <a href="tcllib/files/modules/pt/pt_peg_to_param.html"> pt::peg::to::param </a> · <a href="tcllib/files/modules/pt/pt_peg_to_peg.html"> pt::peg::to::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_tclparam.html"> pt::peg::to::tclparam </a> · <a href="tcllib/files/modules/struct/graph.html"> struct::graph </a> · <a href="tcllib/files/modules/struct/struct_tree.html"> struct::tree </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key65"> server </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/map/map_geocode_nominatim.html"> map::geocode::nominatim </a> · <a href="tcllib/files/modules/map/map_slippy_fetcher.html"> map::slippy::fetcher </a> · <a href="tcllib/files/modules/nns/nns_common.html"> nameserv::common </a> · <a href="tcllib/files/modules/nns/nns_server.html"> nameserv::server </a> · <a href="tcllib/files/modules/nns/nns_intro.html"> nns_intro </a> · <a href="tcllib/files/apps/nnsd.html"> nnsd </a> · <a href="tcllib/files/modules/udpcluster/udpcluster.html"> udpcluster </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key90"> service </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/log/logger.html"> logger </a> </td></tr> <tr class="#doctools_idxeven" valign=top> |
︙ | ︙ | |||
4113 4114 4115 4116 4117 4118 4119 | <td class="#doctools_idxleft" width="35%"><a name="key839"> twitter </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/oauth/oauth.html"> oauth </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key117"> type </a></td> <td class="#doctools_idxright" width="65%"> | | | 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 | <td class="#doctools_idxleft" width="35%"><a name="key839"> twitter </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/oauth/oauth.html"> oauth </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key117"> type </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fileutil/fileutil.html"> fileutil </a> · <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> · <a href="tcllib/files/modules/snit/snit.html"> snit </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key57"> Type checking </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/valtype/valtype_common.html"> valtype::common </a> · <a href="tcllib/files/modules/valtype/cc_amex.html"> valtype::creditcard::amex </a> · <a href="tcllib/files/modules/valtype/cc_discover.html"> valtype::creditcard::discover </a> · <a href="tcllib/files/modules/valtype/cc_mastercard.html"> valtype::creditcard::mastercard </a> · <a href="tcllib/files/modules/valtype/cc_visa.html"> valtype::creditcard::visa </a> · <a href="tcllib/files/modules/valtype/ean13.html"> valtype::gs1::ean13 </a> · <a href="tcllib/files/modules/valtype/iban.html"> valtype::iban </a> · <a href="tcllib/files/modules/valtype/imei.html"> valtype::imei </a> · <a href="tcllib/files/modules/valtype/isbn.html"> valtype::isbn </a> · <a href="tcllib/files/modules/valtype/luhn.html"> valtype::luhn </a> · <a href="tcllib/files/modules/valtype/luhn5.html"> valtype::luhn5 </a> · <a href="tcllib/files/modules/valtype/usnpi.html"> valtype::usnpi </a> · <a href="tcllib/files/modules/valtype/verhoeff.html"> valtype::verhoeff </a> </td></tr> <tr class="#doctools_idxheader"><th colspan="2"> |
︙ | ︙ |
Changes to embedded/www/tcllib/files/modules/fumagic/filetypes.html.
︙ | ︙ | |||
128 129 130 131 132 133 134 | </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>This package provides a command for the recognition of file types in pure Tcl.</p> <p>The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types.</p> | | | | | | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>This package provides a command for the recognition of file types in pure Tcl.</p> <p>The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types.</p> <p><em>Beware!</em> This recognizer is large, about 752 Kilobyte of generated Tcl code.</p> <dl class="doctools_definitions"> <dt><a name="1"><b class="cmd">::fileutil::magic::filetype</b> <i class="arg">filename</i></a></dt> <dd><p>This command is similar to the command <b class="cmd">fileutil::fileType</b>.</p> <p>Returns a list containing a list of descriptions, a list of mimetype components, and a list file extensions. Returns an empty string if the file content is not recognized.</p></dd> </dl> </div> <div id="section2" class="doctools_section"><h2><a name="section2">REFERENCES</a></h2> <ol class="doctools_enumerated"> <li><p><a href="ftp://ftp.astron.com/pub/file/">File(1) sources</a> This site contains the current sources for the file command, including the magic definitions used by it. The latter were used by us to |
︙ | ︙ |
Deleted embedded/www/tcllib/files/modules/fumagic/mimetypes.html.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Changes to embedded/www/tcllib/files/modules/fumagic/rtcore.html.
︙ | ︙ | |||
119 120 121 122 123 124 125 | <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.4</b></li> <li>package require <b class="pkgname">fileutil::magic::rt <span class="opt">?1.0?</span></b></li> </ul> <ul class="doctools_syntax"> | | | > > | | | | | | | | | | | | | | > | > > > > | | | | | | | | | | | | | | | | | > > | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.4</b></li> <li>package require <b class="pkgname">fileutil::magic::rt <span class="opt">?1.0?</span></b></li> </ul> <ul class="doctools_syntax"> <li><a href="#1"><b class="cmd">::fileutil::magic::rt::></b></a></li> <li><a href="#2"><b class="cmd">::fileutil::magic::rt::<</b></a></li> <li><a href="#3"><b class="cmd">::fileutil::magic::rt::open</b> <i class="arg">filename</i></a></li> <li><a href="#4"><b class="cmd">::fileutil::magic::rt::close</b></a></li> <li><a href="#5"><b class="cmd">::fileutil::magic::rt::file_start</b> <i class="arg">name</i></a></li> <li><a href="#6"><b class="cmd">::fileutil::magic::rt::result</b> <span class="opt">?<i class="arg">msg</i>?</span></a></li> <li><a href="#7"><b class="cmd">::fileutil::magic::rt::resultv</b> <span class="opt">?<i class="arg">msg</i>?</span></a></li> <li><a href="#8"><b class="cmd">::fileutil::magic::rt::emit</b> <i class="arg">msg</i></a></li> <li><a href="#9"><b class="cmd">::fileutil::magic::rt::offset</b> <i class="arg">where</i></a></li> <li><a href="#10"><b class="cmd">::fileutil::magic::rt::Nv</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#11"><b class="cmd">::fileutil::magic::rt::N</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#12"><b class="cmd">::fileutil::magic::rt::Nvx</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#13"><b class="cmd">::fileutil::magic::rt::Nx</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#14"><b class="cmd">::fileutil::magic::rt::S</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#15"><b class="cmd">::fileutil::magic::rt::Sx</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#16"><b class="cmd">::fileutil::magic::rt::L</b> <i class="arg">newlevel</i></a></li> <li><a href="#17"><b class="cmd">::fileutil::magic::rt::I</b> <i class="arg">base</i> <i class="arg">type</i> <i class="arg">delta</i></a></li> <li><a href="#18"><b class="cmd">::fileutil::magic::rt::R</b> <i class="arg">offset</i></a></li> <li><a href="#19"><b class="cmd">::fileutil::magic::rt::U</b> <i class="arg">fileindex</i> <i class="arg">name</i></a></li> </ul> </div> </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>This package provides the runtime core for file type recognition engines written in pure Tcl and is thus used by all other packages in this module, i.e. the two frontend packages <b class="package">fileutil::magic::mimetypes</b> and <b class="package">fileutil::magic::filetypes</b>, and the two engine compiler packages <b class="package"><a href="cgen.html">fileutil::magic::cgen</a></b> and <b class="package"><a href="cfront.html">fileutil::magic::cfront</a></b>.</p> </div> <div id="section2" class="doctools_section"><h2><a name="section2">COMMANDS</a></h2> <dl class="doctools_definitions"> <dt><a name="1"><b class="cmd">::fileutil::magic::rt::></b></a></dt> <dd><p>Shorthand for <b class="cmd">incr level</b>.</p></dd> <dt><a name="2"><b class="cmd">::fileutil::magic::rt::<</b></a></dt> <dd><p>Shorthand for <b class="cmd">incr level -1</b>.</p></dd> <dt><a name="3"><b class="cmd">::fileutil::magic::rt::open</b> <i class="arg">filename</i></a></dt> <dd><p>This command initializes the runtime and prepares the file <i class="arg">filename</i> for use by the system. This command has to be invoked first, before any other command of this package.</p> <p>The command returns the channel handle of the opened file as its result.</p></dd> <dt><a name="4"><b class="cmd">::fileutil::magic::rt::close</b></a></dt> <dd><p>This command closes the last file opened via <b class="cmd">::fileutil::magic::rt::open</b> and shuts the runtime down. This command has to be invoked last, after the file has been dealt with completely. Afterward another invokation of <b class="cmd">::fileutil::magic::rt::open</b> is required to process another file.</p> <p>This command returns the empty string as its result.</p></dd> <dt><a name="5"><b class="cmd">::fileutil::magic::rt::file_start</b> <i class="arg">name</i></a></dt> <dd><p>This command marks the start of a magic file when debugging. It returns the empty string as its result.</p></dd> <dt><a name="6"><b class="cmd">::fileutil::magic::rt::result</b> <span class="opt">?<i class="arg">msg</i>?</span></a></dt> <dd><p>This command returns the current result and stops processing.</p> <p>If <i class="arg">msg</i> is specified its text is added to the result before it is returned. See <b class="cmd">::fileutil::magic::rt::emit</b> for the allowed special character sequences.</p></dd> <dt><a name="7"><b class="cmd">::fileutil::magic::rt::resultv</b> <span class="opt">?<i class="arg">msg</i>?</span></a></dt> <dd><p>This command returns the current result. In contrast to <b class="cmd">::fileutil::magic::rt::result</b> processing continues.</p> <p>If <i class="arg">msg</i> is specified its text is added to the result before it is returned. See <b class="cmd">::fileutil::magic::rt::emit</b> for the allowed special character sequences.</p></dd> <dt><a name="8"><b class="cmd">::fileutil::magic::rt::emit</b> <i class="arg">msg</i></a></dt> <dd><p>This command adds the text <i class="arg">msg</i> to the result buffer. The message may contain the following special character sequences. They will be replaced with buffered values before the message is added to the result. The command returns the empty string as its result.</p> <dl class="doctools_definitions"> <dt><b class="const">\b</b></dt> <dd><p>This sequence is removed</p></dd> <dt><b class="const">%s</b></dt> <dd><p>Replaced with the last buffered string value.</p></dd> <dt><b class="const">%ld</b></dt> <dd><p>Replaced with the last buffered numeric value.</p></dd> <dt><b class="const">%d</b></dt> <dd><p>See above.</p></dd> </dl></dd> <dt><a name="10"><b class="cmd">::fileutil::magic::rt::Nv</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command fetches the numeric value with <i class="arg">type</i> from the absolute location <i class="arg">offset</i> and returns it as its result. The fetched value is further stored in the numeric buffer.</p> <p>If <i class="arg">qual</i> is specified it is considered to be a mask and applied to the fetched value before it is stored and returned. It has to have the form of a partial Tcl bit-wise expression, i.e.</p> <pre class="doctools_example"> & number </pre> <p>For example:</p> <pre class="doctools_example"> Nv lelong 0 &0x8080ffff </pre> <p>For the possible types see section <span class="sectref"><a href="#section3">NUMERIC TYPES</a></span>.</p></dd> <dt><a name="11"><b class="cmd">::fileutil::magic::rt::N</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves mostly like <b class="cmd">::fileutil::magic::rt::Nv</b>, except that it compares the fetched and masked value against <i class="arg">val</i> as specified with <i class="arg">comp</i> and returns the result of that comparison.</p> <p>The argument <i class="arg">comp</i> has to contain one of Tcl's comparison operators, and the comparison made will be</p> <pre class="doctools_example"> <val> <comp> <fetched-and-masked-value> </pre> <p>The special comparison operator <b class="const">x</b> signals that no comparison should be done, or, in other words, that the fetched value will always match <i class="arg">val</i>.</p></dd> <dt><a name="12"><b class="cmd">::fileutil::magic::rt::Nvx</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::Nv</b>, except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by <b class="cmd">::fileutil::magic::rt::R</b>.</p></dd> <dt><a name="13"><b class="cmd">::fileutil::magic::rt::Nx</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::N</b>, except that it additionally remembers the location in the file after the fetch in the calling context, for the current, for later use by <b class="cmd">::fileutil::magic::rt::R</b>.</p></dd> <dt><a name="14"><b class="cmd">::fileutil::magic::rt::S</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::N</b>, except that it fetches and compares strings, not numeric data. The fetched value is also stored in the internal string buffer instead of the numeric buffer.</p></dd> <dt><a name="15"><b class="cmd">::fileutil::magic::rt::Sx</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::S</b>, except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by <b class="cmd">::fileutil::magic::rt::R</b>.</p></dd> <dt><a name="16"><b class="cmd">::fileutil::magic::rt::L</b> <i class="arg">newlevel</i></a></dt> <dd><p>This command sets the current level in the calling context to <i class="arg">newlevel</i>. The command returns the empty string as its result.</p></dd> <dt><a name="17"><b class="cmd">::fileutil::magic::rt::I</b> <i class="arg">base</i> <i class="arg">type</i> <i class="arg">delta</i></a></dt> <dd><p>This command handles base locations specified indirectly through the contents of the inspected file. It returns the sum of <i class="arg">delta</i> and the value of numeric <i class="arg">type</i> fetched from the absolute location <i class="arg">base</i>.</p> <p>For the possible types see section <span class="sectref"><a href="#section3">NUMERIC TYPES</a></span>.</p></dd> <dt><a name="18"><b class="cmd">::fileutil::magic::rt::R</b> <i class="arg">offset</i></a></dt> <dd><p>This command handles base locations specified relative to the end of the last field one level above.</p> <p>In other words, the command computes an absolute location in the file based on the relative <i class="arg">offset</i> and returns it as its result. The base the offset is added to is the last location remembered for the level in the calling context.</p></dd> <dt><a name="19"><b class="cmd">::fileutil::magic::rt::U</b> <i class="arg">fileindex</i> <i class="arg">name</i></a></dt> <dd><p>Use a named test script at the current level.</p></dd> </dl> </div> <div id="section3" class="doctools_section"><h2><a name="section3">NUMERIC TYPES</a></h2> <dl class="doctools_definitions"> <dt><b class="const">byte</b></dt> <dd><p>8-bit integer</p></dd> <dt><b class="const">short</b></dt> |
︙ | ︙ |
Changes to embedded/www/tcllib/files/modules/math/math_geometry.html.
︙ | ︙ | |||
95 96 97 98 99 100 101 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> | | | | | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> <h1 class="doctools_title">math::geometry(n) 1.2.2 tcllib "Tcl Math Library"</h1> <div id="name" class="doctools_section"><h2><a name="name">Name</a></h2> <p>math::geometry - Geometrical computations</p> </div> <div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2> <ul class="doctools_toc"> <li class="doctools_section"><a href="#toc">Table Of Contents</a></li> <li class="doctools_section"><a href="#synopsis">Synopsis</a></li> <li class="doctools_section"><a href="#section1">Description</a></li> <li class="doctools_section"><a href="#section2">PROCEDURES</a></li> <li class="doctools_section"><a href="#section3">References</a></li> <li class="doctools_section"><a href="#section4">Bugs, Ideas, Feedback</a></li> <li class="doctools_section"><a href="#keywords">Keywords</a></li> <li class="doctools_section"><a href="#category">Category</a></li> <li class="doctools_section"><a href="#copyright">Copyright</a></li> </ul> </div> <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl <span class="opt">?8.5?</span></b></li> <li>package require <b class="pkgname">math::geometry <span class="opt">?1.2.2?</span></b></li> </ul> <ul class="doctools_syntax"> <li><a href="#1"><b class="cmd">::math::geometry::+</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li> <li><a href="#2"><b class="cmd">::math::geometry::-</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li> <li><a href="#3"><b class="cmd">::math::geometry::p</b> <i class="arg">x</i> <i class="arg">y</i></a></li> <li><a href="#4"><b class="cmd">::math::geometry::distance</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li> <li><a href="#5"><b class="cmd">::math::geometry::length</b> <i class="arg">point</i></a></li> |
︙ | ︙ | |||
151 152 153 154 155 156 157 | <li><a href="#26"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></li> <li><a href="#27"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></li> <li><a href="#28"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></li> <li><a href="#29"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></li> <li><a href="#30"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></li> <li><a href="#31"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></li> <li><a href="#32"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li> | > | | > > > > > | 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | <li><a href="#26"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></li> <li><a href="#27"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></li> <li><a href="#28"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></li> <li><a href="#29"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></li> <li><a href="#30"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></li> <li><a href="#31"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></li> <li><a href="#32"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li> <li><a href="#33"><b class="cmd">::math::geometry::pointInsidePolygonAlt</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li> <li><a href="#34"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></li> <li><a href="#35"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></li> <li><a href="#36"><b class="cmd">::math::geometry::translate</b> <i class="arg">vector</i> <i class="arg">polyline</i></a></li> <li><a href="#37"><b class="cmd">::math::geometry::rotate</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></li> <li><a href="#38"><b class="cmd">::math::geometry::reflect</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></li> <li><a href="#39"><b class="cmd">::math::geometry::degToRad</b> <i class="arg">angle</i></a></li> <li><a href="#40"><b class="cmd">::math::geometry::radToDeg</b> <i class="arg">angle</i></a></li> </ul> </div> </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>The <b class="package">math::geometry</b> package is a collection of functions for computations and manipulations on two-dimensional geometrical objects, such as points, lines and polygons.</p> |
︙ | ︙ | |||
441 442 443 444 445 446 447 | polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P</i></dt> <dd><p>Coordinates of the point</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be examined</p></dd> </dl></dd> | > > > > > > > > > > > > | | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P</i></dt> <dd><p>Coordinates of the point</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be examined</p></dd> </dl></dd> <dt><a name="33"><b class="cmd">::math::geometry::pointInsidePolygonAlt</b> <i class="arg">P</i> <i class="arg">polyline</i></a></dt> <dd><p>Determine if a point is completely inside a polygon. If the point touches the polygon, then the point is not completely inside the polygon. <em>Note:</em> this alternative procedure uses the so-called winding number to determine this. It handles self-intersecting polygons in a "natural" way.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P</i></dt> <dd><p>Coordinates of the point</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be examined</p></dd> </dl></dd> <dt><a name="34"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></dt> <dd><p>Determine if a rectangle is completely inside a polygon. If polygon touches the rectangle, then the rectangle is not complete inside the polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P1</i></dt> <dd><p>Upper-left corner of the rectangle</p></dd> <dt>list <i class="arg">P2</i></dt> <dd><p>Lower-right corner of the rectangle</p></dd> <dt>list <i class="arg">polygon</i></dt> <dd><p>The polygon in question</p></dd> </dl></dd> <dt><a name="35"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></dt> <dd><p>Calculate the area of a polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">polygon</i></dt> <dd><p>The polygon in question</p></dd> </dl></dd> <dt><a name="36"><b class="cmd">::math::geometry::translate</b> <i class="arg">vector</i> <i class="arg">polyline</i></a></dt> <dd><p>Translate a polyline over a given vector</p> <dl class="doctools_arguments"> <dt>list <i class="arg">vector</i></dt> <dd><p>Translation vector</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be rotated</p></dd> </dl></dd> <dt><a name="37"><b class="cmd">::math::geometry::rotate</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></dt> <dd><p>Rotate a polyline over a given angle (degrees) around the origin</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle over which to rotate the polyline (degrees)</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be translated</p></dd> </dl></dd> <dt><a name="38"><b class="cmd">::math::geometry::reflect</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></dt> <dd><p>Reflect a polyline in a line through the origin at a given angle (degrees) to the x-axis</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle of the line of reflection (degrees)</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be reflected</p></dd> </dl></dd> <dt><a name="39"><b class="cmd">::math::geometry::degToRad</b> <i class="arg">angle</i></a></dt> <dd><p>Convert from degrees to radians</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle in degrees</p></dd> </dl></dd> <dt><a name="40"><b class="cmd">::math::geometry::radToDeg</b> <i class="arg">angle</i></a></dt> <dd><p>Convert from radians to degrees</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle in radians</p></dd> </dl></dd> </dl> </div> <div id="section3" class="doctools_section"><h2><a name="section3">References</a></h2> <ol class="doctools_enumerated"> <li><p><a href="http:/wiki.tcl.tk/12070">Polygon Intersection</a></p></li> <li><p><a href="http://en.wikipedia.org/wiki/Line-line_intersection">http://en.wikipedia.org/wiki/Line-line_intersection</a></p></li> |
︙ | ︙ |
Changes to embedded/www/tcllib/files/modules/math/statistics.html.
︙ | ︙ | |||
141 142 143 144 145 146 147 | <li><a href="#12"><b class="cmd">::math::statistics::histogram-alt</b> <i class="arg">limits</i> <i class="arg">values</i> <span class="opt">?weights?</span></a></li> <li><a href="#13"><b class="cmd">::math::statistics::corr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></li> <li><a href="#14"><b class="cmd">::math::statistics::interval-mean-stdev</b> <i class="arg">data</i> <i class="arg">confidence</i></a></li> <li><a href="#15"><b class="cmd">::math::statistics::t-test-mean</b> <i class="arg">data</i> <i class="arg">est_mean</i> <i class="arg">est_stdev</i> <i class="arg">alpha</i></a></li> <li><a href="#16"><b class="cmd">::math::statistics::test-normal</b> <i class="arg">data</i> <i class="arg">significance</i></a></li> <li><a href="#17"><b class="cmd">::math::statistics::lillieforsFit</b> <i class="arg">data</i></a></li> <li><a href="#18"><b class="cmd">::math::statistics::test-Duckworth</b> <i class="arg">list1</i> <i class="arg">list2</i> <i class="arg">significance</i></a></li> | > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | <li><a href="#12"><b class="cmd">::math::statistics::histogram-alt</b> <i class="arg">limits</i> <i class="arg">values</i> <span class="opt">?weights?</span></a></li> <li><a href="#13"><b class="cmd">::math::statistics::corr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></li> <li><a href="#14"><b class="cmd">::math::statistics::interval-mean-stdev</b> <i class="arg">data</i> <i class="arg">confidence</i></a></li> <li><a href="#15"><b class="cmd">::math::statistics::t-test-mean</b> <i class="arg">data</i> <i class="arg">est_mean</i> <i class="arg">est_stdev</i> <i class="arg">alpha</i></a></li> <li><a href="#16"><b class="cmd">::math::statistics::test-normal</b> <i class="arg">data</i> <i class="arg">significance</i></a></li> <li><a href="#17"><b class="cmd">::math::statistics::lillieforsFit</b> <i class="arg">data</i></a></li> <li><a href="#18"><b class="cmd">::math::statistics::test-Duckworth</b> <i class="arg">list1</i> <i class="arg">list2</i> <i class="arg">significance</i></a></li> <li><a href="#19"><b class="cmd">::math::statistics::test-anova-F</b> <i class="arg">alpha</i> <i class="arg">args</i></a></li> <li><a href="#20"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">data</i> <i class="arg">confidence</i></a></li> <li><a href="#21"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">limits</i> <i class="arg">counts</i> <i class="arg">confidence</i></a></li> <li><a href="#22"><b class="cmd">::math::statistics::autocorr</b> <i class="arg">data</i></a></li> <li><a href="#23"><b class="cmd">::math::statistics::crosscorr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></li> <li><a href="#24"><b class="cmd">::math::statistics::mean-histogram-limits</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></li> <li><a href="#25"><b class="cmd">::math::statistics::minmax-histogram-limits</b> <i class="arg">min</i> <i class="arg">max</i> <i class="arg">number</i></a></li> <li><a href="#26"><b class="cmd">::math::statistics::linear-model</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></li> <li><a href="#27"><b class="cmd">::math::statistics::linear-residuals</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></li> <li><a href="#28"><b class="cmd">::math::statistics::test-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></li> <li><a href="#29"><b class="cmd">::math::statistics::print-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></li> <li><a href="#30"><b class="cmd">::math::statistics::control-xbar</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></li> <li><a href="#31"><b class="cmd">::math::statistics::control-Rchart</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></li> <li><a href="#32"><b class="cmd">::math::statistics::test-xbar</b> <i class="arg">control</i> <i class="arg">data</i></a></li> <li><a href="#33"><b class="cmd">::math::statistics::test-Rchart</b> <i class="arg">control</i> <i class="arg">data</i></a></li> <li><a href="#34"><b class="cmd">::math::statistics::test-Kruskal-Wallis</b> <i class="arg">confidence</i> <i class="arg">args</i></a></li> <li><a href="#35"><b class="cmd">::math::statistics::analyse-Kruskal-Wallis</b> <i class="arg">args</i></a></li> <li><a href="#36"><b class="cmd">::math::statistics::group-rank</b> <i class="arg">args</i></a></li> <li><a href="#37"><b class="cmd">::math::statistics::test-Wilcoxon</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></li> <li><a href="#38"><b class="cmd">::math::statistics::spearman-rank</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></li> <li><a href="#39"><b class="cmd">::math::statistics::spearman-rank-extended</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></li> <li><a href="#40"><b class="cmd">::math::statistics::kernel-density</b> <i class="arg">data</i> opt <i class="arg">-option value</i> ...</a></li> <li><a href="#41"><b class="cmd">::math::statistics::tstat</b> <i class="arg">dof</i> <span class="opt">?alpha?</span></a></li> <li><a href="#42"><b class="cmd">::math::statistics::mv-wls</b> <i class="arg">wt1</i> <i class="arg">weights_and_values</i></a></li> <li><a href="#43"><b class="cmd">::math::statistics::mv-ols</b> <i class="arg">values</i></a></li> <li><a href="#44"><b class="cmd">::math::statistics::pdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#45"><b class="cmd">::math::statistics::pdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#46"><b class="cmd">::math::statistics::pdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></li> <li><a href="#47"><b class="cmd">::math::statistics::pdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></li> <li><a href="#48"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></li> <li><a href="#49"><b class="cmd">::math::statistics::pdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></li> <li><a href="#50"><b class="cmd">::math::statistics::pdf-chisquare</b> <i class="arg">df</i> <i class="arg">value</i></a></li> <li><a href="#51"><b class="cmd">::math::statistics::pdf-student-t</b> <i class="arg">df</i> <i class="arg">value</i></a></li> <li><a href="#52"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></li> <li><a href="#53"><b class="cmd">::math::statistics::pdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></li> <li><a href="#54"><b class="cmd">::math::statistics::pdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#55"><b class="cmd">::math::statistics::pdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#56"><b class="cmd">::math::statistics::pdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#57"><b class="cmd">::math::statistics::pdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#58"><b class="cmd">::math::statistics::cdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#59"><b class="cmd">::math::statistics::cdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#60"><b class="cmd">::math::statistics::cdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></li> <li><a href="#61"><b class="cmd">::math::statistics::cdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></li> <li><a href="#62"><b class="cmd">::math::statistics::cdf-students-t</b> <i class="arg">degrees</i> <i class="arg">value</i></a></li> <li><a href="#63"><b class="cmd">::math::statistics::cdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></li> <li><a href="#64"><b class="cmd">::math::statistics::cdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></li> <li><a href="#65"><b class="cmd">::math::statistics::cdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></li> <li><a href="#66"><b class="cmd">::math::statistics::cdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#67"><b class="cmd">::math::statistics::cdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#68"><b class="cmd">::math::statistics::cdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#69"><b class="cmd">::math::statistics::cdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#70"><b class="cmd">::math::statistics::cdf-F</b> <i class="arg">nf1</i> <i class="arg">nf2</i> <i class="arg">value</i></a></li> <li><a href="#71"><b class="cmd">::math::statistics::empirical-distribution</b> <i class="arg">values</i></a></li> <li><a href="#72"><b class="cmd">::math::statistics::random-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></li> <li><a href="#73"><b class="cmd">::math::statistics::random-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></li> <li><a href="#74"><b class="cmd">::math::statistics::random-exponential</b> <i class="arg">mean</i> <i class="arg">number</i></a></li> <li><a href="#75"><b class="cmd">::math::statistics::random-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">number</i></a></li> <li><a href="#76"><b class="cmd">::math::statistics::random-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">number</i></a></li> <li><a href="#77"><b class="cmd">::math::statistics::random-poisson</b> <i class="arg">mu</i> <i class="arg">number</i></a></li> <li><a href="#78"><b class="cmd">::math::statistics::random-chisquare</b> <i class="arg">df</i> <i class="arg">number</i></a></li> <li><a href="#79"><b class="cmd">::math::statistics::random-student-t</b> <i class="arg">df</i> <i class="arg">number</i></a></li> <li><a href="#80"><b class="cmd">::math::statistics::random-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">number</i></a></li> <li><a href="#81"><b class="cmd">::math::statistics::random-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></li> <li><a href="#82"><b class="cmd">::math::statistics::random-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></li> <li><a href="#83"><b class="cmd">::math::statistics::random-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></li> <li><a href="#84"><b class="cmd">::math::statistics::random-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></li> <li><a href="#85"><b class="cmd">::math::statistics::histogram-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">limits</i> <i class="arg">number</i></a></li> <li><a href="#86"><b class="cmd">::math::statistics::incompleteGamma</b> <i class="arg">x</i> <i class="arg">p</i> <span class="opt">?tol?</span></a></li> <li><a href="#87"><b class="cmd">::math::statistics::incompleteBeta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">x</i> <span class="opt">?tol?</span></a></li> <li><a href="#88"><b class="cmd">::math::statistics::estimate-pareto</b> <i class="arg">values</i></a></li> <li><a href="#89"><b class="cmd">::math::statistics::filter</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></li> <li><a href="#90"><b class="cmd">::math::statistics::map</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></li> <li><a href="#91"><b class="cmd">::math::statistics::samplescount</b> <i class="arg">varname</i> <i class="arg">list</i> <i class="arg">expression</i></a></li> <li><a href="#92"><b class="cmd">::math::statistics::subdivide</b></a></li> <li><a href="#93"><b class="cmd">::math::statistics::plot-scale</b> <i class="arg">canvas</i> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">ymin</i> <i class="arg">ymax</i></a></li> <li><a href="#94"><b class="cmd">::math::statistics::plot-xydata</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></li> <li><a href="#95"><b class="cmd">::math::statistics::plot-xyline</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></li> <li><a href="#96"><b class="cmd">::math::statistics::plot-tdata</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></li> <li><a href="#97"><b class="cmd">::math::statistics::plot-tline</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></li> <li><a href="#98"><b class="cmd">::math::statistics::plot-histogram</b> <i class="arg">canvas</i> <i class="arg">counts</i> <i class="arg">limits</i> <i class="arg">tag</i></a></li> </ul> </div> </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>The <b class="package">math::statistics</b> package contains functions and procedures for basic statistical data analysis, such as:</p> <ul class="doctools_itemized"> |
︙ | ︙ | |||
429 430 431 432 433 434 435 | <dt>list <i class="arg">list1</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">list2</i></dt> <dd><p>- Second list of data</p></dd> <dt>float <i class="arg">significance</i></dt> <dd><p>- Significance level (either 0.05, 0.01 or 0.001)</p></dd> </dl></dd> | > > > > > > > > > > > > > > > > > | | | | | | | | 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 | <dt>list <i class="arg">list1</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">list2</i></dt> <dd><p>- Second list of data</p></dd> <dt>float <i class="arg">significance</i></dt> <dd><p>- Significance level (either 0.05, 0.01 or 0.001)</p></dd> </dl></dd> <dt><a name="19"><b class="cmd">::math::statistics::test-anova-F</b> <i class="arg">alpha</i> <i class="arg">args</i></a></dt> <dd><p>Determine if two or more groups with normally distributed data have the same variances. The procedure returns 0 if the variances are likely unequal, 1 if they are. This is a one-way ANOVA test. The groups may also be stored in a nested list:</p> <pre class="doctools_example"> test-anova-F 0.05 $A $B $C # # Or equivalently: # test-anova-F 0.05 [list $A $B $C] </pre> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Significance level</p></dd> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more groups of data to be checked</p></dd> </dl></dd> <dt><a name="20"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">data</i> <i class="arg">confidence</i></a></dt> <dd><p>Return the quantiles for a given set of data</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- List of raw data values</p></dd> <dt>float <i class="arg">confidence</i></dt> <dd><p>- Confidence level (0.95 or 0.99 for instance) or a list of confidence levels.</p></dd> </dl></dd> <dt><a name="21"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">limits</i> <i class="arg">counts</i> <i class="arg">confidence</i></a></dt> <dd><p>Return the quantiles based on histogram information (alternative to the call with two arguments)</p> <dl class="doctools_arguments"> <dt>list <i class="arg">limits</i></dt> <dd><p>- List of upper limits from histogram</p></dd> <dt>list <i class="arg">counts</i></dt> <dd><p>- List of counts for for each interval in histogram</p></dd> <dt>float <i class="arg">confidence</i></dt> <dd><p>- Confidence level (0.95 or 0.99 for instance) or a list of confidence levels.</p></dd> </dl></dd> <dt><a name="22"><b class="cmd">::math::statistics::autocorr</b> <i class="arg">data</i></a></dt> <dd><p>Return the autocorrelation function as a list of values (assuming equidistance between samples, about 1/2 of the number of raw data)</p> <p>The correlation is determined in such a way that the first value is always 1 and all others are equal to or smaller than 1. The number of values involved will diminish as the "time" (the index in the list of returned values) increases</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- Raw data for which the autocorrelation must be determined</p></dd> </dl></dd> <dt><a name="23"><b class="cmd">::math::statistics::crosscorr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></dt> <dd><p>Return the cross-correlation function as a list of values (assuming equidistance between samples, about 1/2 of the number of raw data)</p> <p>The correlation is determined in such a way that the values can never exceed 1 in magnitude. The number of values involved will diminish as the "time" (the index in the list of returned values) increases.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data1</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">data2</i></dt> <dd><p>- Second list of data</p></dd> </dl></dd> <dt><a name="24"><b class="cmd">::math::statistics::mean-histogram-limits</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></dt> <dd><p>Determine reasonable limits based on mean and standard deviation for a histogram Convenience function - the result is suitable for the histogram function.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean of the data</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of limits to generate (defaults to 8)</p></dd> </dl></dd> <dt><a name="25"><b class="cmd">::math::statistics::minmax-histogram-limits</b> <i class="arg">min</i> <i class="arg">max</i> <i class="arg">number</i></a></dt> <dd><p>Determine reasonable limits based on a minimum and maximum for a histogram</p> <p>Convenience function - the result is suitable for the histogram function.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">min</i></dt> <dd><p>- Expected minimum</p></dd> <dt>float <i class="arg">max</i></dt> <dd><p>- Expected maximum</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of limits to generate (defaults to 8)</p></dd> </dl></dd> <dt><a name="26"><b class="cmd">::math::statistics::linear-model</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></dt> <dd><p>Determine the coefficients for a linear regression between two series of data (the model: Y = A + B*X). Returns a list of parameters describing the fit</p> <dl class="doctools_arguments"> <dt>list <i class="arg">xdata</i></dt> <dd><p>- List of independent data</p></dd> <dt>list <i class="arg">ydata</i></dt> |
︙ | ︙ | |||
519 520 521 522 523 524 525 | <li><p>Number of degrees of freedom df</p></li> <li><p>Standard error of the intercept A</p></li> <li><p>Significance level of A</p></li> <li><p>Standard error of the slope B</p></li> <li><p>Significance level of B</p></li> </ul></dd> </dl></dd> | | | | | | | | | | | | | | | | 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 | <li><p>Number of degrees of freedom df</p></li> <li><p>Standard error of the intercept A</p></li> <li><p>Significance level of A</p></li> <li><p>Standard error of the slope B</p></li> <li><p>Significance level of B</p></li> </ul></dd> </dl></dd> <dt><a name="27"><b class="cmd">::math::statistics::linear-residuals</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></dt> <dd><p>Determine the difference between actual data and predicted from the linear model.</p> <p>Returns a list of the differences between the actual data and the predicted values.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">xdata</i></dt> <dd><p>- List of independent data</p></dd> <dt>list <i class="arg">ydata</i></dt> <dd><p>- List of dependent data to be fitted</p></dd> <dt>boolean <i class="arg">intercept</i></dt> <dd><p>- (Optional) compute the intercept (1, default) or fit to a line through the origin (0)</p></dd> </dl></dd> <dt><a name="28"><b class="cmd">::math::statistics::test-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></dt> <dd><p>Determine if two set of samples, each from a binomial distribution, differ significantly or not (implying a different parameter).</p> <p>Returns the "chi-square" value, which can be used to the determine the significance.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">n11</i></dt> <dd><p>- Number of outcomes with the first value from the first sample.</p></dd> <dt>int <i class="arg">n21</i></dt> <dd><p>- Number of outcomes with the first value from the second sample.</p></dd> <dt>int <i class="arg">n12</i></dt> <dd><p>- Number of outcomes with the second value from the first sample.</p></dd> <dt>int <i class="arg">n22</i></dt> <dd><p>- Number of outcomes with the second value from the second sample.</p></dd> </dl></dd> <dt><a name="29"><b class="cmd">::math::statistics::print-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></dt> <dd><p>Determine if two set of samples, each from a binomial distribution, differ significantly or not (implying a different parameter).</p> <p>Returns a short report, useful in an interactive session.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">n11</i></dt> <dd><p>- Number of outcomes with the first value from the first sample.</p></dd> <dt>int <i class="arg">n21</i></dt> <dd><p>- Number of outcomes with the first value from the second sample.</p></dd> <dt>int <i class="arg">n12</i></dt> <dd><p>- Number of outcomes with the second value from the first sample.</p></dd> <dt>int <i class="arg">n22</i></dt> <dd><p>- Number of outcomes with the second value from the second sample.</p></dd> </dl></dd> <dt><a name="30"><b class="cmd">::math::statistics::control-xbar</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></dt> <dd><p>Determine the control limits for an xbar chart. The number of data in each subsample defaults to 4. At least 20 subsamples are required.</p> <p>Returns the mean, the lower limit, the upper limit and the number of data per subsample.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> <dt>int <i class="arg">nsamples</i></dt> <dd><p>- Number of data per subsample</p></dd> </dl></dd> <dt><a name="31"><b class="cmd">::math::statistics::control-Rchart</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></dt> <dd><p>Determine the control limits for an R chart. The number of data in each subsample (nsamples) defaults to 4. At least 20 subsamples are required.</p> <p>Returns the mean range, the lower limit, the upper limit and the number of data per subsample.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> <dt>int <i class="arg">nsamples</i></dt> <dd><p>- Number of data per subsample</p></dd> </dl></dd> <dt><a name="32"><b class="cmd">::math::statistics::test-xbar</b> <i class="arg">control</i> <i class="arg">data</i></a></dt> <dd><p>Determine if the data exceed the control limits for the xbar chart.</p> <p>Returns a list of subsamples (their indices) that indeed violate the limits.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">control</i></dt> <dd><p>- Control limits as returned by the "control-xbar" procedure</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> </dl></dd> <dt><a name="33"><b class="cmd">::math::statistics::test-Rchart</b> <i class="arg">control</i> <i class="arg">data</i></a></dt> <dd><p>Determine if the data exceed the control limits for the R chart.</p> <p>Returns a list of subsamples (their indices) that indeed violate the limits.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">control</i></dt> <dd><p>- Control limits as returned by the "control-Rchart" procedure</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> </dl></dd> <dt><a name="34"><b class="cmd">::math::statistics::test-Kruskal-Wallis</b> <i class="arg">confidence</i> <i class="arg">args</i></a></dt> <dd><p>Check if the population medians of two or more groups are equal with a given confidence level, using the Kruskal-Wallis test.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">confidence</i></dt> <dd><p>- Confidence level to be used (0-1)</p></dd> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more lists of data</p></dd> </dl></dd> <dt><a name="35"><b class="cmd">::math::statistics::analyse-Kruskal-Wallis</b> <i class="arg">args</i></a></dt> <dd><p>Compute the statistical parameters for the Kruskal-Wallis test. Returns the Kruskal-Wallis statistic and the probability that that value would occur assuming the medians of the populations are equal.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more lists of data</p></dd> </dl></dd> <dt><a name="36"><b class="cmd">::math::statistics::group-rank</b> <i class="arg">args</i></a></dt> <dd><p>Rank the groups of data with respect to the complete set. Returns a list consisting of the group ID, the value and the rank (possibly a rational number, in case of ties) for each data item.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more lists of data</p></dd> </dl></dd> <dt><a name="37"><b class="cmd">::math::statistics::test-Wilcoxon</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></dt> <dd><p>Compute the Wilcoxon test statistic to determine if two samples have the same median or not. (The statistic can be regarded as standard normal, if the sample sizes are both larger than 10. Returns the value of this statistic.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">sample_a</i></dt> <dd><p>- List of data comprising the first sample</p></dd> <dt>list <i class="arg">sample_b</i></dt> <dd><p>- List of data comprising the second sample</p></dd> </dl></dd> <dt><a name="38"><b class="cmd">::math::statistics::spearman-rank</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></dt> <dd><p>Return the Spearman rank correlation as an alternative to the ordinary (Pearson's) correlation coefficient. The two samples should have the same number of data.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">sample_a</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">sample_b</i></dt> <dd><p>- Second list of data</p></dd> </dl></dd> <dt><a name="39"><b class="cmd">::math::statistics::spearman-rank-extended</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></dt> <dd><p>Return the Spearman rank correlation as an alternative to the ordinary (Pearson's) correlation coefficient as well as additional data. The two samples should have the same number of data. The procedure returns the correlation coefficient, the number of data pairs used and the z-score, an approximately standard normal statistic, indicating the significance of the correlation.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">sample_a</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">sample_b</i></dt> <dd><p>- Second list of data</p></dd> </dl></dd> <dt><a name="40"><b class="cmd">::math::statistics::kernel-density</b> <i class="arg">data</i> opt <i class="arg">-option value</i> ...</a></dt> <dd><p>] Return the density function based on kernel density estimation. The procedure is controlled by a small set of options, each of which is given a reasonable default.</p> <p>The return value consists of three lists: the centres of the bins, the associated probability density and a list of computational parameters (begin and end of the interval, mean and standard deviation and the used bandwidth). The computational parameters can be used for further analysis.</p> <dl class="doctools_arguments"> |
︙ | ︙ | |||
701 702 703 704 705 706 707 | <p>In addition to these two, it provides a procedure (tstat) for calculating the value of the t-statistic for the specified number of degrees of freedom that is required to demonstrate a given level of significance.</p> <p>Note: These procedures depend on the math::linearalgebra package.</p> <p><em>Description of the procedures</em></p> <dl class="doctools_definitions"> | | | 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 | <p>In addition to these two, it provides a procedure (tstat) for calculating the value of the t-statistic for the specified number of degrees of freedom that is required to demonstrate a given level of significance.</p> <p>Note: These procedures depend on the math::linearalgebra package.</p> <p><em>Description of the procedures</em></p> <dl class="doctools_definitions"> <dt><a name="41"><b class="cmd">::math::statistics::tstat</b> <i class="arg">dof</i> <span class="opt">?alpha?</span></a></dt> <dd><p>Returns the value of the t-distribution t* satisfying</p> <pre class="doctools_example"> P(t*) = 1 - alpha/2 P(-t*) = alpha/2 </pre> <p>for the number of degrees of freedom dof.</p> <p>Given a sample of normally-distributed data x, with an |
︙ | ︙ | |||
725 726 727 728 729 730 731 | the given confidence level.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">dof</i></dt> <dd><p>Number of degrees of freedom</p></dd> <dt>float <i class="arg">alpha</i></dt> <dd><p>Confidence level of the t-distribution. Defaults to 0.05.</p></dd> </dl></dd> | | | 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 | the given confidence level.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">dof</i></dt> <dd><p>Number of degrees of freedom</p></dd> <dt>float <i class="arg">alpha</i></dt> <dd><p>Confidence level of the t-distribution. Defaults to 0.05.</p></dd> </dl></dd> <dt><a name="42"><b class="cmd">::math::statistics::mv-wls</b> <i class="arg">wt1</i> <i class="arg">weights_and_values</i></a></dt> <dd><p>Carries out a weighted least squares linear regression for the data points provided, with weights assigned to each point.</p> <p>The linear model is of the form</p> <pre class="doctools_example"> y = b0 + b1 * x1 + b2 * x2 ... + bN * xN + error </pre> <p>and each point satisfies</p> |
︙ | ︙ | |||
755 756 757 758 759 760 761 | <dt>list <i class="arg">weights_and_values</i></dt> <dd><p>A list consisting of: the weight for the first observation, the data for the first observation (as a sublist), the weight for the second observation (as a sublist) and so on. The sublists of data are organised as lists of the value of the dependent variable y and the independent variables x1, x2 to xN.</p></dd> </dl></dd> | | | 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 | <dt>list <i class="arg">weights_and_values</i></dt> <dd><p>A list consisting of: the weight for the first observation, the data for the first observation (as a sublist), the weight for the second observation (as a sublist) and so on. The sublists of data are organised as lists of the value of the dependent variable y and the independent variables x1, x2 to xN.</p></dd> </dl></dd> <dt><a name="43"><b class="cmd">::math::statistics::mv-ols</b> <i class="arg">values</i></a></dt> <dd><p>Carries out an ordinary least squares linear regression for the data points provided.</p> <p>This procedure simply calls ::mvlinreg::wls with the weights set to 1.0, and returns the same information.</p></dd> </dl> <p><em>Example of the use:</em></p> <pre class="doctools_example"> |
︙ | ︙ | |||
807 808 809 810 811 812 813 | <li><p>The chi-square distribution</p></li> <li><p>The student's T distribution</p></li> <li><p>The Poisson distribution</p></li> <li><p>The Pareto distribution</p></li> <li><p>The Gumbel distribution</p></li> <li><p>The Weibull distribution</p></li> <li><p>The Cauchy distribution</p></li> | > | | | | | | | | | | | | | | | | | | | | | | | | | | | > > > > > > > > > > > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 | <li><p>The chi-square distribution</p></li> <li><p>The student's T distribution</p></li> <li><p>The Poisson distribution</p></li> <li><p>The Pareto distribution</p></li> <li><p>The Gumbel distribution</p></li> <li><p>The Weibull distribution</p></li> <li><p>The Cauchy distribution</p></li> <li><p>The F distribution (only the cumulative density function)</p></li> <li><p>PM - binomial.</p></li> </ul> <p>In principle for each distribution one has procedures for:</p> <ul class="doctools_itemized"> <li><p>The probability density (pdf-*)</p></li> <li><p>The cumulative density (cdf-*)</p></li> <li><p>Quantiles for the given distribution (quantiles-*)</p></li> <li><p>Histograms for the given distribution (histogram-*)</p></li> <li><p>List of random values with the given distribution (random-*)</p></li> </ul> <p>The following procedures have been implemented:</p> <dl class="doctools_definitions"> <dt><a name="44"><b class="cmd">::math::statistics::pdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="45"><b class="cmd">::math::statistics::pdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a log-normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="46"><b class="cmd">::math::statistics::pdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for an exponential distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="47"><b class="cmd">::math::statistics::pdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a uniform distribution with given extremes.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="48"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Gamma distribution with given shape and rate parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">beta</i></dt> <dd><p>- Rate parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="49"><b class="cmd">::math::statistics::pdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></dt> <dd><p>Return the probability of a given number of occurrences in the same interval (k) for a Poisson distribution with given mean (mu)</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mu</i></dt> <dd><p>- Mean number of occurrences</p></dd> <dt>int <i class="arg">k</i></dt> <dd><p>- Number of occurences</p></dd> </dl></dd> <dt><a name="50"><b class="cmd">::math::statistics::pdf-chisquare</b> <i class="arg">df</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a chi square distribution with given degrees of freedom</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="51"><b class="cmd">::math::statistics::pdf-student-t</b> <i class="arg">df</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Student's t distribution with given degrees of freedom</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="52"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Gamma distribution with given shape and rate parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Rate parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="53"><b class="cmd">::math::statistics::pdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Beta distribution with given shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="54"><b class="cmd">::math::statistics::pdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Weibull distribution with given scale and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="55"><b class="cmd">::math::statistics::pdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Gumbel distribution with given location and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="56"><b class="cmd">::math::statistics::pdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Pareto distribution with given scale and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="57"><b class="cmd">::math::statistics::pdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Cauchy distribution with given location and shape parameters. Note that the Cauchy distribution has no finite higher-order moments.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="58"><b class="cmd">::math::statistics::cdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a normal distribution with given mean and standard deviation, that is the probability for values up to the given one.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="59"><b class="cmd">::math::statistics::cdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a log-normal distribution with given mean and standard deviation, that is the probability for values up to the given one.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="60"><b class="cmd">::math::statistics::cdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for an exponential distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="61"><b class="cmd">::math::statistics::cdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a uniform distribution with given extremes.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="62"><b class="cmd">::math::statistics::cdf-students-t</b> <i class="arg">degrees</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Student's t distribution with given number of degrees.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">degrees</i></dt> <dd><p>- Number of degrees of freedom</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="63"><b class="cmd">::math::statistics::cdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Gamma distribution with given shape and rate parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">beta</i></dt> <dd><p>- Rate parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the cumulative probability is required</p></dd> </dl></dd> <dt><a name="64"><b class="cmd">::math::statistics::cdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></dt> <dd><p>Return the cumulative probability of a given number of occurrences in the same interval (k) for a Poisson distribution with given mean (mu).</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mu</i></dt> <dd><p>- Mean number of occurrences</p></dd> <dt>int <i class="arg">k</i></dt> <dd><p>- Number of occurences</p></dd> </dl></dd> <dt><a name="65"><b class="cmd">::math::statistics::cdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Beta distribution with given shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="66"><b class="cmd">::math::statistics::cdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Weibull distribution with given scale and shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="67"><b class="cmd">::math::statistics::cdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Gumbel distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="68"><b class="cmd">::math::statistics::cdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Pareto distribution with given scale and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="69"><b class="cmd">::math::statistics::cdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Cauchy distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="70"><b class="cmd">::math::statistics::cdf-F</b> <i class="arg">nf1</i> <i class="arg">nf2</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for an F distribution with nf1 and nf2 degrees of freedom.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">nf1</i></dt> <dd><p>- Degrees of freedom for the numerator</p></dd> <dt>float <i class="arg">nf2</i></dt> <dd><p>- Degrees of freedom for the denominator</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="71"><b class="cmd">::math::statistics::empirical-distribution</b> <i class="arg">values</i></a></dt> <dd><p>Return a list of values and their empirical probability. The values are sorted in increasing order. (The implementation follows the description at the corresponding Wikipedia page)</p> <dl class="doctools_arguments"> <dt>list <i class="arg">values</i></dt> <dd><p>- List of data to be examined</p></dd> </dl></dd> <dt><a name="72"><b class="cmd">::math::statistics::random-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="73"><b class="cmd">::math::statistics::random-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a log-normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="74"><b class="cmd">::math::statistics::random-exponential</b> <i class="arg">mean</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying an exponential distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="75"><b class="cmd">::math::statistics::random-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a uniform distribution with given extremes.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmax</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="76"><b class="cmd">::math::statistics::random-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Gamma distribution with given shape and rate parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">beta</i></dt> <dd><p>- Rate parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="77"><b class="cmd">::math::statistics::random-poisson</b> <i class="arg">mu</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Poisson distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mu</i></dt> <dd><p>- Mean of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="78"><b class="cmd">::math::statistics::random-chisquare</b> <i class="arg">df</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a chi square distribution with given degrees of freedom.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="79"><b class="cmd">::math::statistics::random-student-t</b> <i class="arg">df</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Student's t distribution with given degrees of freedom.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="80"><b class="cmd">::math::statistics::random-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Beta distribution with given shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="81"><b class="cmd">::math::statistics::random-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Weibull distribution with given scale and shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="82"><b class="cmd">::math::statistics::random-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Gumbel distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="83"><b class="cmd">::math::statistics::random-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Pareto distribution with given scale and shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="84"><b class="cmd">::math::statistics::random-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Cauchy distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="85"><b class="cmd">::math::statistics::histogram-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">limits</i> <i class="arg">number</i></a></dt> <dd><p>Return the expected histogram for a uniform distribution.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmax</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>list <i class="arg">limits</i></dt> <dd><p>- Upper limits for the buckets in the histogram</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Total number of "observations" in the histogram</p></dd> </dl></dd> <dt><a name="86"><b class="cmd">::math::statistics::incompleteGamma</b> <i class="arg">x</i> <i class="arg">p</i> <span class="opt">?tol?</span></a></dt> <dd><p>Evaluate the incomplete Gamma integral</p> <pre class="doctools_example"> 1 / x p-1 P(p,x) = -------- | dt exp(-t) * t Gamma(p) / 0 </pre> <dl class="doctools_arguments"> <dt>float <i class="arg">x</i></dt> <dd><p>- Value of x (limit of the integral)</p></dd> <dt>float <i class="arg">p</i></dt> <dd><p>- Value of p in the integrand</p></dd> <dt>float <i class="arg">tol</i></dt> <dd><p>- Required tolerance (default: 1.0e-9)</p></dd> </dl></dd> <dt><a name="87"><b class="cmd">::math::statistics::incompleteBeta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">x</i> <span class="opt">?tol?</span></a></dt> <dd><p>Evaluate the incomplete Beta integral</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>float <i class="arg">x</i></dt> <dd><p>- Value of x (limit of the integral)</p></dd> <dt>float <i class="arg">tol</i></dt> <dd><p>- Required tolerance (default: 1.0e-9)</p></dd> </dl></dd> <dt><a name="88"><b class="cmd">::math::statistics::estimate-pareto</b> <i class="arg">values</i></a></dt> <dd><p>Estimate the parameters for the Pareto distribution that comes closest to the given values. Returns the estimated scale and shape parameters, as well as the standard error for the shape parameter.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">values</i></dt> <dd><p>- List of values, assumed to be distributed according to a Pareto distribution</p></dd> </dl></dd> </dl> <p>TO DO: more function descriptions to be added</p> </div> <div id="section5" class="doctools_section"><h2><a name="section5">DATA MANIPULATION</a></h2> <p>The data manipulation procedures act on lists or lists of lists:</p> <dl class="doctools_definitions"> <dt><a name="89"><b class="cmd">::math::statistics::filter</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></dt> <dd><p>Return a list consisting of the data for which the logical expression is true (this command works analogously to the command <b class="cmd"><a href="../../../../index.html#key218">foreach</a></b>).</p> <dl class="doctools_arguments"> <dt>string <i class="arg">varname</i></dt> <dd><p>- Name of the variable used in the expression</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of data</p></dd> <dt>string <i class="arg">expression</i></dt> <dd><p>- Logical expression using the variable name</p></dd> </dl></dd> <dt><a name="90"><b class="cmd">::math::statistics::map</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></dt> <dd><p>Return a list consisting of the data that are transformed via the expression.</p> <dl class="doctools_arguments"> <dt>string <i class="arg">varname</i></dt> <dd><p>- Name of the variable used in the expression</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of data</p></dd> <dt>string <i class="arg">expression</i></dt> <dd><p>- Expression to be used to transform (map) the data</p></dd> </dl></dd> <dt><a name="91"><b class="cmd">::math::statistics::samplescount</b> <i class="arg">varname</i> <i class="arg">list</i> <i class="arg">expression</i></a></dt> <dd><p>Return a list consisting of the <i class="term">counts</i> of all data in the sublists of the "list" argument for which the expression is true.</p> <dl class="doctools_arguments"> <dt>string <i class="arg">varname</i></dt> <dd><p>- Name of the variable used in the expression</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of sublists, each containing the data</p></dd> <dt>string <i class="arg">expression</i></dt> <dd><p>- Logical expression to test the data (defaults to "true").</p></dd> </dl></dd> <dt><a name="92"><b class="cmd">::math::statistics::subdivide</b></a></dt> <dd><p>Routine <em>PM</em> - not implemented yet</p></dd> </dl> </div> <div id="section6" class="doctools_section"><h2><a name="section6">PLOT PROCEDURES</a></h2> <p>The following simple plotting procedures are available:</p> <dl class="doctools_definitions"> <dt><a name="93"><b class="cmd">::math::statistics::plot-scale</b> <i class="arg">canvas</i> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">ymin</i> <i class="arg">ymax</i></a></dt> <dd><p>Set the scale for a plot in the given canvas. All plot routines expect this function to be called first. There is no automatic scaling provided.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum x value</p></dd> <dt>float <i class="arg">xmax</i></dt> <dd><p>- Maximum x value</p></dd> <dt>float <i class="arg">ymin</i></dt> <dd><p>- Minimum y value</p></dd> <dt>float <i class="arg">ymax</i></dt> <dd><p>- Maximum y value</p></dd> </dl></dd> <dt><a name="94"><b class="cmd">::math::statistics::plot-xydata</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a collection of dots. The tag can be used to manipulate the appearance.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>float <i class="arg">xdata</i></dt> <dd><p>- Series of independent data</p></dd> <dt>float <i class="arg">ydata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="95"><b class="cmd">::math::statistics::plot-xyline</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a line through the data points. The tag can be used to manipulate the appearance.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">xdata</i></dt> <dd><p>- Series of independent data</p></dd> <dt>list <i class="arg">ydata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="96"><b class="cmd">::math::statistics::plot-tdata</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a collection of dots. The horizontal coordinate is equal to the index. The tag can be used to manipulate the appearance. This type of presentation is suitable for autocorrelation functions for instance or for inspecting the time-dependent behaviour.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">tdata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="97"><b class="cmd">::math::statistics::plot-tline</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a line. See plot-tdata for an explanation.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">tdata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="98"><b class="cmd">::math::statistics::plot-histogram</b> <i class="arg">canvas</i> <i class="arg">counts</i> <i class="arg">limits</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple histogram in the given canvas</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">counts</i></dt> <dd><p>- Series of bucket counts</p></dd> <dt>list <i class="arg">limits</i></dt> |
︙ | ︙ |
Changes to embedded/www/tcllib/files/modules/pki/pki.html.
︙ | ︙ | |||
95 96 97 98 99 100 101 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> | | | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> <h1 class="doctools_title">pki(n) 0.10 tcllib "public key encryption"</h1> <div id="name" class="doctools_section"><h2><a name="name">Name</a></h2> <p>pki - Implementation of the public key cipher</p> </div> <div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2> <ul class="doctools_toc"> <li class="doctools_section"><a href="#toc">Table Of Contents</a></li> <li class="doctools_section"><a href="#synopsis">Synopsis</a></li> |
︙ | ︙ | |||
119 120 121 122 123 124 125 | <li class="doctools_section"><a href="#copyright">Copyright</a></li> </ul> </div> <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.5</b></li> | | | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | <li class="doctools_section"><a href="#copyright">Copyright</a></li> </ul> </div> <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.5</b></li> <li>package require <b class="pkgname">pki <span class="opt">?0.10?</span></b></li> </ul> <ul class="doctools_syntax"> <li><a href="#1"><b class="cmd">::pki::encrypt</b> <span class="opt">?<i class="arg">-binary</i>?</span> <span class="opt">?<i class="arg">-hex</i>?</span> <span class="opt">?<i class="arg">-pad</i>?</span> <span class="opt">?<i class="arg">-nopad</i>?</span> <span class="opt">?<i class="arg">-priv</i>?</span> <span class="opt">?<i class="arg">-pub</i>?</span> <span class="opt">?<i class="arg">--</i>?</span> <i class="arg">input</i> <i class="arg">key</i></a></li> <li><a href="#2"><b class="cmd">::pki::decrypt</b> <span class="opt">?<i class="arg">-binary</i>?</span> <span class="opt">?<i class="arg">-hex</i>?</span> <span class="opt">?<i class="arg">-unpad</i>?</span> <span class="opt">?<i class="arg">-nounpad</i>?</span> <span class="opt">?<i class="arg">-priv</i>?</span> <span class="opt">?<i class="arg">-pub</i>?</span> <span class="opt">?<i class="arg">--</i>?</span> <i class="arg">input</i> <i class="arg">key</i></a></li> <li><a href="#3"><b class="cmd">::pki::sign</b> <i class="arg">input</i> <i class="arg">key</i> <span class="opt">?<i class="arg">algo</i>?</span></a></li> <li><a href="#4"><b class="cmd">::pki::verify</b> <i class="arg">signedmessage</i> <i class="arg">plaintext</i> <i class="arg">key</i> <span class="opt">?<i class="arg">algo</i>?</span></a></li> <li><a href="#5"><b class="cmd">::pki::key</b> <i class="arg">key</i> <span class="opt">?<i class="arg">password</i>?</span> <span class="opt">?<i class="arg">encodePem</i>?</span></a></li> |
︙ | ︙ |
Changes to embedded/www/tcllib/toc.html.
︙ | ︙ | |||
547 548 549 550 551 552 553 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > | < < < < | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > > > > | 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fileutil/multi.html">fileutil::multi</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather, standard object</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/fileutil/multiop.html">fileutil::multi::op</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fileutil/traverse.html">fileutil_traverse</a></td> <td class="#doctools_tocright">Iterative directory traversal</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ftp/ftp.html">ftp</a></td> <td class="#doctools_tocright">Client-side tcl implementation of the ftp protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ftp/ftp_geturl.html">ftp::geturl</a></td> <td class="#doctools_tocright">Uri handler for ftp urls</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ftpd/ftpd.html">ftpd</a></td> <td class="#doctools_tocright">Tcl FTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/generator/generator.html">generator</a></td> <td class="#doctools_tocright">Procedures for creating and using generators.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/gpx/gpx.html">gpx</a></td> <td class="#doctools_tocright">Extracts waypoints, tracks and routes from GPX files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_aycock/aycock.html">grammar::aycock</a></td> <td class="#doctools_tocright">Aycock-Horspool-Earley parser generator for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/fa.html">grammar::fa</a></td> <td class="#doctools_tocright">Create and manipulate finite automatons</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/dacceptor.html">grammar::fa::dacceptor</a></td> <td class="#doctools_tocright">Create and use deterministic acceptors</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/dexec.html">grammar::fa::dexec</a></td> <td class="#doctools_tocright">Execute deterministic finite automatons</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/faop.html">grammar::fa::op</a></td> <td class="#doctools_tocright">Operations on finite automatons</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_cpu.html">grammar::me::cpu</a></td> <td class="#doctools_tocright">Virtual machine implementation II for parsing token streams</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_cpucore.html">grammar::me::cpu::core</a></td> <td class="#doctools_tocright">ME virtual machine state manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/gasm.html">grammar::me::cpu::gasm</a></td> <td class="#doctools_tocright">ME assembler</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_tcl.html">grammar::me::tcl</a></td> <td class="#doctools_tocright">Virtual machine implementation I for parsing token streams</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_util.html">grammar::me::util</a></td> <td class="#doctools_tocright">AST utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_ast.html">grammar::me_ast</a></td> <td class="#doctools_tocright">Various representations of ASTs</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_intro.html">grammar::me_intro</a></td> <td class="#doctools_tocright">Introduction to virtual machines for parsing token streams</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_vm.html">grammar::me_vm</a></td> <td class="#doctools_tocright">Virtual machine for parsing token streams</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_peg/peg.html">grammar::peg</a></td> <td class="#doctools_tocright">Create and manipulate parsing expression grammars</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_peg/peg_interp.html">grammar::peg::interp</a></td> <td class="#doctools_tocright">Interpreter for parsing expression grammars</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/hook/hook.html">hook</a></td> <td class="#doctools_tocright">Hooks</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/html/html.html">html</a></td> <td class="#doctools_tocright">Procedures to generate HTML structures</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/htmlparse/htmlparse.html">htmlparse</a></td> <td class="#doctools_tocright">Procedures to parse HTML strings</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/yaml/huddle.html">huddle</a></td> <td class="#doctools_tocright">Create and manipulate huddle object</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ident/ident.html">ident</a></td> <td class="#doctools_tocright">Ident protocol client</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/imap4/imap4.html">imap4</a></td> <td class="#doctools_tocright">imap client-side tcl implementation of imap protocol</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/inifile/ini.html">inifile</a></td> <td class="#doctools_tocright">Parsing of Windows INI files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/interp/tcllib_interp.html">interp</a></td> <td class="#doctools_tocright">Interp creation and aliasing</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/irc/irc.html">irc</a></td> <td class="#doctools_tocright">Create IRC connection and interface.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/javascript/javascript.html">javascript</a></td> <td class="#doctools_tocright">Procedures to generate HTML and Java Script structures.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/jpeg/jpeg.html">jpeg</a></td> <td class="#doctools_tocright">JPEG querying and manipulation of meta data</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/json/json.html">json</a></td> <td class="#doctools_tocright">JSON parser</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/json/json_write.html">json::write</a></td> <td class="#doctools_tocright">JSON generation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/lambda/lambda.html">lambda</a></td> <td class="#doctools_tocright">Utility commands for anonymous procedures</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ldap/ldap.html">ldap</a></td> <td class="#doctools_tocright">LDAP client</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ldap/ldapx.html">ldapx</a></td> <td class="#doctools_tocright">LDAP extended object interface</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/log/log.html">log</a></td> <td class="#doctools_tocright">Procedures to log messages of libraries and applications.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/log/logger.html">logger</a></td> <td class="#doctools_tocright">System to control logging of events.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/log/loggerAppender.html">logger::appender</a></td> <td class="#doctools_tocright">Collection of predefined appenders for logger</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/log/loggerUtils.html">logger::utils</a></td> <td class="#doctools_tocright">Utilities for logger</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_geocode_nominatim.html">map::geocode::nominatim</a></td> <td class="#doctools_tocright">Resolving geographical names with a Nominatim service</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_slippy.html">map::slippy</a></td> <td class="#doctools_tocright">Common code for slippy based map packages</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_slippy_cache.html">map::slippy::cache</a></td> <td class="#doctools_tocright">Management of a tile cache in the local filesystem</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_slippy_fetcher.html">map::slippy::fetcher</a></td> <td class="#doctools_tocright">Accessing a server providing tiles for slippy-based maps</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/mapproj/mapproj.html">mapproj</a></td> <td class="#doctools_tocright">Map projection routines</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/markdown/markdown.html">markdown</a></td> <td class="#doctools_tocright">Converts Markdown text to HTML</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/math.html">math</a></td> <td class="#doctools_tocright">Tcl Math Library</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/bigfloat.html">math::bigfloat</a></td> <td class="#doctools_tocright">Arbitrary precision floating-point numbers</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/bignum.html">math::bignum</a></td> <td class="#doctools_tocright">Arbitrary precision integer numbers</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/calculus.html">math::calculus</a></td> <td class="#doctools_tocright">Integration and ordinary differential equations</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/romberg.html">math::calculus::romberg</a></td> <td class="#doctools_tocright">Romberg integration</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/symdiff.html">math::calculus::symdiff</a></td> <td class="#doctools_tocright">Symbolic differentiation for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/combinatorics.html">math::combinatorics</a></td> <td class="#doctools_tocright">Combinatorial functions in the Tcl Math Library</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/qcomplex.html">math::complexnumbers</a></td> <td class="#doctools_tocright">Straightforward complex number package</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/constants.html">math::constants</a></td> <td class="#doctools_tocright">Mathematical and numerical constants</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/decimal.html">math::decimal</a></td> <td class="#doctools_tocright">General decimal arithmetic</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/exact.html">math::exact</a></td> <td class="#doctools_tocright">Exact Real Arithmetic</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/fourier.html">math::fourier</a></td> <td class="#doctools_tocright">Discrete and fast fourier transforms</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/fuzzy.html">math::fuzzy</a></td> <td class="#doctools_tocright">Fuzzy comparison of floating-point numbers</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/math_geometry.html">math::geometry</a></td> <td class="#doctools_tocright">Geometrical computations</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/interpolate.html">math::interpolate</a></td> <td class="#doctools_tocright">Interpolation routines</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/linalg.html">math::linearalgebra</a></td> <td class="#doctools_tocright">Linear Algebra</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/numtheory.html">math::numtheory</a></td> <td class="#doctools_tocright">Number Theory</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/optimize.html">math::optimize</a></td> <td class="#doctools_tocright">Optimisation routines</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/polynomials.html">math::polynomials</a></td> <td class="#doctools_tocright">Polynomial functions</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/rational_funcs.html">math::rationalfunctions</a></td> <td class="#doctools_tocright">Polynomial functions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/roman.html">math::roman</a></td> <td class="#doctools_tocright">Tools for creating and manipulating roman numerals</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/special.html">math::special</a></td> <td class="#doctools_tocright">Special mathematical functions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/statistics.html">math::statistics</a></td> <td class="#doctools_tocright">Basic statistical functions and procedures</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/md4/md4.html">md4</a></td> <td class="#doctools_tocright">MD4 Message-Digest Algorithm</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/md5/md5.html">md5</a></td> <td class="#doctools_tocright">MD5 Message-Digest Algorithm</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/md5crypt/md5crypt.html">md5crypt</a></td> <td class="#doctools_tocright">MD5-based password encryption</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/mime/mime.html">mime</a></td> <td class="#doctools_tocright">Manipulation of MIME body parts</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/doctools/mpexpand.html">mpexpand</a></td> <td class="#doctools_tocright">Markup processor</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/multiplexer/multiplexer.html">multiplexer</a></td> <td class="#doctools_tocright">One-to-many communication with sockets.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_client.html">nameserv</a></td> <td class="#doctools_tocright">Name service facility, Client</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_auto.html">nameserv::auto</a></td> <td class="#doctools_tocright">Name service facility, Client Extension</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_common.html">nameserv::common</a></td> <td class="#doctools_tocright">Name service facility, shared definitions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_protocol.html">nameserv::protocol</a></td> <td class="#doctools_tocright">Name service facility, client/server protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_server.html">nameserv::server</a></td> <td class="#doctools_tocright">Name service facility, Server</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/namespacex/namespacex.html">namespacex</a></td> <td class="#doctools_tocright">Namespace utility commands</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ncgi/ncgi.html">ncgi</a></td> <td class="#doctools_tocright">Procedures to manipulate CGI values.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nettool/nettool.html">nettool</a></td> <td class="#doctools_tocright">Tools for networked applications</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nmea/nmea.html">nmea</a></td> <td class="#doctools_tocright">Process NMEA data</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/nns.html">nns</a></td> <td class="#doctools_tocright">Name service facility, Commandline Client Application</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_intro.html">nns_intro</a></td> <td class="#doctools_tocright">Name service facility, introduction</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/nnsd.html">nnsd</a></td> <td class="#doctools_tocright">Name service facility, Commandline Server Application</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/apps/nnslog.html">nnslog</a></td> <td class="#doctools_tocright">Name service facility, Commandline Logging Client Application</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nntp/nntp.html">nntp</a></td> <td class="#doctools_tocright">Tcl client for the NNTP protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ntp/ntp_time.html">ntp_time</a></td> <td class="#doctools_tocright">Tcl Time Service Client</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/oauth/oauth.html">oauth</a></td> <td class="#doctools_tocright">oauth API base signature</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tool/meta.html">oo::util</a></td> <td class="#doctools_tocright">Utility commands for TclOO</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ooutil/ooutil.html">oo::util</a></td> <td class="#doctools_tocright">Utility commands for TclOO</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/otp/otp.html">otp</a></td> <td class="#doctools_tocright">One-Time Passwords</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/page.html">page</a></td> <td class="#doctools_tocright">Parser Generator</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_intro.html">page_intro</a></td> <td class="#doctools_tocright">page introduction</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_pluginmgr.html">page_pluginmgr</a></td> <td class="#doctools_tocright">page plugin manager</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_flow.html">page_util_flow</a></td> <td class="#doctools_tocright">page dataflow/treewalker utility</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_norm_lemon.html">page_util_norm_lemon</a></td> <td class="#doctools_tocright">page AST normalization, LEMON</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_norm_peg.html">page_util_norm_peg</a></td> <td class="#doctools_tocright">page AST normalization, PEG</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_peg.html">page_util_peg</a></td> <td class="#doctools_tocright">page PEG transformation utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_quote.html">page_util_quote</a></td> <td class="#doctools_tocright">page character quoting utilities</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/irc/picoirc.html">picoirc</a></td> <td class="#doctools_tocright">Small and simple embeddable IRC client.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pki/pki.html">pki</a></td> <td class="#doctools_tocright">Implementation of the public key cipher</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pluginmgr/pluginmgr.html">pluginmgr</a></td> <td class="#doctools_tocright">Manage a plugin</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/png/png.html">png</a></td> <td class="#doctools_tocright">PNG querying and manipulation of meta data</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pop3/pop3.html">pop3</a></td> <td class="#doctools_tocright">Tcl client for POP3 email protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pop3d/pop3d.html">pop3d</a></td> <td class="#doctools_tocright">Tcl POP3 server implementation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pop3d/pop3d_dbox.html">pop3d::dbox</a></td> <td class="#doctools_tocright">Simple mailbox database for pop3d</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pop3d/pop3d_udb.html">pop3d::udb</a></td> <td class="#doctools_tocright">Simple user database for pop3d</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/practcl/practcl.html">practcl</a></td> <td class="#doctools_tocright">The Practcl Module</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/processman/processman.html">processman</a></td> <td class="#doctools_tocright">Tool for automating the period callback of commands</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/profiler/profiler.html">profiler</a></td> <td class="#doctools_tocright">Tcl source code profiler</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/apps/pt.html">pt</a></td> <td class="#doctools_tocright">Parser Tools Application</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_astree.html">pt::ast</a></td> <td class="#doctools_tocright">Abstract Syntax Tree Serialization</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_cparam_config_critcl.html">pt::cparam::configuration::critcl</a></td> <td class="#doctools_tocright">C/PARAM, Canned configuration, Critcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_cparam_config_tea.html">pt::cparam::configuration::tea</a></td> <td class="#doctools_tocright">C/PARAM, Canned configuration, TEA</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_json_language.html">pt::json_language</a></td> <td class="#doctools_tocright">The JSON Grammar Exchange Format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_param.html">pt::param</a></td> <td class="#doctools_tocright">PackRat Machine Specification</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pexpression.html">pt::pe</a></td> <td class="#doctools_tocright">Parsing Expression Serialization</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pexpr_op.html">pt::pe::op</a></td> <td class="#doctools_tocright">Parsing Expression Utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pegrammar.html">pt::peg</a></td> <td class="#doctools_tocright">Parsing Expression Grammar Serialization</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_container.html">pt::peg::container</a></td> <td class="#doctools_tocright">PEG Storage</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_container_peg.html">pt::peg::container::peg</a></td> <td class="#doctools_tocright">PEG Storage. Canned PEG grammar specification</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export.html">pt::peg::export</a></td> <td class="#doctools_tocright">PEG Export</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export_container.html">pt::peg::export::container</a></td> <td class="#doctools_tocright">PEG Export Plugin. Write CONTAINER format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export_json.html">pt::peg::export::json</a></td> <td class="#doctools_tocright">PEG Export Plugin. Write JSON format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export_peg.html">pt::peg::export::peg</a></td> <td class="#doctools_tocright">PEG Export Plugin. Write PEG format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_from_container.html">pt::peg::from::container</a></td> <td class="#doctools_tocright">PEG Conversion. From CONTAINER format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_from_json.html">pt::peg::from::json</a></td> <td class="#doctools_tocright">PEG Conversion. Read JSON format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_from_peg.html">pt::peg::from::peg</a></td> <td class="#doctools_tocright">PEG Conversion. Read PEG format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import.html">pt::peg::import</a></td> <td class="#doctools_tocright">PEG Import</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import_container.html">pt::peg::import::container</a></td> <td class="#doctools_tocright">PEG Import Plugin. From CONTAINER format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import_json.html">pt::peg::import::json</a></td> <td class="#doctools_tocright">PEG Import Plugin. Read JSON format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import_peg.html">pt::peg::import::peg</a></td> <td class="#doctools_tocright">PEG Import Plugin. Read PEG format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_interp.html">pt::peg::interp</a></td> <td class="#doctools_tocright">Interpreter for parsing expression grammars</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_container.html">pt::peg::to::container</a></td> <td class="#doctools_tocright">PEG Conversion. Write CONTAINER format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_cparam.html">pt::peg::to::cparam</a></td> <td class="#doctools_tocright">PEG Conversion. Write CPARAM format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_json.html">pt::peg::to::json</a></td> <td class="#doctools_tocright">PEG Conversion. Write JSON format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_param.html">pt::peg::to::param</a></td> <td class="#doctools_tocright">PEG Conversion. Write PARAM format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_peg.html">pt::peg::to::peg</a></td> <td class="#doctools_tocright">PEG Conversion. Write PEG format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_tclparam.html">pt::peg::to::tclparam</a></td> <td class="#doctools_tocright">PEG Conversion. Write TCLPARAM format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_language.html">pt::peg_language</a></td> <td class="#doctools_tocright">PEG Language Tutorial</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_introduction.html">pt::pegrammar</a></td> <td class="#doctools_tocright">Introduction to Parsing Expression Grammars</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pgen.html">pt::pgen</a></td> <td class="#doctools_tocright">Parser Generator</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_rdengine.html">pt::rde</a></td> <td class="#doctools_tocright">Parsing Runtime Support, PARAM based</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_tclparam_config_snit.html">pt::tclparam::configuration::snit</a></td> <td class="#doctools_tocright">Tcl/PARAM, Canned configuration, Snit</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_tclparam_config_tcloo.html">pt::tclparam::configuration::tcloo</a></td> <td class="#doctools_tocright">Tcl/PARAM, Canned configuration, Tcloo</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_util.html">pt::util</a></td> <td class="#doctools_tocright">General utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_to_api.html">pt_export_api</a></td> <td class="#doctools_tocright">Parser Tools Export API</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_from_api.html">pt_import_api</a></td> <td class="#doctools_tocright">Parser Tools Import API</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_introduction.html">pt_introduction</a></td> <td class="#doctools_tocright">Introduction to Parser Tools</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_parse_peg.html">pt_parse_peg</a></td> <td class="#doctools_tocright">Parser Tools PEG Parser</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_parser_api.html">pt_parser_api</a></td> <td class="#doctools_tocright">Parser API</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_op.html">pt_peg_op</a></td> <td class="#doctools_tocright">Parser Tools PE Grammar Utility Operations</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/rc4/rc4.html">rc4</a></td> <td class="#doctools_tocright">Implementation of the RC4 stream cipher</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/rcs/rcs.html">rcs</a></td> <td class="#doctools_tocright">RCS low level utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/report/report.html">report</a></td> <td class="#doctools_tocright">Create and manipulate report objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/rest/rest.html">rest</a></td> <td class="#doctools_tocright">define REST web APIs and call them inline or asychronously</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ripemd/ripemd128.html">ripemd128</a></td> <td class="#doctools_tocright">RIPEMD-128 Message-Digest Algorithm</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ripemd/ripemd160.html">ripemd160</a></td> <td class="#doctools_tocright">RIPEMD-160 Message-Digest Algorithm</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/amazon-s3/S3.html">S3</a></td> <td class="#doctools_tocright">Amazon S3 Web Service Interface</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/sasl.html">SASL</a></td> <td class="#doctools_tocright">Implementation of SASL mechanisms for Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/ntlm.html">SASL::NTLM</a></td> <td class="#doctools_tocright">Implementation of SASL NTLM mechanism for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/scram.html">SASL::SCRAM</a></td> <td class="#doctools_tocright">Implementation of SASL SCRAM mechanism for Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/gtoken.html">SASL::XGoogleToken</a></td> <td class="#doctools_tocright">Implementation of SASL NTLM mechanism for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/sha1/sha1.html">sha1</a></td> <td class="#doctools_tocright">SHA1 Message-Digest Algorithm</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/sha1/sha256.html">sha256</a></td> <td class="#doctools_tocright">SHA256 Message-Digest Algorithm</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/simulation/annealing.html">simulation::annealing</a></td> <td class="#doctools_tocright">Simulated annealing</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/simulation/montecarlo.html">simulation::montecarlo</a></td> <td class="#doctools_tocright">Monte Carlo simulations</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/simulation/simulation_random.html">simulation::random</a></td> <td class="#doctools_tocright">Pseudo-random number generators</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/mime/smtp.html">smtp</a></td> <td class="#doctools_tocright">Client-side tcl implementation of the smtp protocol</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/smtpd/smtpd.html">smtpd</a></td> <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/snit/snit.html">snit</a></td> <td class="#doctools_tocright">Snit's Not Incr Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/snit/snitfaq.html">snitfaq</a></td> <td class="#doctools_tocright">Snit Frequently Asked Questions</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/soundex/soundex.html">soundex</a></td> <td class="#doctools_tocright">Soundex</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/stooop/stooop.html">stooop</a></td> <td class="#doctools_tocright">Object oriented extension.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/string/token.html">string::token</a></td> <td class="#doctools_tocright">Regex based iterative lexing</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/string/token_shell.html">string::token::shell</a></td> <td class="#doctools_tocright">Parsing of shell command line</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/stringprep/stringprep.html">stringprep</a></td> <td class="#doctools_tocright">Implementation of stringprep</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/stringprep/stringprep_data.html">stringprep::data</a></td> <td class="#doctools_tocright">stringprep data tables, generated, internal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/disjointset.html">struct::disjointset</a></td> <td class="#doctools_tocright">Disjoint set data structure</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/graph.html">struct::graph</a></td> <td class="#doctools_tocright">Create and manipulate directed graph objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/graphops.html">struct::graph::op</a></td> <td class="#doctools_tocright">Operation for (un)directed graph objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/graph1.html">struct::graph_v1</a></td> <td class="#doctools_tocright">Create and manipulate directed graph objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_list.html">struct::list</a></td> <td class="#doctools_tocright">Procedures for manipulating lists</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/matrix.html">struct::matrix</a></td> <td class="#doctools_tocright">Create and manipulate matrix objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/matrix1.html">struct::matrix_v1</a></td> <td class="#doctools_tocright">Create and manipulate matrix objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/pool.html">struct::pool</a></td> <td class="#doctools_tocright">Create and manipulate pool objects (of discrete items)</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/prioqueue.html">struct::prioqueue</a></td> <td class="#doctools_tocright">Create and manipulate prioqueue objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/queue.html">struct::queue</a></td> <td class="#doctools_tocright">Create and manipulate queue objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/record.html">struct::record</a></td> <td class="#doctools_tocright">Define and create records (similar to 'C' structures)</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_set.html">struct::set</a></td> <td class="#doctools_tocright">Procedures for manipulating sets</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/skiplist.html">struct::skiplist</a></td> <td class="#doctools_tocright">Create and manipulate skiplists</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/stack.html">struct::stack</a></td> <td class="#doctools_tocright">Create and manipulate stack objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_tree.html">struct::tree</a></td> <td class="#doctools_tocright">Create and manipulate tree objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_tree1.html">struct::tree_v1</a></td> <td class="#doctools_tocright">Create and manipulate tree objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/crc/sum.html">sum</a></td> <td class="#doctools_tocright">Calculate a sum(1) compatible checksum</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/stooop/switched.html">switched</a></td> <td class="#doctools_tocright">switch/option management.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tar/tar.html">tar</a></td> <td class="#doctools_tocright">Tar file creation, extraction & manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/cat.html">tcl::chan::cat</a></td> <td class="#doctools_tocright">Concatenation channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_core/core.html">tcl::chan::core</a></td> <td class="#doctools_tocright">Basic reflected/virtual channel support</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_core/events.html">tcl::chan::events</a></td> <td class="#doctools_tocright">Event support for reflected/virtual channels</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/facade.html">tcl::chan::facade</a></td> <td class="#doctools_tocright">Facade channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_fifo.html">tcl::chan::fifo</a></td> <td class="#doctools_tocright">In-memory fifo channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_fifo2.html">tcl::chan::fifo2</a></td> <td class="#doctools_tocright">In-memory interconnected fifo channels</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/halfpipe.html">tcl::chan::halfpipe</a></td> <td class="#doctools_tocright">In-memory channel, half of a fifo2</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_memchan.html">tcl::chan::memchan</a></td> <td class="#doctools_tocright">In-memory channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_null.html">tcl::chan::null</a></td> <td class="#doctools_tocright">Null channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/nullzero.html">tcl::chan::nullzero</a></td> <td class="#doctools_tocright">Null/Zero channel combination</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_random.html">tcl::chan::random</a></td> <td class="#doctools_tocright">Random channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/std.html">tcl::chan::std</a></td> <td class="#doctools_tocright">Standard I/O, unification of stdin and stdout</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_string.html">tcl::chan::string</a></td> <td class="#doctools_tocright">Read-only in-memory channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/textwindow.html">tcl::chan::textwindow</a></td> <td class="#doctools_tocright">Textwindow channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_variable.html">tcl::chan::variable</a></td> <td class="#doctools_tocright">In-memory channel using variable for storage</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_zero.html">tcl::chan::zero</a></td> <td class="#doctools_tocright">Zero channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/randseed.html">tcl::randomseed</a></td> <td class="#doctools_tocright">Utilities for random channels</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/adler32.html">tcl::transform::adler32</a></td> <td class="#doctools_tocright">Adler32 transformation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_base64.html">tcl::transform::base64</a></td> <td class="#doctools_tocright">Base64 encoding transformation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_core/transformcore.html">tcl::transform::core</a></td> <td class="#doctools_tocright">Basic reflected/virtual channel transform support</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_counter.html">tcl::transform::counter</a></td> <td class="#doctools_tocright">Counter transformation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_crc32.html">tcl::transform::crc32</a></td> <td class="#doctools_tocright">Crc32 transformation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/hex.html">tcl::transform::hex</a></td> <td class="#doctools_tocright">Hexadecimal encoding transformation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/identity.html">tcl::transform::identity</a></td> <td class="#doctools_tocright">Identity transformation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/limitsize.html">tcl::transform::limitsize</a></td> <td class="#doctools_tocright">limiting input</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/observe.html">tcl::transform::observe</a></td> <td class="#doctools_tocright">Observer transformation, stream copy</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_otp.html">tcl::transform::otp</a></td> <td class="#doctools_tocright">Encryption via one-time pad</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/rot.html">tcl::transform::rot</a></td> <td class="#doctools_tocright">rot-encryption</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/spacer.html">tcl::transform::spacer</a></td> <td class="#doctools_tocright">Space insertation and removal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/tcllib_zlib.html">tcl::transform::zlib</a></td> <td class="#doctools_tocright">zlib (de)compression</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/des/tcldes.html">tclDES</a></td> <td class="#doctools_tocright">Implementation of the DES and triple-DES ciphers</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/des/tcldesjr.html">tclDESjr</a></td> <td class="#doctools_tocright">Implementation of the DES and triple-DES ciphers</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/tcldocstrip.html">tcldocstrip</a></td> <td class="#doctools_tocright">Tcl-based Docstrip Processor</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/machineparameters.html">tclrep/machineparameters</a></td> <td class="#doctools_tocright">Compute double precision machine parameters.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_introduction.html">tepam</a></td> <td class="#doctools_tocright">An introduction into TEPAM, Tcl's Enhanced Procedure and Argument Manager</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_argument_dialogbox.html">tepam::argument_dialogbox</a></td> <td class="#doctools_tocright">TEPAM argument_dialogbox, reference manual</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_doc_gen.html">tepam::doc_gen</a></td> <td class="#doctools_tocright">TEPAM DOC Generation, reference manual</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_procedure.html">tepam::procedure</a></td> <td class="#doctools_tocright">TEPAM procedure, reference manual</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/term.html">term</a></td> <td class="#doctools_tocright">General terminal control</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_code.html">term::ansi::code</a></td> <td class="#doctools_tocright">Helper for control sequences</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_cattr.html">term::ansi::code::attr</a></td> <td class="#doctools_tocright">ANSI attribute sequences</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_cctrl.html">term::ansi::code::ctrl</a></td> <td class="#doctools_tocright">ANSI control sequences</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_cmacros.html">term::ansi::code::macros</a></td> <td class="#doctools_tocright">Macro sequences</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_ctrlu.html">term::ansi::ctrl::unix</a></td> <td class="#doctools_tocright">Control operations and queries</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_send.html">term::ansi::send</a></td> <td class="#doctools_tocright">Output of ANSI control sequences to terminals</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/imenu.html">term::interact::menu</a></td> <td class="#doctools_tocright">Terminal widget, menu</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ipager.html">term::interact::pager</a></td> <td class="#doctools_tocright">Terminal widget, paging</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/receive.html">term::receive</a></td> <td class="#doctools_tocright">General input from terminals</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/term_bind.html">term::receive::bind</a></td> <td class="#doctools_tocright">Keyboard dispatch from terminals</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/term_send.html">term::send</a></td> <td class="#doctools_tocright">General output to terminals</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/textutil.html">textutil</a></td> <td class="#doctools_tocright">Procedures to manipulate texts and strings.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/adjust.html">textutil::adjust</a></td> <td class="#doctools_tocright">Procedures to adjust, indent, and undent paragraphs</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/expander.html">textutil::expander</a></td> <td class="#doctools_tocright">Procedures to process templates and expand text.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/repeat.html">textutil::repeat</a></td> <td class="#doctools_tocright">Procedures to repeat strings.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/textutil_split.html">textutil::split</a></td> <td class="#doctools_tocright">Procedures to split texts</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/textutil_string.html">textutil::string</a></td> <td class="#doctools_tocright">Procedures to manipulate texts and strings.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/tabify.html">textutil::tabify</a></td> <td class="#doctools_tocright">Procedures to (un)tabify strings</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/trim.html">textutil::trim</a></td> <td class="#doctools_tocright">Procedures to trim strings</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tie/tie_std.html">tie</a></td> <td class="#doctools_tocright">Array persistence, standard data sources</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tie/tie.html">tie</a></td> <td class="#doctools_tocright">Array persistence</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tiff/tiff.html">tiff</a></td> <td class="#doctools_tocright">TIFF reading, writing, and querying and manipulation of meta data</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tool/tool.html">tool</a></td> <td class="#doctools_tocright">Dictionary Tools</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tool/tool_dict_ensemble.html">tool::dict_ensemble</a></td> <td class="#doctools_tocright">Dictionary Tools</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/connect.html">transfer::connect</a></td> <td class="#doctools_tocright">Connection setup</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/copyops.html">transfer::copy</a></td> <td class="#doctools_tocright">Data transfer foundation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/tqueue.html">transfer::copy::queue</a></td> <td class="#doctools_tocright">Queued transfers</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/ddest.html">transfer::data::destination</a></td> <td class="#doctools_tocright">Data destination</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/dsource.html">transfer::data::source</a></td> <td class="#doctools_tocright">Data source</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/receiver.html">transfer::receiver</a></td> <td class="#doctools_tocright">Data source</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/transmitter.html">transfer::transmitter</a></td> <td class="#doctools_tocright">Data source</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/treeql/treeql.html">treeql</a></td> <td class="#doctools_tocright">Query tree objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/uev/uevent_onidle.html">uevent::onidle</a></td> <td class="#doctools_tocright">Request merging and deferal to idle time</td> |
︙ | ︙ |
Changes to embedded/www/toc.html.
︙ | ︙ | |||
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> | > > > > | | | 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/urn-scheme.html">uri_urn</a></td> <td class="#doctools_tocright">URI utilities, URN scheme</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/websocket/websocket.html">websocket</a></td> <td class="#doctools_tocright">Tcl implementation of the websocket protocol</td> </tr> </table></dl> <dl><dt>Page Parser Generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
1324 1325 1326 1327 1328 1329 1330 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > | < < < < | | | | | | | | | | | | | | | | | | | | | 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multi.html">fileutil::multi</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather, standard object</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multiop.html">fileutil::multi::op</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/traverse.html">fileutil_traverse</a></td> <td class="#doctools_tocright">Iterative directory traversal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/hook/hook.html">hook</a></td> <td class="#doctools_tocright">Hooks</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/interp/tcllib_interp.html">interp</a></td> <td class="#doctools_tocright">Interp creation and aliasing</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/log.html">log</a></td> <td class="#doctools_tocright">Procedures to log messages of libraries and applications.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/logger.html">logger</a></td> <td class="#doctools_tocright">System to control logging of events.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerAppender.html">logger::appender</a></td> <td class="#doctools_tocright">Collection of predefined appenders for logger</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerUtils.html">logger::utils</a></td> <td class="#doctools_tocright">Utilities for logger</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/multiplexer/multiplexer.html">multiplexer</a></td> <td class="#doctools_tocright">One-to-many communication with sockets.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/pluginmgr/pluginmgr.html">pluginmgr</a></td> <td class="#doctools_tocright">Manage a plugin</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/profiler/profiler.html">profiler</a></td> <td class="#doctools_tocright">Tcl source code profiler</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snit.html">snit</a></td> <td class="#doctools_tocright">Snit's Not Incr Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snitfaq.html">snitfaq</a></td> <td class="#doctools_tocright">Snit Frequently Asked Questions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/stooop.html">stooop</a></td> <td class="#doctools_tocright">Object oriented extension.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/switched.html">switched</a></td> <td class="#doctools_tocright">switch/option management.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie.html">tie</a></td> <td class="#doctools_tocright">Array persistence</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie_std.html">tie</a></td> <td class="#doctools_tocright">Array persistence, standard data sources</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/wip/wip.html">wip</a></td> <td class="#doctools_tocright">Word Interpreter</td> </tr> </table></dl> <dl><dt>System<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
2494 2495 2496 2497 2498 2499 2500 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > | < < < < | 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> </table></dl> <dl><dt>generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> | > > > > > > > | 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>udpcluster<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> |
︙ | ︙ |
Changes to embedded/www/toc0.html.
︙ | ︙ | |||
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> | > > > > | | | 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/urn-scheme.html">uri_urn</a></td> <td class="#doctools_tocright">URI utilities, URN scheme</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/websocket/websocket.html">websocket</a></td> <td class="#doctools_tocright">Tcl implementation of the websocket protocol</td> </tr> </table></dl> <dl><dt>Page Parser Generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
1324 1325 1326 1327 1328 1329 1330 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > | < < < < | | | | | | | | | | | | | | | | | | | | | 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multi.html">fileutil::multi</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather, standard object</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multiop.html">fileutil::multi::op</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/traverse.html">fileutil_traverse</a></td> <td class="#doctools_tocright">Iterative directory traversal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/hook/hook.html">hook</a></td> <td class="#doctools_tocright">Hooks</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/interp/tcllib_interp.html">interp</a></td> <td class="#doctools_tocright">Interp creation and aliasing</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/log.html">log</a></td> <td class="#doctools_tocright">Procedures to log messages of libraries and applications.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/logger.html">logger</a></td> <td class="#doctools_tocright">System to control logging of events.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerAppender.html">logger::appender</a></td> <td class="#doctools_tocright">Collection of predefined appenders for logger</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerUtils.html">logger::utils</a></td> <td class="#doctools_tocright">Utilities for logger</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/multiplexer/multiplexer.html">multiplexer</a></td> <td class="#doctools_tocright">One-to-many communication with sockets.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/pluginmgr/pluginmgr.html">pluginmgr</a></td> <td class="#doctools_tocright">Manage a plugin</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/profiler/profiler.html">profiler</a></td> <td class="#doctools_tocright">Tcl source code profiler</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snit.html">snit</a></td> <td class="#doctools_tocright">Snit's Not Incr Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snitfaq.html">snitfaq</a></td> <td class="#doctools_tocright">Snit Frequently Asked Questions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/stooop.html">stooop</a></td> <td class="#doctools_tocright">Object oriented extension.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/switched.html">switched</a></td> <td class="#doctools_tocright">switch/option management.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie.html">tie</a></td> <td class="#doctools_tocright">Array persistence</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie_std.html">tie</a></td> <td class="#doctools_tocright">Array persistence, standard data sources</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/wip/wip.html">wip</a></td> <td class="#doctools_tocright">Word Interpreter</td> </tr> </table></dl> <dl><dt>System<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ |
Changes to embedded/www/toc1.html.
︙ | ︙ | |||
689 690 691 692 693 694 695 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > | < < < < | 689 690 691 692 693 694 695 696 697 698 699 700 701 702 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> </table></dl> <dl><dt>generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> | > > > > > > > | 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>udpcluster<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> |
︙ | ︙ |
Changes to idoc/man/files/modules/fumagic/filetypes.n.
︙ | ︙ | |||
285 286 287 288 289 290 291 | This package provides a command for the recognition of file types in pure Tcl\&. .PP The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types\&. .PP | | | | < | | 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | This package provides a command for the recognition of file types in pure Tcl\&. .PP The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types\&. .PP \fIBeware!\fR This recognizer is large, about 752 Kilobyte of generated Tcl code\&. .TP \fB::fileutil::magic::filetype\fR \fIfilename\fR This command is similar to the command \fBfileutil::fileType\fR\&. .sp Returns a list containing a list of descriptions, a list of mimetype components, and a list file extensions\&. Returns an empty string if the file content is not recognized\&. .PP .SH REFERENCES .IP [1] \fIFile(1) sources\fR [ftp://ftp\&.astron\&.com/pub/file/] This site contains the current sources for the file command, including the magic definitions used by it\&. The latter were used by us to generate this recognizer\&. |
︙ | ︙ |
Deleted idoc/man/files/modules/fumagic/mimetypes.n.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Changes to idoc/man/files/modules/fumagic/rtcore.n.
︙ | ︙ | |||
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | .BS .SH NAME fileutil::magic::rt \- Runtime core for file type recognition engines written in pure Tcl .SH SYNOPSIS package require \fBTcl 8\&.4\fR .sp package require \fBfileutil::magic::rt ?1\&.0?\fR .sp \fB::fileutil::magic::rt::open\fR \fIfilename\fR .sp \fB::fileutil::magic::rt::close\fR .sp \fB::fileutil::magic::rt::file_start\fR \fIname\fR .sp \fB::fileutil::magic::rt::result\fR ?\fImsg\fR? .sp \fB::fileutil::magic::rt::resultv\fR ?\fImsg\fR? .sp \fB::fileutil::magic::rt::emit\fR \fImsg\fR .sp \fB::fileutil::magic::rt::offset\fR \fIwhere\fR .sp \fB::fileutil::magic::rt::Nv\fR \fItype\fR \fIoffset\fR ?\fIqual\fR? .sp \fB::fileutil::magic::rt::N\fR \fItype\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? .sp | > > > > | | | > > > > > > > > | 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 | .BS .SH NAME fileutil::magic::rt \- Runtime core for file type recognition engines written in pure Tcl .SH SYNOPSIS package require \fBTcl 8\&.4\fR .sp package require \fBfileutil::magic::rt ?1\&.0?\fR .sp \fB::fileutil::magic::rt::>\fR .sp \fB::fileutil::magic::rt::<\fR .sp \fB::fileutil::magic::rt::open\fR \fIfilename\fR .sp \fB::fileutil::magic::rt::close\fR .sp \fB::fileutil::magic::rt::file_start\fR \fIname\fR .sp \fB::fileutil::magic::rt::result\fR ?\fImsg\fR? .sp \fB::fileutil::magic::rt::resultv\fR ?\fImsg\fR? .sp \fB::fileutil::magic::rt::emit\fR \fImsg\fR .sp \fB::fileutil::magic::rt::offset\fR \fIwhere\fR .sp \fB::fileutil::magic::rt::Nv\fR \fItype\fR \fIoffset\fR ?\fIqual\fR? .sp \fB::fileutil::magic::rt::N\fR \fItype\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? .sp \fB::fileutil::magic::rt::Nvx\fR \fItype\fR \fIoffset\fR ?\fIqual\fR? .sp \fB::fileutil::magic::rt::Nx\fR \fItype\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? .sp \fB::fileutil::magic::rt::S\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? .sp \fB::fileutil::magic::rt::Sx\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? .sp \fB::fileutil::magic::rt::L\fR \fInewlevel\fR .sp \fB::fileutil::magic::rt::I\fR \fIbase\fR \fItype\fR \fIdelta\fR .sp \fB::fileutil::magic::rt::R\fR \fIoffset\fR .sp \fB::fileutil::magic::rt::U\fR \fIfileindex\fR \fIname\fR .sp .BE .SH DESCRIPTION .PP This package provides the runtime core for file type recognition engines written in pure Tcl and is thus used by all other packages in this module, i\&.e\&. the two frontend packages \fBfileutil::magic::mimetypes\fR and \fBfileutil::magic::filetypes\fR, and the two engine compiler packages \fBfileutil::magic::cgen\fR and \fBfileutil::magic::cfront\fR\&. .SH COMMANDS .TP \fB::fileutil::magic::rt::>\fR Shorthand for \fBincr level\fR\&. .TP \fB::fileutil::magic::rt::<\fR Shorthand for \fBincr level -1\fR\&. .TP \fB::fileutil::magic::rt::open\fR \fIfilename\fR This command initializes the runtime and prepares the file \fIfilename\fR for use by the system\&. This command has to be invoked first, before any other command of this package\&. .sp The command returns the channel handle of the opened file as its |
︙ | ︙ | |||
420 421 422 423 424 425 426 | .CE .sp The special comparison operator \fBx\fR signals that no comparison should be done, or, in other words, that the fetched value will always match \fIval\fR\&. .TP | | | | | | | | 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 | .CE .sp The special comparison operator \fBx\fR signals that no comparison should be done, or, in other words, that the fetched value will always match \fIval\fR\&. .TP \fB::fileutil::magic::rt::Nvx\fR \fItype\fR \fIoffset\fR ?\fIqual\fR? This command behaves like \fB::fileutil::magic::rt::Nv\fR, except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by \fB::fileutil::magic::rt::R\fR\&. .TP \fB::fileutil::magic::rt::Nx\fR \fItype\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? This command behaves like \fB::fileutil::magic::rt::N\fR, except that it additionally remembers the location in the file after the fetch in the calling context, for the current, for later use by \fB::fileutil::magic::rt::R\fR\&. .TP \fB::fileutil::magic::rt::S\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? This command behaves like \fB::fileutil::magic::rt::N\fR, except that it fetches and compares strings, not numeric data\&. The fetched value is also stored in the internal string buffer instead of the numeric buffer\&. .TP \fB::fileutil::magic::rt::Sx\fR \fIoffset\fR \fIcomp\fR \fIval\fR ?\fIqual\fR? This command behaves like \fB::fileutil::magic::rt::S\fR, except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by \fB::fileutil::magic::rt::R\fR\&. .TP \fB::fileutil::magic::rt::L\fR \fInewlevel\fR This command sets the current level in the calling context to \fInewlevel\fR\&. The command returns the empty string as its result\&. .TP \fB::fileutil::magic::rt::I\fR \fIbase\fR \fItype\fR \fIdelta\fR |
︙ | ︙ | |||
464 465 466 467 468 469 470 471 472 473 474 475 476 477 | This command handles base locations specified relative to the end of the last field one level above\&. .sp In other words, the command computes an absolute location in the file based on the relative \fIoffset\fR and returns it as its result\&. The base the offset is added to is the last location remembered for the level in the calling context\&. .PP .SH "NUMERIC TYPES" .TP \fBbyte\fR 8-bit integer .TP \fBshort\fR | > > > | 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 | This command handles base locations specified relative to the end of the last field one level above\&. .sp In other words, the command computes an absolute location in the file based on the relative \fIoffset\fR and returns it as its result\&. The base the offset is added to is the last location remembered for the level in the calling context\&. .TP \fB::fileutil::magic::rt::U\fR \fIfileindex\fR \fIname\fR Use a named test script at the current level\&. .PP .SH "NUMERIC TYPES" .TP \fBbyte\fR 8-bit integer .TP \fBshort\fR |
︙ | ︙ |
Changes to idoc/man/files/modules/math/math_geometry.n.
1 2 3 4 5 6 7 | '\" '\" Generated from file 'math_geometry\&.man' by tcllib/doctools with format 'nroff' '\" Copyright (c) 2001 by Ideogramic ApS and other parties '\" Copyright (c) 2004 by Arjen Markus '\" Copyright (c) 2010 by Andreas Kupries '\" Copyright (c) 2010 by Kevin Kenny '\" | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | '\" '\" Generated from file 'math_geometry\&.man' by tcllib/doctools with format 'nroff' '\" Copyright (c) 2001 by Ideogramic ApS and other parties '\" Copyright (c) 2004 by Arjen Markus '\" Copyright (c) 2010 by Andreas Kupries '\" Copyright (c) 2010 by Kevin Kenny '\" .TH "math::geometry" n 1\&.2\&.2 tcllib "Tcl Math Library" .\" The -*- nroff -*- definitions below are for supplemental macros used .\" in Tcl/Tk manual entries. .\" .\" .AP type name in/out ?indent? .\" Start paragraph describing an argument to a library procedure. .\" type is type of argument (int, etc.), in/out is either "in", "out", .\" or "in/out" to describe whether procedure reads or modifies arg, |
︙ | ︙ | |||
273 274 275 276 277 278 279 | .de MT .QW "" .. .BS .SH NAME math::geometry \- Geometrical computations .SH SYNOPSIS | | | | 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | .de MT .QW "" .. .BS .SH NAME math::geometry \- Geometrical computations .SH SYNOPSIS package require \fBTcl ?8\&.5?\fR .sp package require \fBmath::geometry ?1\&.2\&.2?\fR .sp \fB::math::geometry::+\fR \fIpoint1\fR \fIpoint2\fR .sp \fB::math::geometry::-\fR \fIpoint1\fR \fIpoint2\fR .sp \fB::math::geometry::p\fR \fIx\fR \fIy\fR .sp |
︙ | ︙ | |||
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | \fB::math::geometry::intervalsOverlap\fR \fIy1\fR \fIy2\fR \fIy3\fR \fIy4\fR \fIstrict\fR .sp \fB::math::geometry::rectanglesOverlap\fR \fIP1\fR \fIP2\fR \fIQ1\fR \fIQ2\fR \fIstrict\fR .sp \fB::math::geometry::bbox\fR \fIpolyline\fR .sp \fB::math::geometry::pointInsidePolygon\fR \fIP\fR \fIpolyline\fR .sp \fB::math::geometry::rectangleInsidePolygon\fR \fIP1\fR \fIP2\fR \fIpolyline\fR .sp \fB::math::geometry::areaPolygon\fR \fIpolygon\fR .sp .BE .SH DESCRIPTION .PP The \fBmath::geometry\fR package is a collection of functions for computations and manipulations on two-dimensional geometrical objects, such as points, lines and polygons\&. | > > > > > > > > > > > > | 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | \fB::math::geometry::intervalsOverlap\fR \fIy1\fR \fIy2\fR \fIy3\fR \fIy4\fR \fIstrict\fR .sp \fB::math::geometry::rectanglesOverlap\fR \fIP1\fR \fIP2\fR \fIQ1\fR \fIQ2\fR \fIstrict\fR .sp \fB::math::geometry::bbox\fR \fIpolyline\fR .sp \fB::math::geometry::pointInsidePolygon\fR \fIP\fR \fIpolyline\fR .sp \fB::math::geometry::pointInsidePolygonAlt\fR \fIP\fR \fIpolyline\fR .sp \fB::math::geometry::rectangleInsidePolygon\fR \fIP1\fR \fIP2\fR \fIpolyline\fR .sp \fB::math::geometry::areaPolygon\fR \fIpolygon\fR .sp \fB::math::geometry::translate\fR \fIvector\fR \fIpolyline\fR .sp \fB::math::geometry::rotate\fR \fIangle\fR \fIpolyline\fR .sp \fB::math::geometry::reflect\fR \fIangle\fR \fIpolyline\fR .sp \fB::math::geometry::degToRad\fR \fIangle\fR .sp \fB::math::geometry::radToDeg\fR \fIangle\fR .sp .BE .SH DESCRIPTION .PP The \fBmath::geometry\fR package is a collection of functions for computations and manipulations on two-dimensional geometrical objects, such as points, lines and polygons\&. |
︙ | ︙ | |||
745 746 747 748 749 750 751 752 753 754 755 756 757 758 | list \fIP\fR Coordinates of the point .TP list \fIpolyline\fR The polyline to be examined .RE .sp .TP \fB::math::geometry::rectangleInsidePolygon\fR \fIP1\fR \fIP2\fR \fIpolyline\fR Determine if a rectangle is completely inside a polygon\&. If polygon touches the rectangle, then the rectangle is not complete inside the polygon\&. .RS .TP | > > > > > > > > > > > > > > > > | 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 | list \fIP\fR Coordinates of the point .TP list \fIpolyline\fR The polyline to be examined .RE .sp .TP \fB::math::geometry::pointInsidePolygonAlt\fR \fIP\fR \fIpolyline\fR Determine if a point is completely inside a polygon\&. If the point touches the polygon, then the point is not completely inside the polygon\&. \fINote:\fR this alternative procedure uses the so-called winding number to determine this\&. It handles self-intersecting polygons in a "natural" way\&. .RS .TP list \fIP\fR Coordinates of the point .TP list \fIpolyline\fR The polyline to be examined .RE .sp .TP \fB::math::geometry::rectangleInsidePolygon\fR \fIP1\fR \fIP2\fR \fIpolyline\fR Determine if a rectangle is completely inside a polygon\&. If polygon touches the rectangle, then the rectangle is not complete inside the polygon\&. .RS .TP |
︙ | ︙ | |||
771 772 773 774 775 776 777 778 779 780 781 782 783 784 | \fB::math::geometry::areaPolygon\fR \fIpolygon\fR Calculate the area of a polygon\&. .RS .TP list \fIpolygon\fR The polygon in question .RE .PP .SH REFERENCES .IP [1] \fIPolygon Intersection\fR [http:/wiki\&.tcl\&.tk/12070] .IP [2] \fIhttp://en\&.wikipedia\&.org/wiki/Line-line_intersection\fR .IP [3] | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 | \fB::math::geometry::areaPolygon\fR \fIpolygon\fR Calculate the area of a polygon\&. .RS .TP list \fIpolygon\fR The polygon in question .RE .sp .TP \fB::math::geometry::translate\fR \fIvector\fR \fIpolyline\fR Translate a polyline over a given vector .RS .TP list \fIvector\fR Translation vector .TP list \fIpolyline\fR The polyline to be rotated .RE .sp .TP \fB::math::geometry::rotate\fR \fIangle\fR \fIpolyline\fR Rotate a polyline over a given angle (degrees) around the origin .RS .TP list \fIangle\fR Angle over which to rotate the polyline (degrees) .TP list \fIpolyline\fR The polyline to be translated .RE .sp .TP \fB::math::geometry::reflect\fR \fIangle\fR \fIpolyline\fR Reflect a polyline in a line through the origin at a given angle (degrees) to the x-axis .RS .TP list \fIangle\fR Angle of the line of reflection (degrees) .TP list \fIpolyline\fR The polyline to be reflected .RE .sp .TP \fB::math::geometry::degToRad\fR \fIangle\fR Convert from degrees to radians .RS .TP list \fIangle\fR Angle in degrees .RE .sp .TP \fB::math::geometry::radToDeg\fR \fIangle\fR Convert from radians to degrees .RS .TP list \fIangle\fR Angle in radians .RE .PP .SH REFERENCES .IP [1] \fIPolygon Intersection\fR [http:/wiki\&.tcl\&.tk/12070] .IP [2] \fIhttp://en\&.wikipedia\&.org/wiki/Line-line_intersection\fR .IP [3] |
︙ | ︙ |
Changes to idoc/man/files/modules/math/statistics.n.
︙ | ︙ | |||
308 309 310 311 312 313 314 315 316 317 318 319 320 321 | \fB::math::statistics::t-test-mean\fR \fIdata\fR \fIest_mean\fR \fIest_stdev\fR \fIalpha\fR .sp \fB::math::statistics::test-normal\fR \fIdata\fR \fIsignificance\fR .sp \fB::math::statistics::lillieforsFit\fR \fIdata\fR .sp \fB::math::statistics::test-Duckworth\fR \fIlist1\fR \fIlist2\fR \fIsignificance\fR .sp \fB::math::statistics::quantiles\fR \fIdata\fR \fIconfidence\fR .sp \fB::math::statistics::quantiles\fR \fIlimits\fR \fIcounts\fR \fIconfidence\fR .sp \fB::math::statistics::autocorr\fR \fIdata\fR .sp | > > | 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 | \fB::math::statistics::t-test-mean\fR \fIdata\fR \fIest_mean\fR \fIest_stdev\fR \fIalpha\fR .sp \fB::math::statistics::test-normal\fR \fIdata\fR \fIsignificance\fR .sp \fB::math::statistics::lillieforsFit\fR \fIdata\fR .sp \fB::math::statistics::test-Duckworth\fR \fIlist1\fR \fIlist2\fR \fIsignificance\fR .sp \fB::math::statistics::test-anova-F\fR \fIalpha\fR \fIargs\fR .sp \fB::math::statistics::quantiles\fR \fIdata\fR \fIconfidence\fR .sp \fB::math::statistics::quantiles\fR \fIlimits\fR \fIcounts\fR \fIconfidence\fR .sp \fB::math::statistics::autocorr\fR \fIdata\fR .sp |
︙ | ︙ | |||
408 409 410 411 412 413 414 415 416 417 418 419 420 421 | \fB::math::statistics::cdf-weibull\fR \fIscale\fR \fIshape\fR \fIvalue\fR .sp \fB::math::statistics::cdf-gumbel\fR \fIlocation\fR \fIscale\fR \fIvalue\fR .sp \fB::math::statistics::cdf-pareto\fR \fIscale\fR \fIshape\fR \fIvalue\fR .sp \fB::math::statistics::cdf-cauchy\fR \fIlocation\fR \fIscale\fR \fIvalue\fR .sp \fB::math::statistics::empirical-distribution\fR \fIvalues\fR .sp \fB::math::statistics::random-normal\fR \fImean\fR \fIstdev\fR \fInumber\fR .sp \fB::math::statistics::random-lognormal\fR \fImean\fR \fIstdev\fR \fInumber\fR .sp | > > | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 | \fB::math::statistics::cdf-weibull\fR \fIscale\fR \fIshape\fR \fIvalue\fR .sp \fB::math::statistics::cdf-gumbel\fR \fIlocation\fR \fIscale\fR \fIvalue\fR .sp \fB::math::statistics::cdf-pareto\fR \fIscale\fR \fIshape\fR \fIvalue\fR .sp \fB::math::statistics::cdf-cauchy\fR \fIlocation\fR \fIscale\fR \fIvalue\fR .sp \fB::math::statistics::cdf-F\fR \fInf1\fR \fInf2\fR \fIvalue\fR .sp \fB::math::statistics::empirical-distribution\fR \fIvalues\fR .sp \fB::math::statistics::random-normal\fR \fImean\fR \fIstdev\fR \fInumber\fR .sp \fB::math::statistics::random-lognormal\fR \fImean\fR \fIstdev\fR \fInumber\fR .sp |
︙ | ︙ | |||
703 704 705 706 707 708 709 710 711 712 713 714 715 716 | float \fIsignificance\fR - Significance level (one of 0\&.01, 0\&.05, 0\&.10, 0\&.15 or 0\&.20)\&. For compatibility reasons the values "1-significance", 0\&.80, 0\&.85, 0\&.90, 0\&.95 or 0\&.99 are also accepted\&. .RE .sp Compatibility issue: the original implementation and documentation used the term "confidence" and used a value 1-significance (see ticket 2812473fff)\&. This has been corrected as of version 0\&.9\&.3\&. .TP \fB::math::statistics::lillieforsFit\fR \fIdata\fR Returns the goodness of fit to a normal distribution according to Lilliefors\&. The higher the number, the more likely the data are indeed normally distributed\&. The test requires at least \fIfive\fR data points\&. .RS | > | 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 | float \fIsignificance\fR - Significance level (one of 0\&.01, 0\&.05, 0\&.10, 0\&.15 or 0\&.20)\&. For compatibility reasons the values "1-significance", 0\&.80, 0\&.85, 0\&.90, 0\&.95 or 0\&.99 are also accepted\&. .RE .sp Compatibility issue: the original implementation and documentation used the term "confidence" and used a value 1-significance (see ticket 2812473fff)\&. This has been corrected as of version 0\&.9\&.3\&. .sp .TP \fB::math::statistics::lillieforsFit\fR \fIdata\fR Returns the goodness of fit to a normal distribution according to Lilliefors\&. The higher the number, the more likely the data are indeed normally distributed\&. The test requires at least \fIfive\fR data points\&. .RS |
︙ | ︙ | |||
743 744 745 746 747 748 749 750 751 752 753 754 755 756 | .TP list \fIlist2\fR - Second list of data .TP float \fIsignificance\fR - Significance level (either 0\&.05, 0\&.01 or 0\&.001) .RE .sp .TP \fB::math::statistics::quantiles\fR \fIdata\fR \fIconfidence\fR Return the quantiles for a given set of data .RS .sp .TP | > > > > > > > > > > > > > > > > > > > > > > > > | 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 | .TP list \fIlist2\fR - Second list of data .TP float \fIsignificance\fR - Significance level (either 0\&.05, 0\&.01 or 0\&.001) .RE .sp .TP \fB::math::statistics::test-anova-F\fR \fIalpha\fR \fIargs\fR Determine if two or more groups with normally distributed data have the same variances\&. The procedure returns 0 if the variances are likely unequal, 1 if they are\&. This is a one-way ANOVA test\&. The groups may also be stored in a nested list: .CS test-anova-F 0\&.05 $A $B $C # # Or equivalently: # test-anova-F 0\&.05 [list $A $B $C] .CE .RS .TP float \fIalpha\fR - Significance level .TP list \fIargs\fR - Two or more groups of data to be checked .RE .sp .TP \fB::math::statistics::quantiles\fR \fIdata\fR \fIconfidence\fR Return the quantiles for a given set of data .RS .sp .TP |
︙ | ︙ | |||
1290 1291 1292 1293 1294 1295 1296 | .IP \(bu The Gumbel distribution .IP \(bu The Weibull distribution .IP \(bu The Cauchy distribution .IP \(bu | > > | | 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 | .IP \(bu The Gumbel distribution .IP \(bu The Weibull distribution .IP \(bu The Cauchy distribution .IP \(bu The F distribution (only the cumulative density function) .IP \(bu PM - binomial\&. .PP In principle for each distribution one has procedures for: .IP \(bu The probability density (pdf-*) .IP \(bu The cumulative density (cdf-*) .IP \(bu |
︙ | ︙ | |||
1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 | .TP float \fIlocation\fR - Location parameter .TP float \fIscale\fR - Scale parameter .TP float \fIvalue\fR - Value for which the probability is required .RE .sp .TP \fB::math::statistics::empirical-distribution\fR \fIvalues\fR Return a list of values and their empirical probability\&. The values are sorted in increasing order\&. | > > > > > > > > > > > > > > > > | 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 | .TP float \fIlocation\fR - Location parameter .TP float \fIscale\fR - Scale parameter .TP float \fIvalue\fR - Value for which the probability is required .RE .sp .TP \fB::math::statistics::cdf-F\fR \fInf1\fR \fInf2\fR \fIvalue\fR Return the cumulative probability of a given value for an F distribution with nf1 and nf2 degrees of freedom\&. .RS .TP float \fInf1\fR - Degrees of freedom for the numerator .TP float \fInf2\fR - Degrees of freedom for the denominator .TP float \fIvalue\fR - Value for which the probability is required .RE .sp .TP \fB::math::statistics::empirical-distribution\fR \fIvalues\fR Return a list of values and their empirical probability\&. The values are sorted in increasing order\&. |
︙ | ︙ |
Changes to idoc/man/files/modules/pki/pki.n.
1 2 3 4 | '\" '\" Generated from file 'pki\&.man' by tcllib/doctools with format 'nroff' '\" Copyright (c) 2010, 2011, 2012, 2013, Roy Keene, Andreas Kupries '\" | | | 1 2 3 4 5 6 7 8 9 10 11 12 | '\" '\" Generated from file 'pki\&.man' by tcllib/doctools with format 'nroff' '\" Copyright (c) 2010, 2011, 2012, 2013, Roy Keene, Andreas Kupries '\" .TH "pki" n 0\&.10 tcllib "public key encryption" .\" The -*- nroff -*- definitions below are for supplemental macros used .\" in Tcl/Tk manual entries. .\" .\" .AP type name in/out ?indent? .\" Start paragraph describing an argument to a library procedure. .\" type is type of argument (int, etc.), in/out is either "in", "out", .\" or "in/out" to describe whether procedure reads or modifies arg, |
︙ | ︙ | |||
272 273 274 275 276 277 278 | .. .BS .SH NAME pki \- Implementation of the public key cipher .SH SYNOPSIS package require \fBTcl 8\&.5\fR .sp | | | 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 | .. .BS .SH NAME pki \- Implementation of the public key cipher .SH SYNOPSIS package require \fBTcl 8\&.5\fR .sp package require \fBpki ?0\&.10?\fR .sp \fB::pki::encrypt\fR ?\fI-binary\fR? ?\fI-hex\fR? ?\fI-pad\fR? ?\fI-nopad\fR? ?\fI-priv\fR? ?\fI-pub\fR? ?\fI--\fR? \fIinput\fR \fIkey\fR .sp \fB::pki::decrypt\fR ?\fI-binary\fR? ?\fI-hex\fR? ?\fI-unpad\fR? ?\fI-nounpad\fR? ?\fI-priv\fR? ?\fI-pub\fR? ?\fI--\fR? \fIinput\fR \fIkey\fR .sp \fB::pki::sign\fR \fIinput\fR \fIkey\fR ?\fIalgo\fR? .sp |
︙ | ︙ |
Changes to idoc/man/index.n.
︙ | ︙ | |||
3508 3509 3510 3511 3512 3513 3514 | .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP \fBfiles/modules/fumagic/filetypes\&.n\fR fileutil::magic::filetype .TP | < < < < < < < < < | 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 | .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP \fBfiles/modules/fumagic/filetypes\&.n\fR fileutil::magic::filetype .TP \fBfiles/modules/fumagic/rtcore\&.n\fR fileutil::magic::rt .RE file type .RS .TP \fBfiles/modules/fumagic/cfront\&.n\fR fileutil::magic::cfront .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP \fBfiles/modules/fumagic/filetypes\&.n\fR fileutil::magic::filetype .TP \fBfiles/modules/fumagic/rtcore\&.n\fR fileutil::magic::rt .RE file utilities .RS .TP \fBfiles/modules/fileutil/fileutil\&.n\fR fileutil .TP \fBfiles/modules/fumagic/cfront\&.n\fR fileutil::magic::cfront .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP \fBfiles/modules/fumagic/filetypes\&.n\fR fileutil::magic::filetype .TP \fBfiles/modules/fumagic/rtcore\&.n\fR fileutil::magic::rt .TP \fBfiles/modules/fileutil/multi\&.n\fR fileutil::multi .TP \fBfiles/modules/fileutil/multiop\&.n\fR |
︙ | ︙ | |||
6109 6110 6111 6112 6113 6114 6115 | .TP \fBfiles/modules/fumagic/cfront\&.n\fR fileutil::magic::cfront .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP | < < < | 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 | .TP \fBfiles/modules/fumagic/cfront\&.n\fR fileutil::magic::cfront .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP \fBfiles/modules/fumagic/rtcore\&.n\fR fileutil::magic::rt .TP \fBfiles/modules/mime/mime\&.n\fR mime .TP \fBfiles/modules/mime/smtp\&.n\fR |
︙ | ︙ | |||
6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 | nns_intro .TP \fBfiles/apps/nnsd\&.n\fR nnsd .TP \fBfiles/apps/nnslog\&.n\fR nnslog .RE namespace unknown .RS .TP \fBfiles/modules/namespacex/namespacex\&.n\fR namespacex .RE | > > > | 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 | nns_intro .TP \fBfiles/apps/nnsd\&.n\fR nnsd .TP \fBfiles/apps/nnslog\&.n\fR nnslog .TP \fBfiles/modules/udpcluster/udpcluster\&.n\fR udpcluster .RE namespace unknown .RS .TP \fBfiles/modules/namespacex/namespacex\&.n\fR namespacex .RE |
︙ | ︙ | |||
8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 | nameserv::server .TP \fBfiles/modules/nns/nns_intro\&.n\fR nns_intro .TP \fBfiles/apps/nnsd\&.n\fR nnsd .RE service .RS .TP \fBfiles/modules/log/logger\&.n\fR logger .RE | > > > | 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 | nameserv::server .TP \fBfiles/modules/nns/nns_intro\&.n\fR nns_intro .TP \fBfiles/apps/nnsd\&.n\fR nnsd .TP \fBfiles/modules/udpcluster/udpcluster\&.n\fR udpcluster .RE service .RS .TP \fBfiles/modules/log/logger\&.n\fR logger .RE |
︙ | ︙ | |||
10912 10913 10914 10915 10916 10917 10918 | .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP \fBfiles/modules/fumagic/filetypes\&.n\fR fileutil::magic::filetype .TP | < < < | 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 | .TP \fBfiles/modules/fumagic/cgen\&.n\fR fileutil::magic::cgen .TP \fBfiles/modules/fumagic/filetypes\&.n\fR fileutil::magic::filetype .TP \fBfiles/modules/fumagic/rtcore\&.n\fR fileutil::magic::rt .TP \fBfiles/modules/snit/snit\&.n\fR snit .RE Type checking |
︙ | ︙ |
Changes to idoc/man/toc.n.
︙ | ︙ | |||
608 609 610 611 612 613 614 | .TP \fBfileutil::magic::cgen\fR \fIfiles/modules/fumagic/cgen\&.n\fR: Generator core for compiler of magic(5) files .TP \fBfileutil::magic::filetype\fR \fIfiles/modules/fumagic/filetypes\&.n\fR: Procedures implementing file-type recognition .TP | < < < | 608 609 610 611 612 613 614 615 616 617 618 619 620 621 | .TP \fBfileutil::magic::cgen\fR \fIfiles/modules/fumagic/cgen\&.n\fR: Generator core for compiler of magic(5) files .TP \fBfileutil::magic::filetype\fR \fIfiles/modules/fumagic/filetypes\&.n\fR: Procedures implementing file-type recognition .TP \fBfileutil::magic::rt\fR \fIfiles/modules/fumagic/rtcore\&.n\fR: Runtime core for file type recognition engines written in pure Tcl .TP \fBfileutil::multi\fR \fIfiles/modules/fileutil/multi\&.n\fR: Multi-file operation, scatter/gather, standard object .TP \fBfileutil::multi::op\fR |
︙ | ︙ | |||
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 | .TP \fBtreeql\fR \fIfiles/modules/treeql/treeql\&.n\fR: Query tree objects .TP \fBtry\fR \fIfiles/modules/try/tcllib_try\&.n\fR: try - Trap and process errors and exceptions .TP \fBuevent\fR \fIfiles/modules/uev/uevent\&.n\fR: User events .TP \fBuevent::onidle\fR \fIfiles/modules/uev/uevent_onidle\&.n\fR: Request merging and deferal to idle time .TP \fBunicode\fR | > > > | 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 | .TP \fBtreeql\fR \fIfiles/modules/treeql/treeql\&.n\fR: Query tree objects .TP \fBtry\fR \fIfiles/modules/try/tcllib_try\&.n\fR: try - Trap and process errors and exceptions .TP \fBudpcluster\fR \fIfiles/modules/udpcluster/udpcluster\&.n\fR: UDP Peer-to-Peer cluster .TP \fBuevent\fR \fIfiles/modules/uev/uevent\&.n\fR: User events .TP \fBuevent::onidle\fR \fIfiles/modules/uev/uevent_onidle\&.n\fR: Request merging and deferal to idle time .TP \fBunicode\fR |
︙ | ︙ |
Changes to idoc/www/index.html.
︙ | ︙ | |||
1400 1401 1402 1403 1404 1405 1406 | <td class="#doctools_idxleft" width="35%"><a name="key31"> file </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tie/tie_std.html"> tie </a> · <a href="tcllib/files/modules/tie/tie.html"> tie </a> · <a href="tcllib/files/modules/uri/uri.html"> uri </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key116"> file recognition </a></td> <td class="#doctools_idxright" width="65%"> | | | | | 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 | <td class="#doctools_idxleft" width="35%"><a name="key31"> file </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tie/tie_std.html"> tie </a> · <a href="tcllib/files/modules/tie/tie.html"> tie </a> · <a href="tcllib/files/modules/uri/uri.html"> uri </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key116"> file recognition </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key118"> file type </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key115"> file utilities </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fileutil/fileutil.html"> fileutil </a> · <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> · <a href="tcllib/files/modules/fileutil/multi.html"> fileutil::multi </a> · <a href="tcllib/files/modules/fileutil/multiop.html"> fileutil::multi::op </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key385"> filesystem </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/map/map_slippy_cache.html"> map::slippy::cache </a> </td></tr> <tr class="#doctools_idxodd" valign=top> |
︙ | ︙ | |||
2366 2367 2368 2369 2370 2371 2372 | <td class="#doctools_idxleft" width="35%"><a name="key756"> method reference </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tool/meta.html"> oo::util </a> · <a href="tcllib/files/modules/ooutil/ooutil.html"> oo::util </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key230"> mime </a></td> <td class="#doctools_idxright" width="65%"> | | | 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 | <td class="#doctools_idxleft" width="35%"><a name="key756"> method reference </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/tool/meta.html"> oo::util </a> · <a href="tcllib/files/modules/ooutil/ooutil.html"> oo::util </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key230"> mime </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> · <a href="tcllib/files/modules/mime/mime.html"> mime </a> · <a href="tcllib/files/modules/mime/smtp.html"> smtp </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key461"> minimal spanning tree </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/struct/graphops.html"> struct::graph::op </a> </td></tr> <tr class="#doctools_idxeven" valign=top> |
︙ | ︙ | |||
2439 2440 2441 2442 2443 2444 2445 | </td></tr> <tr class="#doctools_idxheader"><th colspan="2"> <a name="c17">Keywords: N</a> </th></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key29"> name service </a></td> <td class="#doctools_idxright" width="65%"> | | | 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 | </td></tr> <tr class="#doctools_idxheader"><th colspan="2"> <a name="c17">Keywords: N</a> </th></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key29"> name service </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/nns/nns_client.html"> nameserv </a> · <a href="tcllib/files/modules/nns/nns_auto.html"> nameserv::auto </a> · <a href="tcllib/files/modules/nns/nns_common.html"> nameserv::common </a> · <a href="tcllib/files/modules/nns/nns_protocol.html"> nameserv::protocol </a> · <a href="tcllib/files/modules/nns/nns_server.html"> nameserv::server </a> · <a href="tcllib/files/apps/nns.html"> nns </a> · <a href="tcllib/files/modules/nns/nns_intro.html"> nns_intro </a> · <a href="tcllib/files/apps/nnsd.html"> nnsd </a> · <a href="tcllib/files/apps/nnslog.html"> nnslog </a> · <a href="tcllib/files/modules/udpcluster/udpcluster.html"> udpcluster </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key86"> namespace unknown </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/namespacex/namespacex.html"> namespacex </a> </td></tr> <tr class="#doctools_idxeven" valign=top> |
︙ | ︙ | |||
3384 3385 3386 3387 3388 3389 3390 | <td class="#doctools_idxleft" width="35%"><a name="key109"> serialization </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/bee/bee.html"> bee </a> · <a href="tcllib/files/modules/doctools2idx/export_docidx.html"> doctools::idx::export::docidx </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_html.html"> doctools::idx::export::html </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_json.html"> doctools::idx::export::json </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_nroff.html"> doctools::idx::export::nroff </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_text.html"> doctools::idx::export::text </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_wiki.html"> doctools::idx::export::wiki </a> · <a href="tcllib/files/modules/doctools2idx/idx_structure.html"> doctools::idx::structure </a> · <a href="tcllib/files/modules/doctools2toc/export_doctoc.html"> doctools::toc::export::doctoc </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_html.html"> doctools::toc::export::html </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_json.html"> doctools::toc::export::json </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_nroff.html"> doctools::toc::export::nroff </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_text.html"> doctools::toc::export::text </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_wiki.html"> doctools::toc::export::wiki </a> · <a href="tcllib/files/modules/doctools2toc/toc_structure.html"> doctools::toc::structure </a> · <a href="tcllib/files/modules/pt/pt_peg_export_container.html"> pt::peg::export::container </a> · <a href="tcllib/files/modules/pt/pt_peg_export_json.html"> pt::peg::export::json </a> · <a href="tcllib/files/modules/pt/pt_peg_export_peg.html"> pt::peg::export::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_from_json.html"> pt::peg::from::json </a> · <a href="tcllib/files/modules/pt/pt_peg_from_peg.html"> pt::peg::from::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_import_json.html"> pt::peg::import::json </a> · <a href="tcllib/files/modules/pt/pt_peg_import_peg.html"> pt::peg::import::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_container.html"> pt::peg::to::container </a> · <a href="tcllib/files/modules/pt/pt_peg_to_cparam.html"> pt::peg::to::cparam </a> · <a href="tcllib/files/modules/pt/pt_peg_to_json.html"> pt::peg::to::json </a> · <a href="tcllib/files/modules/pt/pt_peg_to_param.html"> pt::peg::to::param </a> · <a href="tcllib/files/modules/pt/pt_peg_to_peg.html"> pt::peg::to::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_tclparam.html"> pt::peg::to::tclparam </a> · <a href="tcllib/files/modules/struct/graph.html"> struct::graph </a> · <a href="tcllib/files/modules/struct/struct_tree.html"> struct::tree </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key65"> server </a></td> <td class="#doctools_idxright" width="65%"> | | | 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 | <td class="#doctools_idxleft" width="35%"><a name="key109"> serialization </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/bee/bee.html"> bee </a> · <a href="tcllib/files/modules/doctools2idx/export_docidx.html"> doctools::idx::export::docidx </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_html.html"> doctools::idx::export::html </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_json.html"> doctools::idx::export::json </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_nroff.html"> doctools::idx::export::nroff </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_text.html"> doctools::idx::export::text </a> · <a href="tcllib/files/modules/doctools2idx/idx_export_wiki.html"> doctools::idx::export::wiki </a> · <a href="tcllib/files/modules/doctools2idx/idx_structure.html"> doctools::idx::structure </a> · <a href="tcllib/files/modules/doctools2toc/export_doctoc.html"> doctools::toc::export::doctoc </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_html.html"> doctools::toc::export::html </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_json.html"> doctools::toc::export::json </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_nroff.html"> doctools::toc::export::nroff </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_text.html"> doctools::toc::export::text </a> · <a href="tcllib/files/modules/doctools2toc/toc_export_wiki.html"> doctools::toc::export::wiki </a> · <a href="tcllib/files/modules/doctools2toc/toc_structure.html"> doctools::toc::structure </a> · <a href="tcllib/files/modules/pt/pt_peg_export_container.html"> pt::peg::export::container </a> · <a href="tcllib/files/modules/pt/pt_peg_export_json.html"> pt::peg::export::json </a> · <a href="tcllib/files/modules/pt/pt_peg_export_peg.html"> pt::peg::export::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_from_json.html"> pt::peg::from::json </a> · <a href="tcllib/files/modules/pt/pt_peg_from_peg.html"> pt::peg::from::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_import_json.html"> pt::peg::import::json </a> · <a href="tcllib/files/modules/pt/pt_peg_import_peg.html"> pt::peg::import::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_container.html"> pt::peg::to::container </a> · <a href="tcllib/files/modules/pt/pt_peg_to_cparam.html"> pt::peg::to::cparam </a> · <a href="tcllib/files/modules/pt/pt_peg_to_json.html"> pt::peg::to::json </a> · <a href="tcllib/files/modules/pt/pt_peg_to_param.html"> pt::peg::to::param </a> · <a href="tcllib/files/modules/pt/pt_peg_to_peg.html"> pt::peg::to::peg </a> · <a href="tcllib/files/modules/pt/pt_peg_to_tclparam.html"> pt::peg::to::tclparam </a> · <a href="tcllib/files/modules/struct/graph.html"> struct::graph </a> · <a href="tcllib/files/modules/struct/struct_tree.html"> struct::tree </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key65"> server </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/map/map_geocode_nominatim.html"> map::geocode::nominatim </a> · <a href="tcllib/files/modules/map/map_slippy_fetcher.html"> map::slippy::fetcher </a> · <a href="tcllib/files/modules/nns/nns_common.html"> nameserv::common </a> · <a href="tcllib/files/modules/nns/nns_server.html"> nameserv::server </a> · <a href="tcllib/files/modules/nns/nns_intro.html"> nns_intro </a> · <a href="tcllib/files/apps/nnsd.html"> nnsd </a> · <a href="tcllib/files/modules/udpcluster/udpcluster.html"> udpcluster </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key90"> service </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/log/logger.html"> logger </a> </td></tr> <tr class="#doctools_idxeven" valign=top> |
︙ | ︙ | |||
4032 4033 4034 4035 4036 4037 4038 | <td class="#doctools_idxleft" width="35%"><a name="key839"> twitter </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/oauth/oauth.html"> oauth </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key117"> type </a></td> <td class="#doctools_idxright" width="65%"> | | | 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 | <td class="#doctools_idxleft" width="35%"><a name="key839"> twitter </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/oauth/oauth.html"> oauth </a> </td></tr> <tr class="#doctools_idxodd" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key117"> type </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/fileutil/fileutil.html"> fileutil </a> · <a href="tcllib/files/modules/fumagic/cfront.html"> fileutil::magic::cfront </a> · <a href="tcllib/files/modules/fumagic/cgen.html"> fileutil::magic::cgen </a> · <a href="tcllib/files/modules/fumagic/filetypes.html"> fileutil::magic::filetype </a> · <a href="tcllib/files/modules/fumagic/rtcore.html"> fileutil::magic::rt </a> · <a href="tcllib/files/modules/snit/snit.html"> snit </a> </td></tr> <tr class="#doctools_idxeven" valign=top> <td class="#doctools_idxleft" width="35%"><a name="key57"> Type checking </a></td> <td class="#doctools_idxright" width="65%"> <a href="tcllib/files/modules/valtype/valtype_common.html"> valtype::common </a> · <a href="tcllib/files/modules/valtype/cc_amex.html"> valtype::creditcard::amex </a> · <a href="tcllib/files/modules/valtype/cc_discover.html"> valtype::creditcard::discover </a> · <a href="tcllib/files/modules/valtype/cc_mastercard.html"> valtype::creditcard::mastercard </a> · <a href="tcllib/files/modules/valtype/cc_visa.html"> valtype::creditcard::visa </a> · <a href="tcllib/files/modules/valtype/ean13.html"> valtype::gs1::ean13 </a> · <a href="tcllib/files/modules/valtype/iban.html"> valtype::iban </a> · <a href="tcllib/files/modules/valtype/imei.html"> valtype::imei </a> · <a href="tcllib/files/modules/valtype/isbn.html"> valtype::isbn </a> · <a href="tcllib/files/modules/valtype/luhn.html"> valtype::luhn </a> · <a href="tcllib/files/modules/valtype/luhn5.html"> valtype::luhn5 </a> · <a href="tcllib/files/modules/valtype/usnpi.html"> valtype::usnpi </a> · <a href="tcllib/files/modules/valtype/verhoeff.html"> valtype::verhoeff </a> </td></tr> <tr class="#doctools_idxheader"><th colspan="2"> |
︙ | ︙ |
Changes to idoc/www/tcllib/files/modules/fumagic/filetypes.html.
︙ | ︙ | |||
135 136 137 138 139 140 141 | </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>This package provides a command for the recognition of file types in pure Tcl.</p> <p>The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types.</p> | | | | | | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>This package provides a command for the recognition of file types in pure Tcl.</p> <p>The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types.</p> <p><em>Beware!</em> This recognizer is large, about 752 Kilobyte of generated Tcl code.</p> <dl class="doctools_definitions"> <dt><a name="1"><b class="cmd">::fileutil::magic::filetype</b> <i class="arg">filename</i></a></dt> <dd><p>This command is similar to the command <b class="cmd">fileutil::fileType</b>.</p> <p>Returns a list containing a list of descriptions, a list of mimetype components, and a list file extensions. Returns an empty string if the file content is not recognized.</p></dd> </dl> </div> <div id="section2" class="doctools_section"><h2><a name="section2">REFERENCES</a></h2> <ol class="doctools_enumerated"> <li><p><a href="ftp://ftp.astron.com/pub/file/">File(1) sources</a> This site contains the current sources for the file command, including the magic definitions used by it. The latter were used by us to |
︙ | ︙ |
Deleted idoc/www/tcllib/files/modules/fumagic/mimetypes.html.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Changes to idoc/www/tcllib/files/modules/fumagic/rtcore.html.
︙ | ︙ | |||
126 127 128 129 130 131 132 | <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.4</b></li> <li>package require <b class="pkgname">fileutil::magic::rt <span class="opt">?1.0?</span></b></li> </ul> <ul class="doctools_syntax"> | | | > > | | | | | | | | | | | | | | > | > > > > | | | | | | | | | | | | | | | | | > > | 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.4</b></li> <li>package require <b class="pkgname">fileutil::magic::rt <span class="opt">?1.0?</span></b></li> </ul> <ul class="doctools_syntax"> <li><a href="#1"><b class="cmd">::fileutil::magic::rt::></b></a></li> <li><a href="#2"><b class="cmd">::fileutil::magic::rt::<</b></a></li> <li><a href="#3"><b class="cmd">::fileutil::magic::rt::open</b> <i class="arg">filename</i></a></li> <li><a href="#4"><b class="cmd">::fileutil::magic::rt::close</b></a></li> <li><a href="#5"><b class="cmd">::fileutil::magic::rt::file_start</b> <i class="arg">name</i></a></li> <li><a href="#6"><b class="cmd">::fileutil::magic::rt::result</b> <span class="opt">?<i class="arg">msg</i>?</span></a></li> <li><a href="#7"><b class="cmd">::fileutil::magic::rt::resultv</b> <span class="opt">?<i class="arg">msg</i>?</span></a></li> <li><a href="#8"><b class="cmd">::fileutil::magic::rt::emit</b> <i class="arg">msg</i></a></li> <li><a href="#9"><b class="cmd">::fileutil::magic::rt::offset</b> <i class="arg">where</i></a></li> <li><a href="#10"><b class="cmd">::fileutil::magic::rt::Nv</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#11"><b class="cmd">::fileutil::magic::rt::N</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#12"><b class="cmd">::fileutil::magic::rt::Nvx</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#13"><b class="cmd">::fileutil::magic::rt::Nx</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#14"><b class="cmd">::fileutil::magic::rt::S</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#15"><b class="cmd">::fileutil::magic::rt::Sx</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></li> <li><a href="#16"><b class="cmd">::fileutil::magic::rt::L</b> <i class="arg">newlevel</i></a></li> <li><a href="#17"><b class="cmd">::fileutil::magic::rt::I</b> <i class="arg">base</i> <i class="arg">type</i> <i class="arg">delta</i></a></li> <li><a href="#18"><b class="cmd">::fileutil::magic::rt::R</b> <i class="arg">offset</i></a></li> <li><a href="#19"><b class="cmd">::fileutil::magic::rt::U</b> <i class="arg">fileindex</i> <i class="arg">name</i></a></li> </ul> </div> </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>This package provides the runtime core for file type recognition engines written in pure Tcl and is thus used by all other packages in this module, i.e. the two frontend packages <b class="package">fileutil::magic::mimetypes</b> and <b class="package">fileutil::magic::filetypes</b>, and the two engine compiler packages <b class="package"><a href="cgen.html">fileutil::magic::cgen</a></b> and <b class="package"><a href="cfront.html">fileutil::magic::cfront</a></b>.</p> </div> <div id="section2" class="doctools_section"><h2><a name="section2">COMMANDS</a></h2> <dl class="doctools_definitions"> <dt><a name="1"><b class="cmd">::fileutil::magic::rt::></b></a></dt> <dd><p>Shorthand for <b class="cmd">incr level</b>.</p></dd> <dt><a name="2"><b class="cmd">::fileutil::magic::rt::<</b></a></dt> <dd><p>Shorthand for <b class="cmd">incr level -1</b>.</p></dd> <dt><a name="3"><b class="cmd">::fileutil::magic::rt::open</b> <i class="arg">filename</i></a></dt> <dd><p>This command initializes the runtime and prepares the file <i class="arg">filename</i> for use by the system. This command has to be invoked first, before any other command of this package.</p> <p>The command returns the channel handle of the opened file as its result.</p></dd> <dt><a name="4"><b class="cmd">::fileutil::magic::rt::close</b></a></dt> <dd><p>This command closes the last file opened via <b class="cmd">::fileutil::magic::rt::open</b> and shuts the runtime down. This command has to be invoked last, after the file has been dealt with completely. Afterward another invokation of <b class="cmd">::fileutil::magic::rt::open</b> is required to process another file.</p> <p>This command returns the empty string as its result.</p></dd> <dt><a name="5"><b class="cmd">::fileutil::magic::rt::file_start</b> <i class="arg">name</i></a></dt> <dd><p>This command marks the start of a magic file when debugging. It returns the empty string as its result.</p></dd> <dt><a name="6"><b class="cmd">::fileutil::magic::rt::result</b> <span class="opt">?<i class="arg">msg</i>?</span></a></dt> <dd><p>This command returns the current result and stops processing.</p> <p>If <i class="arg">msg</i> is specified its text is added to the result before it is returned. See <b class="cmd">::fileutil::magic::rt::emit</b> for the allowed special character sequences.</p></dd> <dt><a name="7"><b class="cmd">::fileutil::magic::rt::resultv</b> <span class="opt">?<i class="arg">msg</i>?</span></a></dt> <dd><p>This command returns the current result. In contrast to <b class="cmd">::fileutil::magic::rt::result</b> processing continues.</p> <p>If <i class="arg">msg</i> is specified its text is added to the result before it is returned. See <b class="cmd">::fileutil::magic::rt::emit</b> for the allowed special character sequences.</p></dd> <dt><a name="8"><b class="cmd">::fileutil::magic::rt::emit</b> <i class="arg">msg</i></a></dt> <dd><p>This command adds the text <i class="arg">msg</i> to the result buffer. The message may contain the following special character sequences. They will be replaced with buffered values before the message is added to the result. The command returns the empty string as its result.</p> <dl class="doctools_definitions"> <dt><b class="const">\b</b></dt> <dd><p>This sequence is removed</p></dd> <dt><b class="const">%s</b></dt> <dd><p>Replaced with the last buffered string value.</p></dd> <dt><b class="const">%ld</b></dt> <dd><p>Replaced with the last buffered numeric value.</p></dd> <dt><b class="const">%d</b></dt> <dd><p>See above.</p></dd> </dl></dd> <dt><a name="10"><b class="cmd">::fileutil::magic::rt::Nv</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command fetches the numeric value with <i class="arg">type</i> from the absolute location <i class="arg">offset</i> and returns it as its result. The fetched value is further stored in the numeric buffer.</p> <p>If <i class="arg">qual</i> is specified it is considered to be a mask and applied to the fetched value before it is stored and returned. It has to have the form of a partial Tcl bit-wise expression, i.e.</p> <pre class="doctools_example"> & number </pre> <p>For example:</p> <pre class="doctools_example"> Nv lelong 0 &0x8080ffff </pre> <p>For the possible types see section <span class="sectref"><a href="#section3">NUMERIC TYPES</a></span>.</p></dd> <dt><a name="11"><b class="cmd">::fileutil::magic::rt::N</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves mostly like <b class="cmd">::fileutil::magic::rt::Nv</b>, except that it compares the fetched and masked value against <i class="arg">val</i> as specified with <i class="arg">comp</i> and returns the result of that comparison.</p> <p>The argument <i class="arg">comp</i> has to contain one of Tcl's comparison operators, and the comparison made will be</p> <pre class="doctools_example"> <val> <comp> <fetched-and-masked-value> </pre> <p>The special comparison operator <b class="const">x</b> signals that no comparison should be done, or, in other words, that the fetched value will always match <i class="arg">val</i>.</p></dd> <dt><a name="12"><b class="cmd">::fileutil::magic::rt::Nvx</b> <i class="arg">type</i> <i class="arg">offset</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::Nv</b>, except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by <b class="cmd">::fileutil::magic::rt::R</b>.</p></dd> <dt><a name="13"><b class="cmd">::fileutil::magic::rt::Nx</b> <i class="arg">type</i> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::N</b>, except that it additionally remembers the location in the file after the fetch in the calling context, for the current, for later use by <b class="cmd">::fileutil::magic::rt::R</b>.</p></dd> <dt><a name="14"><b class="cmd">::fileutil::magic::rt::S</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::N</b>, except that it fetches and compares strings, not numeric data. The fetched value is also stored in the internal string buffer instead of the numeric buffer.</p></dd> <dt><a name="15"><b class="cmd">::fileutil::magic::rt::Sx</b> <i class="arg">offset</i> <i class="arg">comp</i> <i class="arg">val</i> <span class="opt">?<i class="arg">qual</i>?</span></a></dt> <dd><p>This command behaves like <b class="cmd">::fileutil::magic::rt::S</b>, except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by <b class="cmd">::fileutil::magic::rt::R</b>.</p></dd> <dt><a name="16"><b class="cmd">::fileutil::magic::rt::L</b> <i class="arg">newlevel</i></a></dt> <dd><p>This command sets the current level in the calling context to <i class="arg">newlevel</i>. The command returns the empty string as its result.</p></dd> <dt><a name="17"><b class="cmd">::fileutil::magic::rt::I</b> <i class="arg">base</i> <i class="arg">type</i> <i class="arg">delta</i></a></dt> <dd><p>This command handles base locations specified indirectly through the contents of the inspected file. It returns the sum of <i class="arg">delta</i> and the value of numeric <i class="arg">type</i> fetched from the absolute location <i class="arg">base</i>.</p> <p>For the possible types see section <span class="sectref"><a href="#section3">NUMERIC TYPES</a></span>.</p></dd> <dt><a name="18"><b class="cmd">::fileutil::magic::rt::R</b> <i class="arg">offset</i></a></dt> <dd><p>This command handles base locations specified relative to the end of the last field one level above.</p> <p>In other words, the command computes an absolute location in the file based on the relative <i class="arg">offset</i> and returns it as its result. The base the offset is added to is the last location remembered for the level in the calling context.</p></dd> <dt><a name="19"><b class="cmd">::fileutil::magic::rt::U</b> <i class="arg">fileindex</i> <i class="arg">name</i></a></dt> <dd><p>Use a named test script at the current level.</p></dd> </dl> </div> <div id="section3" class="doctools_section"><h2><a name="section3">NUMERIC TYPES</a></h2> <dl class="doctools_definitions"> <dt><b class="const">byte</b></dt> <dd><p>8-bit integer</p></dd> <dt><b class="const">short</b></dt> |
︙ | ︙ |
Changes to idoc/www/tcllib/files/modules/math/math_geometry.html.
︙ | ︙ | |||
104 105 106 107 108 109 110 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> | | | | | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> <h1 class="doctools_title">math::geometry(n) 1.2.2 tcllib "Tcl Math Library"</h1> <div id="name" class="doctools_section"><h2><a name="name">Name</a></h2> <p>math::geometry - Geometrical computations</p> </div> <div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2> <ul class="doctools_toc"> <li class="doctools_section"><a href="#toc">Table Of Contents</a></li> <li class="doctools_section"><a href="#synopsis">Synopsis</a></li> <li class="doctools_section"><a href="#section1">Description</a></li> <li class="doctools_section"><a href="#section2">PROCEDURES</a></li> <li class="doctools_section"><a href="#section3">References</a></li> <li class="doctools_section"><a href="#section4">Bugs, Ideas, Feedback</a></li> <li class="doctools_section"><a href="#keywords">Keywords</a></li> <li class="doctools_section"><a href="#category">Category</a></li> <li class="doctools_section"><a href="#copyright">Copyright</a></li> </ul> </div> <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl <span class="opt">?8.5?</span></b></li> <li>package require <b class="pkgname">math::geometry <span class="opt">?1.2.2?</span></b></li> </ul> <ul class="doctools_syntax"> <li><a href="#1"><b class="cmd">::math::geometry::+</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li> <li><a href="#2"><b class="cmd">::math::geometry::-</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li> <li><a href="#3"><b class="cmd">::math::geometry::p</b> <i class="arg">x</i> <i class="arg">y</i></a></li> <li><a href="#4"><b class="cmd">::math::geometry::distance</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li> <li><a href="#5"><b class="cmd">::math::geometry::length</b> <i class="arg">point</i></a></li> |
︙ | ︙ | |||
160 161 162 163 164 165 166 | <li><a href="#26"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></li> <li><a href="#27"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></li> <li><a href="#28"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></li> <li><a href="#29"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></li> <li><a href="#30"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></li> <li><a href="#31"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></li> <li><a href="#32"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li> | > | | > > > > > | 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | <li><a href="#26"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></li> <li><a href="#27"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></li> <li><a href="#28"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></li> <li><a href="#29"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></li> <li><a href="#30"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></li> <li><a href="#31"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></li> <li><a href="#32"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li> <li><a href="#33"><b class="cmd">::math::geometry::pointInsidePolygonAlt</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li> <li><a href="#34"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></li> <li><a href="#35"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></li> <li><a href="#36"><b class="cmd">::math::geometry::translate</b> <i class="arg">vector</i> <i class="arg">polyline</i></a></li> <li><a href="#37"><b class="cmd">::math::geometry::rotate</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></li> <li><a href="#38"><b class="cmd">::math::geometry::reflect</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></li> <li><a href="#39"><b class="cmd">::math::geometry::degToRad</b> <i class="arg">angle</i></a></li> <li><a href="#40"><b class="cmd">::math::geometry::radToDeg</b> <i class="arg">angle</i></a></li> </ul> </div> </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>The <b class="package">math::geometry</b> package is a collection of functions for computations and manipulations on two-dimensional geometrical objects, such as points, lines and polygons.</p> |
︙ | ︙ | |||
450 451 452 453 454 455 456 | polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P</i></dt> <dd><p>Coordinates of the point</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be examined</p></dd> </dl></dd> | > > > > > > > > > > > > | | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 | polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P</i></dt> <dd><p>Coordinates of the point</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be examined</p></dd> </dl></dd> <dt><a name="33"><b class="cmd">::math::geometry::pointInsidePolygonAlt</b> <i class="arg">P</i> <i class="arg">polyline</i></a></dt> <dd><p>Determine if a point is completely inside a polygon. If the point touches the polygon, then the point is not completely inside the polygon. <em>Note:</em> this alternative procedure uses the so-called winding number to determine this. It handles self-intersecting polygons in a "natural" way.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P</i></dt> <dd><p>Coordinates of the point</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be examined</p></dd> </dl></dd> <dt><a name="34"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></dt> <dd><p>Determine if a rectangle is completely inside a polygon. If polygon touches the rectangle, then the rectangle is not complete inside the polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">P1</i></dt> <dd><p>Upper-left corner of the rectangle</p></dd> <dt>list <i class="arg">P2</i></dt> <dd><p>Lower-right corner of the rectangle</p></dd> <dt>list <i class="arg">polygon</i></dt> <dd><p>The polygon in question</p></dd> </dl></dd> <dt><a name="35"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></dt> <dd><p>Calculate the area of a polygon.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">polygon</i></dt> <dd><p>The polygon in question</p></dd> </dl></dd> <dt><a name="36"><b class="cmd">::math::geometry::translate</b> <i class="arg">vector</i> <i class="arg">polyline</i></a></dt> <dd><p>Translate a polyline over a given vector</p> <dl class="doctools_arguments"> <dt>list <i class="arg">vector</i></dt> <dd><p>Translation vector</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be rotated</p></dd> </dl></dd> <dt><a name="37"><b class="cmd">::math::geometry::rotate</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></dt> <dd><p>Rotate a polyline over a given angle (degrees) around the origin</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle over which to rotate the polyline (degrees)</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be translated</p></dd> </dl></dd> <dt><a name="38"><b class="cmd">::math::geometry::reflect</b> <i class="arg">angle</i> <i class="arg">polyline</i></a></dt> <dd><p>Reflect a polyline in a line through the origin at a given angle (degrees) to the x-axis</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle of the line of reflection (degrees)</p></dd> <dt>list <i class="arg">polyline</i></dt> <dd><p>The polyline to be reflected</p></dd> </dl></dd> <dt><a name="39"><b class="cmd">::math::geometry::degToRad</b> <i class="arg">angle</i></a></dt> <dd><p>Convert from degrees to radians</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle in degrees</p></dd> </dl></dd> <dt><a name="40"><b class="cmd">::math::geometry::radToDeg</b> <i class="arg">angle</i></a></dt> <dd><p>Convert from radians to degrees</p> <dl class="doctools_arguments"> <dt>list <i class="arg">angle</i></dt> <dd><p>Angle in radians</p></dd> </dl></dd> </dl> </div> <div id="section3" class="doctools_section"><h2><a name="section3">References</a></h2> <ol class="doctools_enumerated"> <li><p><a href="http:/wiki.tcl.tk/12070">Polygon Intersection</a></p></li> <li><p><a href="http://en.wikipedia.org/wiki/Line-line_intersection">http://en.wikipedia.org/wiki/Line-line_intersection</a></p></li> |
︙ | ︙ |
Changes to idoc/www/tcllib/files/modules/math/statistics.html.
︙ | ︙ | |||
148 149 150 151 152 153 154 | <li><a href="#12"><b class="cmd">::math::statistics::histogram-alt</b> <i class="arg">limits</i> <i class="arg">values</i> <span class="opt">?weights?</span></a></li> <li><a href="#13"><b class="cmd">::math::statistics::corr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></li> <li><a href="#14"><b class="cmd">::math::statistics::interval-mean-stdev</b> <i class="arg">data</i> <i class="arg">confidence</i></a></li> <li><a href="#15"><b class="cmd">::math::statistics::t-test-mean</b> <i class="arg">data</i> <i class="arg">est_mean</i> <i class="arg">est_stdev</i> <i class="arg">alpha</i></a></li> <li><a href="#16"><b class="cmd">::math::statistics::test-normal</b> <i class="arg">data</i> <i class="arg">significance</i></a></li> <li><a href="#17"><b class="cmd">::math::statistics::lillieforsFit</b> <i class="arg">data</i></a></li> <li><a href="#18"><b class="cmd">::math::statistics::test-Duckworth</b> <i class="arg">list1</i> <i class="arg">list2</i> <i class="arg">significance</i></a></li> | > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | <li><a href="#12"><b class="cmd">::math::statistics::histogram-alt</b> <i class="arg">limits</i> <i class="arg">values</i> <span class="opt">?weights?</span></a></li> <li><a href="#13"><b class="cmd">::math::statistics::corr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></li> <li><a href="#14"><b class="cmd">::math::statistics::interval-mean-stdev</b> <i class="arg">data</i> <i class="arg">confidence</i></a></li> <li><a href="#15"><b class="cmd">::math::statistics::t-test-mean</b> <i class="arg">data</i> <i class="arg">est_mean</i> <i class="arg">est_stdev</i> <i class="arg">alpha</i></a></li> <li><a href="#16"><b class="cmd">::math::statistics::test-normal</b> <i class="arg">data</i> <i class="arg">significance</i></a></li> <li><a href="#17"><b class="cmd">::math::statistics::lillieforsFit</b> <i class="arg">data</i></a></li> <li><a href="#18"><b class="cmd">::math::statistics::test-Duckworth</b> <i class="arg">list1</i> <i class="arg">list2</i> <i class="arg">significance</i></a></li> <li><a href="#19"><b class="cmd">::math::statistics::test-anova-F</b> <i class="arg">alpha</i> <i class="arg">args</i></a></li> <li><a href="#20"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">data</i> <i class="arg">confidence</i></a></li> <li><a href="#21"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">limits</i> <i class="arg">counts</i> <i class="arg">confidence</i></a></li> <li><a href="#22"><b class="cmd">::math::statistics::autocorr</b> <i class="arg">data</i></a></li> <li><a href="#23"><b class="cmd">::math::statistics::crosscorr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></li> <li><a href="#24"><b class="cmd">::math::statistics::mean-histogram-limits</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></li> <li><a href="#25"><b class="cmd">::math::statistics::minmax-histogram-limits</b> <i class="arg">min</i> <i class="arg">max</i> <i class="arg">number</i></a></li> <li><a href="#26"><b class="cmd">::math::statistics::linear-model</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></li> <li><a href="#27"><b class="cmd">::math::statistics::linear-residuals</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></li> <li><a href="#28"><b class="cmd">::math::statistics::test-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></li> <li><a href="#29"><b class="cmd">::math::statistics::print-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></li> <li><a href="#30"><b class="cmd">::math::statistics::control-xbar</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></li> <li><a href="#31"><b class="cmd">::math::statistics::control-Rchart</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></li> <li><a href="#32"><b class="cmd">::math::statistics::test-xbar</b> <i class="arg">control</i> <i class="arg">data</i></a></li> <li><a href="#33"><b class="cmd">::math::statistics::test-Rchart</b> <i class="arg">control</i> <i class="arg">data</i></a></li> <li><a href="#34"><b class="cmd">::math::statistics::test-Kruskal-Wallis</b> <i class="arg">confidence</i> <i class="arg">args</i></a></li> <li><a href="#35"><b class="cmd">::math::statistics::analyse-Kruskal-Wallis</b> <i class="arg">args</i></a></li> <li><a href="#36"><b class="cmd">::math::statistics::group-rank</b> <i class="arg">args</i></a></li> <li><a href="#37"><b class="cmd">::math::statistics::test-Wilcoxon</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></li> <li><a href="#38"><b class="cmd">::math::statistics::spearman-rank</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></li> <li><a href="#39"><b class="cmd">::math::statistics::spearman-rank-extended</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></li> <li><a href="#40"><b class="cmd">::math::statistics::kernel-density</b> <i class="arg">data</i> opt <i class="arg">-option value</i> ...</a></li> <li><a href="#41"><b class="cmd">::math::statistics::tstat</b> <i class="arg">dof</i> <span class="opt">?alpha?</span></a></li> <li><a href="#42"><b class="cmd">::math::statistics::mv-wls</b> <i class="arg">wt1</i> <i class="arg">weights_and_values</i></a></li> <li><a href="#43"><b class="cmd">::math::statistics::mv-ols</b> <i class="arg">values</i></a></li> <li><a href="#44"><b class="cmd">::math::statistics::pdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#45"><b class="cmd">::math::statistics::pdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#46"><b class="cmd">::math::statistics::pdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></li> <li><a href="#47"><b class="cmd">::math::statistics::pdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></li> <li><a href="#48"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></li> <li><a href="#49"><b class="cmd">::math::statistics::pdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></li> <li><a href="#50"><b class="cmd">::math::statistics::pdf-chisquare</b> <i class="arg">df</i> <i class="arg">value</i></a></li> <li><a href="#51"><b class="cmd">::math::statistics::pdf-student-t</b> <i class="arg">df</i> <i class="arg">value</i></a></li> <li><a href="#52"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></li> <li><a href="#53"><b class="cmd">::math::statistics::pdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></li> <li><a href="#54"><b class="cmd">::math::statistics::pdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#55"><b class="cmd">::math::statistics::pdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#56"><b class="cmd">::math::statistics::pdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#57"><b class="cmd">::math::statistics::pdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#58"><b class="cmd">::math::statistics::cdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#59"><b class="cmd">::math::statistics::cdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></li> <li><a href="#60"><b class="cmd">::math::statistics::cdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></li> <li><a href="#61"><b class="cmd">::math::statistics::cdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></li> <li><a href="#62"><b class="cmd">::math::statistics::cdf-students-t</b> <i class="arg">degrees</i> <i class="arg">value</i></a></li> <li><a href="#63"><b class="cmd">::math::statistics::cdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></li> <li><a href="#64"><b class="cmd">::math::statistics::cdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></li> <li><a href="#65"><b class="cmd">::math::statistics::cdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></li> <li><a href="#66"><b class="cmd">::math::statistics::cdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#67"><b class="cmd">::math::statistics::cdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#68"><b class="cmd">::math::statistics::cdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></li> <li><a href="#69"><b class="cmd">::math::statistics::cdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></li> <li><a href="#70"><b class="cmd">::math::statistics::cdf-F</b> <i class="arg">nf1</i> <i class="arg">nf2</i> <i class="arg">value</i></a></li> <li><a href="#71"><b class="cmd">::math::statistics::empirical-distribution</b> <i class="arg">values</i></a></li> <li><a href="#72"><b class="cmd">::math::statistics::random-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></li> <li><a href="#73"><b class="cmd">::math::statistics::random-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></li> <li><a href="#74"><b class="cmd">::math::statistics::random-exponential</b> <i class="arg">mean</i> <i class="arg">number</i></a></li> <li><a href="#75"><b class="cmd">::math::statistics::random-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">number</i></a></li> <li><a href="#76"><b class="cmd">::math::statistics::random-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">number</i></a></li> <li><a href="#77"><b class="cmd">::math::statistics::random-poisson</b> <i class="arg">mu</i> <i class="arg">number</i></a></li> <li><a href="#78"><b class="cmd">::math::statistics::random-chisquare</b> <i class="arg">df</i> <i class="arg">number</i></a></li> <li><a href="#79"><b class="cmd">::math::statistics::random-student-t</b> <i class="arg">df</i> <i class="arg">number</i></a></li> <li><a href="#80"><b class="cmd">::math::statistics::random-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">number</i></a></li> <li><a href="#81"><b class="cmd">::math::statistics::random-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></li> <li><a href="#82"><b class="cmd">::math::statistics::random-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></li> <li><a href="#83"><b class="cmd">::math::statistics::random-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></li> <li><a href="#84"><b class="cmd">::math::statistics::random-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></li> <li><a href="#85"><b class="cmd">::math::statistics::histogram-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">limits</i> <i class="arg">number</i></a></li> <li><a href="#86"><b class="cmd">::math::statistics::incompleteGamma</b> <i class="arg">x</i> <i class="arg">p</i> <span class="opt">?tol?</span></a></li> <li><a href="#87"><b class="cmd">::math::statistics::incompleteBeta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">x</i> <span class="opt">?tol?</span></a></li> <li><a href="#88"><b class="cmd">::math::statistics::estimate-pareto</b> <i class="arg">values</i></a></li> <li><a href="#89"><b class="cmd">::math::statistics::filter</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></li> <li><a href="#90"><b class="cmd">::math::statistics::map</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></li> <li><a href="#91"><b class="cmd">::math::statistics::samplescount</b> <i class="arg">varname</i> <i class="arg">list</i> <i class="arg">expression</i></a></li> <li><a href="#92"><b class="cmd">::math::statistics::subdivide</b></a></li> <li><a href="#93"><b class="cmd">::math::statistics::plot-scale</b> <i class="arg">canvas</i> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">ymin</i> <i class="arg">ymax</i></a></li> <li><a href="#94"><b class="cmd">::math::statistics::plot-xydata</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></li> <li><a href="#95"><b class="cmd">::math::statistics::plot-xyline</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></li> <li><a href="#96"><b class="cmd">::math::statistics::plot-tdata</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></li> <li><a href="#97"><b class="cmd">::math::statistics::plot-tline</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></li> <li><a href="#98"><b class="cmd">::math::statistics::plot-histogram</b> <i class="arg">canvas</i> <i class="arg">counts</i> <i class="arg">limits</i> <i class="arg">tag</i></a></li> </ul> </div> </div> <div id="section1" class="doctools_section"><h2><a name="section1">Description</a></h2> <p>The <b class="package">math::statistics</b> package contains functions and procedures for basic statistical data analysis, such as:</p> <ul class="doctools_itemized"> |
︙ | ︙ | |||
436 437 438 439 440 441 442 | <dt>list <i class="arg">list1</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">list2</i></dt> <dd><p>- Second list of data</p></dd> <dt>float <i class="arg">significance</i></dt> <dd><p>- Significance level (either 0.05, 0.01 or 0.001)</p></dd> </dl></dd> | > > > > > > > > > > > > > > > > > | | | | | | | | 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 | <dt>list <i class="arg">list1</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">list2</i></dt> <dd><p>- Second list of data</p></dd> <dt>float <i class="arg">significance</i></dt> <dd><p>- Significance level (either 0.05, 0.01 or 0.001)</p></dd> </dl></dd> <dt><a name="19"><b class="cmd">::math::statistics::test-anova-F</b> <i class="arg">alpha</i> <i class="arg">args</i></a></dt> <dd><p>Determine if two or more groups with normally distributed data have the same variances. The procedure returns 0 if the variances are likely unequal, 1 if they are. This is a one-way ANOVA test. The groups may also be stored in a nested list:</p> <pre class="doctools_example"> test-anova-F 0.05 $A $B $C # # Or equivalently: # test-anova-F 0.05 [list $A $B $C] </pre> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Significance level</p></dd> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more groups of data to be checked</p></dd> </dl></dd> <dt><a name="20"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">data</i> <i class="arg">confidence</i></a></dt> <dd><p>Return the quantiles for a given set of data</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- List of raw data values</p></dd> <dt>float <i class="arg">confidence</i></dt> <dd><p>- Confidence level (0.95 or 0.99 for instance) or a list of confidence levels.</p></dd> </dl></dd> <dt><a name="21"><b class="cmd">::math::statistics::quantiles</b> <i class="arg">limits</i> <i class="arg">counts</i> <i class="arg">confidence</i></a></dt> <dd><p>Return the quantiles based on histogram information (alternative to the call with two arguments)</p> <dl class="doctools_arguments"> <dt>list <i class="arg">limits</i></dt> <dd><p>- List of upper limits from histogram</p></dd> <dt>list <i class="arg">counts</i></dt> <dd><p>- List of counts for for each interval in histogram</p></dd> <dt>float <i class="arg">confidence</i></dt> <dd><p>- Confidence level (0.95 or 0.99 for instance) or a list of confidence levels.</p></dd> </dl></dd> <dt><a name="22"><b class="cmd">::math::statistics::autocorr</b> <i class="arg">data</i></a></dt> <dd><p>Return the autocorrelation function as a list of values (assuming equidistance between samples, about 1/2 of the number of raw data)</p> <p>The correlation is determined in such a way that the first value is always 1 and all others are equal to or smaller than 1. The number of values involved will diminish as the "time" (the index in the list of returned values) increases</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- Raw data for which the autocorrelation must be determined</p></dd> </dl></dd> <dt><a name="23"><b class="cmd">::math::statistics::crosscorr</b> <i class="arg">data1</i> <i class="arg">data2</i></a></dt> <dd><p>Return the cross-correlation function as a list of values (assuming equidistance between samples, about 1/2 of the number of raw data)</p> <p>The correlation is determined in such a way that the values can never exceed 1 in magnitude. The number of values involved will diminish as the "time" (the index in the list of returned values) increases.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data1</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">data2</i></dt> <dd><p>- Second list of data</p></dd> </dl></dd> <dt><a name="24"><b class="cmd">::math::statistics::mean-histogram-limits</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></dt> <dd><p>Determine reasonable limits based on mean and standard deviation for a histogram Convenience function - the result is suitable for the histogram function.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean of the data</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of limits to generate (defaults to 8)</p></dd> </dl></dd> <dt><a name="25"><b class="cmd">::math::statistics::minmax-histogram-limits</b> <i class="arg">min</i> <i class="arg">max</i> <i class="arg">number</i></a></dt> <dd><p>Determine reasonable limits based on a minimum and maximum for a histogram</p> <p>Convenience function - the result is suitable for the histogram function.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">min</i></dt> <dd><p>- Expected minimum</p></dd> <dt>float <i class="arg">max</i></dt> <dd><p>- Expected maximum</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of limits to generate (defaults to 8)</p></dd> </dl></dd> <dt><a name="26"><b class="cmd">::math::statistics::linear-model</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></dt> <dd><p>Determine the coefficients for a linear regression between two series of data (the model: Y = A + B*X). Returns a list of parameters describing the fit</p> <dl class="doctools_arguments"> <dt>list <i class="arg">xdata</i></dt> <dd><p>- List of independent data</p></dd> <dt>list <i class="arg">ydata</i></dt> |
︙ | ︙ | |||
526 527 528 529 530 531 532 | <li><p>Number of degrees of freedom df</p></li> <li><p>Standard error of the intercept A</p></li> <li><p>Significance level of A</p></li> <li><p>Standard error of the slope B</p></li> <li><p>Significance level of B</p></li> </ul></dd> </dl></dd> | | | | | | | | | | | | | | | | 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 | <li><p>Number of degrees of freedom df</p></li> <li><p>Standard error of the intercept A</p></li> <li><p>Significance level of A</p></li> <li><p>Standard error of the slope B</p></li> <li><p>Significance level of B</p></li> </ul></dd> </dl></dd> <dt><a name="27"><b class="cmd">::math::statistics::linear-residuals</b> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">intercept</i></a></dt> <dd><p>Determine the difference between actual data and predicted from the linear model.</p> <p>Returns a list of the differences between the actual data and the predicted values.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">xdata</i></dt> <dd><p>- List of independent data</p></dd> <dt>list <i class="arg">ydata</i></dt> <dd><p>- List of dependent data to be fitted</p></dd> <dt>boolean <i class="arg">intercept</i></dt> <dd><p>- (Optional) compute the intercept (1, default) or fit to a line through the origin (0)</p></dd> </dl></dd> <dt><a name="28"><b class="cmd">::math::statistics::test-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></dt> <dd><p>Determine if two set of samples, each from a binomial distribution, differ significantly or not (implying a different parameter).</p> <p>Returns the "chi-square" value, which can be used to the determine the significance.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">n11</i></dt> <dd><p>- Number of outcomes with the first value from the first sample.</p></dd> <dt>int <i class="arg">n21</i></dt> <dd><p>- Number of outcomes with the first value from the second sample.</p></dd> <dt>int <i class="arg">n12</i></dt> <dd><p>- Number of outcomes with the second value from the first sample.</p></dd> <dt>int <i class="arg">n22</i></dt> <dd><p>- Number of outcomes with the second value from the second sample.</p></dd> </dl></dd> <dt><a name="29"><b class="cmd">::math::statistics::print-2x2</b> <i class="arg">n11</i> <i class="arg">n21</i> <i class="arg">n12</i> <i class="arg">n22</i></a></dt> <dd><p>Determine if two set of samples, each from a binomial distribution, differ significantly or not (implying a different parameter).</p> <p>Returns a short report, useful in an interactive session.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">n11</i></dt> <dd><p>- Number of outcomes with the first value from the first sample.</p></dd> <dt>int <i class="arg">n21</i></dt> <dd><p>- Number of outcomes with the first value from the second sample.</p></dd> <dt>int <i class="arg">n12</i></dt> <dd><p>- Number of outcomes with the second value from the first sample.</p></dd> <dt>int <i class="arg">n22</i></dt> <dd><p>- Number of outcomes with the second value from the second sample.</p></dd> </dl></dd> <dt><a name="30"><b class="cmd">::math::statistics::control-xbar</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></dt> <dd><p>Determine the control limits for an xbar chart. The number of data in each subsample defaults to 4. At least 20 subsamples are required.</p> <p>Returns the mean, the lower limit, the upper limit and the number of data per subsample.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> <dt>int <i class="arg">nsamples</i></dt> <dd><p>- Number of data per subsample</p></dd> </dl></dd> <dt><a name="31"><b class="cmd">::math::statistics::control-Rchart</b> <i class="arg">data</i> <span class="opt">?nsamples?</span></a></dt> <dd><p>Determine the control limits for an R chart. The number of data in each subsample (nsamples) defaults to 4. At least 20 subsamples are required.</p> <p>Returns the mean range, the lower limit, the upper limit and the number of data per subsample.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> <dt>int <i class="arg">nsamples</i></dt> <dd><p>- Number of data per subsample</p></dd> </dl></dd> <dt><a name="32"><b class="cmd">::math::statistics::test-xbar</b> <i class="arg">control</i> <i class="arg">data</i></a></dt> <dd><p>Determine if the data exceed the control limits for the xbar chart.</p> <p>Returns a list of subsamples (their indices) that indeed violate the limits.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">control</i></dt> <dd><p>- Control limits as returned by the "control-xbar" procedure</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> </dl></dd> <dt><a name="33"><b class="cmd">::math::statistics::test-Rchart</b> <i class="arg">control</i> <i class="arg">data</i></a></dt> <dd><p>Determine if the data exceed the control limits for the R chart.</p> <p>Returns a list of subsamples (their indices) that indeed violate the limits.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">control</i></dt> <dd><p>- Control limits as returned by the "control-Rchart" procedure</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of observed data</p></dd> </dl></dd> <dt><a name="34"><b class="cmd">::math::statistics::test-Kruskal-Wallis</b> <i class="arg">confidence</i> <i class="arg">args</i></a></dt> <dd><p>Check if the population medians of two or more groups are equal with a given confidence level, using the Kruskal-Wallis test.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">confidence</i></dt> <dd><p>- Confidence level to be used (0-1)</p></dd> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more lists of data</p></dd> </dl></dd> <dt><a name="35"><b class="cmd">::math::statistics::analyse-Kruskal-Wallis</b> <i class="arg">args</i></a></dt> <dd><p>Compute the statistical parameters for the Kruskal-Wallis test. Returns the Kruskal-Wallis statistic and the probability that that value would occur assuming the medians of the populations are equal.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more lists of data</p></dd> </dl></dd> <dt><a name="36"><b class="cmd">::math::statistics::group-rank</b> <i class="arg">args</i></a></dt> <dd><p>Rank the groups of data with respect to the complete set. Returns a list consisting of the group ID, the value and the rank (possibly a rational number, in case of ties) for each data item.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">args</i></dt> <dd><p>- Two or more lists of data</p></dd> </dl></dd> <dt><a name="37"><b class="cmd">::math::statistics::test-Wilcoxon</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></dt> <dd><p>Compute the Wilcoxon test statistic to determine if two samples have the same median or not. (The statistic can be regarded as standard normal, if the sample sizes are both larger than 10. Returns the value of this statistic.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">sample_a</i></dt> <dd><p>- List of data comprising the first sample</p></dd> <dt>list <i class="arg">sample_b</i></dt> <dd><p>- List of data comprising the second sample</p></dd> </dl></dd> <dt><a name="38"><b class="cmd">::math::statistics::spearman-rank</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></dt> <dd><p>Return the Spearman rank correlation as an alternative to the ordinary (Pearson's) correlation coefficient. The two samples should have the same number of data.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">sample_a</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">sample_b</i></dt> <dd><p>- Second list of data</p></dd> </dl></dd> <dt><a name="39"><b class="cmd">::math::statistics::spearman-rank-extended</b> <i class="arg">sample_a</i> <i class="arg">sample_b</i></a></dt> <dd><p>Return the Spearman rank correlation as an alternative to the ordinary (Pearson's) correlation coefficient as well as additional data. The two samples should have the same number of data. The procedure returns the correlation coefficient, the number of data pairs used and the z-score, an approximately standard normal statistic, indicating the significance of the correlation.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">sample_a</i></dt> <dd><p>- First list of data</p></dd> <dt>list <i class="arg">sample_b</i></dt> <dd><p>- Second list of data</p></dd> </dl></dd> <dt><a name="40"><b class="cmd">::math::statistics::kernel-density</b> <i class="arg">data</i> opt <i class="arg">-option value</i> ...</a></dt> <dd><p>] Return the density function based on kernel density estimation. The procedure is controlled by a small set of options, each of which is given a reasonable default.</p> <p>The return value consists of three lists: the centres of the bins, the associated probability density and a list of computational parameters (begin and end of the interval, mean and standard deviation and the used bandwidth). The computational parameters can be used for further analysis.</p> <dl class="doctools_arguments"> |
︙ | ︙ | |||
708 709 710 711 712 713 714 | <p>In addition to these two, it provides a procedure (tstat) for calculating the value of the t-statistic for the specified number of degrees of freedom that is required to demonstrate a given level of significance.</p> <p>Note: These procedures depend on the math::linearalgebra package.</p> <p><em>Description of the procedures</em></p> <dl class="doctools_definitions"> | | | 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 | <p>In addition to these two, it provides a procedure (tstat) for calculating the value of the t-statistic for the specified number of degrees of freedom that is required to demonstrate a given level of significance.</p> <p>Note: These procedures depend on the math::linearalgebra package.</p> <p><em>Description of the procedures</em></p> <dl class="doctools_definitions"> <dt><a name="41"><b class="cmd">::math::statistics::tstat</b> <i class="arg">dof</i> <span class="opt">?alpha?</span></a></dt> <dd><p>Returns the value of the t-distribution t* satisfying</p> <pre class="doctools_example"> P(t*) = 1 - alpha/2 P(-t*) = alpha/2 </pre> <p>for the number of degrees of freedom dof.</p> <p>Given a sample of normally-distributed data x, with an |
︙ | ︙ | |||
732 733 734 735 736 737 738 | the given confidence level.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">dof</i></dt> <dd><p>Number of degrees of freedom</p></dd> <dt>float <i class="arg">alpha</i></dt> <dd><p>Confidence level of the t-distribution. Defaults to 0.05.</p></dd> </dl></dd> | | | 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 | the given confidence level.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">dof</i></dt> <dd><p>Number of degrees of freedom</p></dd> <dt>float <i class="arg">alpha</i></dt> <dd><p>Confidence level of the t-distribution. Defaults to 0.05.</p></dd> </dl></dd> <dt><a name="42"><b class="cmd">::math::statistics::mv-wls</b> <i class="arg">wt1</i> <i class="arg">weights_and_values</i></a></dt> <dd><p>Carries out a weighted least squares linear regression for the data points provided, with weights assigned to each point.</p> <p>The linear model is of the form</p> <pre class="doctools_example"> y = b0 + b1 * x1 + b2 * x2 ... + bN * xN + error </pre> <p>and each point satisfies</p> |
︙ | ︙ | |||
762 763 764 765 766 767 768 | <dt>list <i class="arg">weights_and_values</i></dt> <dd><p>A list consisting of: the weight for the first observation, the data for the first observation (as a sublist), the weight for the second observation (as a sublist) and so on. The sublists of data are organised as lists of the value of the dependent variable y and the independent variables x1, x2 to xN.</p></dd> </dl></dd> | | | 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 | <dt>list <i class="arg">weights_and_values</i></dt> <dd><p>A list consisting of: the weight for the first observation, the data for the first observation (as a sublist), the weight for the second observation (as a sublist) and so on. The sublists of data are organised as lists of the value of the dependent variable y and the independent variables x1, x2 to xN.</p></dd> </dl></dd> <dt><a name="43"><b class="cmd">::math::statistics::mv-ols</b> <i class="arg">values</i></a></dt> <dd><p>Carries out an ordinary least squares linear regression for the data points provided.</p> <p>This procedure simply calls ::mvlinreg::wls with the weights set to 1.0, and returns the same information.</p></dd> </dl> <p><em>Example of the use:</em></p> <pre class="doctools_example"> |
︙ | ︙ | |||
814 815 816 817 818 819 820 | <li><p>The chi-square distribution</p></li> <li><p>The student's T distribution</p></li> <li><p>The Poisson distribution</p></li> <li><p>The Pareto distribution</p></li> <li><p>The Gumbel distribution</p></li> <li><p>The Weibull distribution</p></li> <li><p>The Cauchy distribution</p></li> | > | | | | | | | | | | | | | | | | | | | | | | | | | | | > > > > > > > > > > > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 | <li><p>The chi-square distribution</p></li> <li><p>The student's T distribution</p></li> <li><p>The Poisson distribution</p></li> <li><p>The Pareto distribution</p></li> <li><p>The Gumbel distribution</p></li> <li><p>The Weibull distribution</p></li> <li><p>The Cauchy distribution</p></li> <li><p>The F distribution (only the cumulative density function)</p></li> <li><p>PM - binomial.</p></li> </ul> <p>In principle for each distribution one has procedures for:</p> <ul class="doctools_itemized"> <li><p>The probability density (pdf-*)</p></li> <li><p>The cumulative density (cdf-*)</p></li> <li><p>Quantiles for the given distribution (quantiles-*)</p></li> <li><p>Histograms for the given distribution (histogram-*)</p></li> <li><p>List of random values with the given distribution (random-*)</p></li> </ul> <p>The following procedures have been implemented:</p> <dl class="doctools_definitions"> <dt><a name="44"><b class="cmd">::math::statistics::pdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="45"><b class="cmd">::math::statistics::pdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a log-normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="46"><b class="cmd">::math::statistics::pdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for an exponential distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="47"><b class="cmd">::math::statistics::pdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a uniform distribution with given extremes.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="48"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Gamma distribution with given shape and rate parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">beta</i></dt> <dd><p>- Rate parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="49"><b class="cmd">::math::statistics::pdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></dt> <dd><p>Return the probability of a given number of occurrences in the same interval (k) for a Poisson distribution with given mean (mu)</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mu</i></dt> <dd><p>- Mean number of occurrences</p></dd> <dt>int <i class="arg">k</i></dt> <dd><p>- Number of occurences</p></dd> </dl></dd> <dt><a name="50"><b class="cmd">::math::statistics::pdf-chisquare</b> <i class="arg">df</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a chi square distribution with given degrees of freedom</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="51"><b class="cmd">::math::statistics::pdf-student-t</b> <i class="arg">df</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Student's t distribution with given degrees of freedom</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="52"><b class="cmd">::math::statistics::pdf-gamma</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Gamma distribution with given shape and rate parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Rate parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="53"><b class="cmd">::math::statistics::pdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Beta distribution with given shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="54"><b class="cmd">::math::statistics::pdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Weibull distribution with given scale and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="55"><b class="cmd">::math::statistics::pdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Gumbel distribution with given location and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="56"><b class="cmd">::math::statistics::pdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Pareto distribution with given scale and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="57"><b class="cmd">::math::statistics::pdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the probability of a given value for a Cauchy distribution with given location and shape parameters. Note that the Cauchy distribution has no finite higher-order moments.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="58"><b class="cmd">::math::statistics::cdf-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a normal distribution with given mean and standard deviation, that is the probability for values up to the given one.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="59"><b class="cmd">::math::statistics::cdf-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a log-normal distribution with given mean and standard deviation, that is the probability for values up to the given one.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="60"><b class="cmd">::math::statistics::cdf-exponential</b> <i class="arg">mean</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for an exponential distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="61"><b class="cmd">::math::statistics::cdf-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a uniform distribution with given extremes.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="62"><b class="cmd">::math::statistics::cdf-students-t</b> <i class="arg">degrees</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Student's t distribution with given number of degrees.</p> <dl class="doctools_arguments"> <dt>int <i class="arg">degrees</i></dt> <dd><p>- Number of degrees of freedom</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="63"><b class="cmd">::math::statistics::cdf-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Gamma distribution with given shape and rate parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">beta</i></dt> <dd><p>- Rate parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the cumulative probability is required</p></dd> </dl></dd> <dt><a name="64"><b class="cmd">::math::statistics::cdf-poisson</b> <i class="arg">mu</i> <i class="arg">k</i></a></dt> <dd><p>Return the cumulative probability of a given number of occurrences in the same interval (k) for a Poisson distribution with given mean (mu).</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mu</i></dt> <dd><p>- Mean number of occurrences</p></dd> <dt>int <i class="arg">k</i></dt> <dd><p>- Number of occurences</p></dd> </dl></dd> <dt><a name="65"><b class="cmd">::math::statistics::cdf-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Beta distribution with given shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="66"><b class="cmd">::math::statistics::cdf-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Weibull distribution with given scale and shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="67"><b class="cmd">::math::statistics::cdf-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Gumbel distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="68"><b class="cmd">::math::statistics::cdf-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Pareto distribution with given scale and shape parameters</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="69"><b class="cmd">::math::statistics::cdf-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for a Cauchy distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="70"><b class="cmd">::math::statistics::cdf-F</b> <i class="arg">nf1</i> <i class="arg">nf2</i> <i class="arg">value</i></a></dt> <dd><p>Return the cumulative probability of a given value for an F distribution with nf1 and nf2 degrees of freedom.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">nf1</i></dt> <dd><p>- Degrees of freedom for the numerator</p></dd> <dt>float <i class="arg">nf2</i></dt> <dd><p>- Degrees of freedom for the denominator</p></dd> <dt>float <i class="arg">value</i></dt> <dd><p>- Value for which the probability is required</p></dd> </dl></dd> <dt><a name="71"><b class="cmd">::math::statistics::empirical-distribution</b> <i class="arg">values</i></a></dt> <dd><p>Return a list of values and their empirical probability. The values are sorted in increasing order. (The implementation follows the description at the corresponding Wikipedia page)</p> <dl class="doctools_arguments"> <dt>list <i class="arg">values</i></dt> <dd><p>- List of data to be examined</p></dd> </dl></dd> <dt><a name="72"><b class="cmd">::math::statistics::random-normal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="73"><b class="cmd">::math::statistics::random-lognormal</b> <i class="arg">mean</i> <i class="arg">stdev</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a log-normal distribution with given mean and standard deviation.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>float <i class="arg">stdev</i></dt> <dd><p>- Standard deviation of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="74"><b class="cmd">::math::statistics::random-exponential</b> <i class="arg">mean</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying an exponential distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mean</i></dt> <dd><p>- Mean value of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="75"><b class="cmd">::math::statistics::random-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a uniform distribution with given extremes.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmax</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="76"><b class="cmd">::math::statistics::random-gamma</b> <i class="arg">alpha</i> <i class="arg">beta</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Gamma distribution with given shape and rate parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">alpha</i></dt> <dd><p>- Shape parameter</p></dd> <dt>float <i class="arg">beta</i></dt> <dd><p>- Rate parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="77"><b class="cmd">::math::statistics::random-poisson</b> <i class="arg">mu</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Poisson distribution with given mean.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">mu</i></dt> <dd><p>- Mean of the distribution</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="78"><b class="cmd">::math::statistics::random-chisquare</b> <i class="arg">df</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a chi square distribution with given degrees of freedom.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="79"><b class="cmd">::math::statistics::random-student-t</b> <i class="arg">df</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Student's t distribution with given degrees of freedom.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">df</i></dt> <dd><p>- Degrees of freedom</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="80"><b class="cmd">::math::statistics::random-beta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Beta distribution with given shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="81"><b class="cmd">::math::statistics::random-weibull</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Weibull distribution with given scale and shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="82"><b class="cmd">::math::statistics::random-gumbel</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Gumbel distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="83"><b class="cmd">::math::statistics::random-pareto</b> <i class="arg">scale</i> <i class="arg">shape</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Pareto distribution with given scale and shape parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>float <i class="arg">shape</i></dt> <dd><p>- Shape parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="84"><b class="cmd">::math::statistics::random-cauchy</b> <i class="arg">location</i> <i class="arg">scale</i> <i class="arg">number</i></a></dt> <dd><p>Return a list of "number" random values satisfying a Cauchy distribution with given location and scale parameters.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">location</i></dt> <dd><p>- Location parameter</p></dd> <dt>float <i class="arg">scale</i></dt> <dd><p>- Scale parameter</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Number of values to be returned</p></dd> </dl></dd> <dt><a name="85"><b class="cmd">::math::statistics::histogram-uniform</b> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">limits</i> <i class="arg">number</i></a></dt> <dd><p>Return the expected histogram for a uniform distribution.</p> <dl class="doctools_arguments"> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum value of the distribution</p></dd> <dt>float <i class="arg">xmax</i></dt> <dd><p>- Maximum value of the distribution</p></dd> <dt>list <i class="arg">limits</i></dt> <dd><p>- Upper limits for the buckets in the histogram</p></dd> <dt>int <i class="arg">number</i></dt> <dd><p>- Total number of "observations" in the histogram</p></dd> </dl></dd> <dt><a name="86"><b class="cmd">::math::statistics::incompleteGamma</b> <i class="arg">x</i> <i class="arg">p</i> <span class="opt">?tol?</span></a></dt> <dd><p>Evaluate the incomplete Gamma integral</p> <pre class="doctools_example"> 1 / x p-1 P(p,x) = -------- | dt exp(-t) * t Gamma(p) / 0 </pre> <dl class="doctools_arguments"> <dt>float <i class="arg">x</i></dt> <dd><p>- Value of x (limit of the integral)</p></dd> <dt>float <i class="arg">p</i></dt> <dd><p>- Value of p in the integrand</p></dd> <dt>float <i class="arg">tol</i></dt> <dd><p>- Required tolerance (default: 1.0e-9)</p></dd> </dl></dd> <dt><a name="87"><b class="cmd">::math::statistics::incompleteBeta</b> <i class="arg">a</i> <i class="arg">b</i> <i class="arg">x</i> <span class="opt">?tol?</span></a></dt> <dd><p>Evaluate the incomplete Beta integral</p> <dl class="doctools_arguments"> <dt>float <i class="arg">a</i></dt> <dd><p>- First shape parameter</p></dd> <dt>float <i class="arg">b</i></dt> <dd><p>- Second shape parameter</p></dd> <dt>float <i class="arg">x</i></dt> <dd><p>- Value of x (limit of the integral)</p></dd> <dt>float <i class="arg">tol</i></dt> <dd><p>- Required tolerance (default: 1.0e-9)</p></dd> </dl></dd> <dt><a name="88"><b class="cmd">::math::statistics::estimate-pareto</b> <i class="arg">values</i></a></dt> <dd><p>Estimate the parameters for the Pareto distribution that comes closest to the given values. Returns the estimated scale and shape parameters, as well as the standard error for the shape parameter.</p> <dl class="doctools_arguments"> <dt>list <i class="arg">values</i></dt> <dd><p>- List of values, assumed to be distributed according to a Pareto distribution</p></dd> </dl></dd> </dl> <p>TO DO: more function descriptions to be added</p> </div> <div id="section5" class="doctools_section"><h2><a name="section5">DATA MANIPULATION</a></h2> <p>The data manipulation procedures act on lists or lists of lists:</p> <dl class="doctools_definitions"> <dt><a name="89"><b class="cmd">::math::statistics::filter</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></dt> <dd><p>Return a list consisting of the data for which the logical expression is true (this command works analogously to the command <b class="cmd"><a href="../../../../index.html#key218">foreach</a></b>).</p> <dl class="doctools_arguments"> <dt>string <i class="arg">varname</i></dt> <dd><p>- Name of the variable used in the expression</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of data</p></dd> <dt>string <i class="arg">expression</i></dt> <dd><p>- Logical expression using the variable name</p></dd> </dl></dd> <dt><a name="90"><b class="cmd">::math::statistics::map</b> <i class="arg">varname</i> <i class="arg">data</i> <i class="arg">expression</i></a></dt> <dd><p>Return a list consisting of the data that are transformed via the expression.</p> <dl class="doctools_arguments"> <dt>string <i class="arg">varname</i></dt> <dd><p>- Name of the variable used in the expression</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of data</p></dd> <dt>string <i class="arg">expression</i></dt> <dd><p>- Expression to be used to transform (map) the data</p></dd> </dl></dd> <dt><a name="91"><b class="cmd">::math::statistics::samplescount</b> <i class="arg">varname</i> <i class="arg">list</i> <i class="arg">expression</i></a></dt> <dd><p>Return a list consisting of the <i class="term">counts</i> of all data in the sublists of the "list" argument for which the expression is true.</p> <dl class="doctools_arguments"> <dt>string <i class="arg">varname</i></dt> <dd><p>- Name of the variable used in the expression</p></dd> <dt>list <i class="arg">data</i></dt> <dd><p>- List of sublists, each containing the data</p></dd> <dt>string <i class="arg">expression</i></dt> <dd><p>- Logical expression to test the data (defaults to "true").</p></dd> </dl></dd> <dt><a name="92"><b class="cmd">::math::statistics::subdivide</b></a></dt> <dd><p>Routine <em>PM</em> - not implemented yet</p></dd> </dl> </div> <div id="section6" class="doctools_section"><h2><a name="section6">PLOT PROCEDURES</a></h2> <p>The following simple plotting procedures are available:</p> <dl class="doctools_definitions"> <dt><a name="93"><b class="cmd">::math::statistics::plot-scale</b> <i class="arg">canvas</i> <i class="arg">xmin</i> <i class="arg">xmax</i> <i class="arg">ymin</i> <i class="arg">ymax</i></a></dt> <dd><p>Set the scale for a plot in the given canvas. All plot routines expect this function to be called first. There is no automatic scaling provided.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>float <i class="arg">xmin</i></dt> <dd><p>- Minimum x value</p></dd> <dt>float <i class="arg">xmax</i></dt> <dd><p>- Maximum x value</p></dd> <dt>float <i class="arg">ymin</i></dt> <dd><p>- Minimum y value</p></dd> <dt>float <i class="arg">ymax</i></dt> <dd><p>- Maximum y value</p></dd> </dl></dd> <dt><a name="94"><b class="cmd">::math::statistics::plot-xydata</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a collection of dots. The tag can be used to manipulate the appearance.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>float <i class="arg">xdata</i></dt> <dd><p>- Series of independent data</p></dd> <dt>float <i class="arg">ydata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="95"><b class="cmd">::math::statistics::plot-xyline</b> <i class="arg">canvas</i> <i class="arg">xdata</i> <i class="arg">ydata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a line through the data points. The tag can be used to manipulate the appearance.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">xdata</i></dt> <dd><p>- Series of independent data</p></dd> <dt>list <i class="arg">ydata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="96"><b class="cmd">::math::statistics::plot-tdata</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a collection of dots. The horizontal coordinate is equal to the index. The tag can be used to manipulate the appearance. This type of presentation is suitable for autocorrelation functions for instance or for inspecting the time-dependent behaviour.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">tdata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="97"><b class="cmd">::math::statistics::plot-tline</b> <i class="arg">canvas</i> <i class="arg">tdata</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple XY plot in the given canvas - the data are shown as a line. See plot-tdata for an explanation.</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">tdata</i></dt> <dd><p>- Series of dependent data</p></dd> <dt>string <i class="arg">tag</i></dt> <dd><p>- Tag to give to the plotted data (defaults to xyplot)</p></dd> </dl></dd> <dt><a name="98"><b class="cmd">::math::statistics::plot-histogram</b> <i class="arg">canvas</i> <i class="arg">counts</i> <i class="arg">limits</i> <i class="arg">tag</i></a></dt> <dd><p>Create a simple histogram in the given canvas</p> <dl class="doctools_arguments"> <dt>widget <i class="arg">canvas</i></dt> <dd><p>- Canvas widget to use</p></dd> <dt>list <i class="arg">counts</i></dt> <dd><p>- Series of bucket counts</p></dd> <dt>list <i class="arg">limits</i></dt> |
︙ | ︙ |
Changes to idoc/www/tcllib/files/modules/pki/pki.html.
︙ | ︙ | |||
104 105 106 107 108 109 110 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> | | | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | | <a href="../../../toc.html">Table Of Contents</a> | <a href="../../../../index.html">Keyword Index</a> | <a href="../../../../toc0.html">Categories</a> | <a href="../../../../toc1.html">Modules</a> | <a href="../../../../toc2.html">Applications</a> ] <hr> <div class="doctools"> <h1 class="doctools_title">pki(n) 0.10 tcllib "public key encryption"</h1> <div id="name" class="doctools_section"><h2><a name="name">Name</a></h2> <p>pki - Implementation of the public key cipher</p> </div> <div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2> <ul class="doctools_toc"> <li class="doctools_section"><a href="#toc">Table Of Contents</a></li> <li class="doctools_section"><a href="#synopsis">Synopsis</a></li> |
︙ | ︙ | |||
128 129 130 131 132 133 134 | <li class="doctools_section"><a href="#copyright">Copyright</a></li> </ul> </div> <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.5</b></li> | | | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | <li class="doctools_section"><a href="#copyright">Copyright</a></li> </ul> </div> <div id="synopsis" class="doctools_section"><h2><a name="synopsis">Synopsis</a></h2> <div class="doctools_synopsis"> <ul class="doctools_requirements"> <li>package require <b class="pkgname">Tcl 8.5</b></li> <li>package require <b class="pkgname">pki <span class="opt">?0.10?</span></b></li> </ul> <ul class="doctools_syntax"> <li><a href="#1"><b class="cmd">::pki::encrypt</b> <span class="opt">?<i class="arg">-binary</i>?</span> <span class="opt">?<i class="arg">-hex</i>?</span> <span class="opt">?<i class="arg">-pad</i>?</span> <span class="opt">?<i class="arg">-nopad</i>?</span> <span class="opt">?<i class="arg">-priv</i>?</span> <span class="opt">?<i class="arg">-pub</i>?</span> <span class="opt">?<i class="arg">--</i>?</span> <i class="arg">input</i> <i class="arg">key</i></a></li> <li><a href="#2"><b class="cmd">::pki::decrypt</b> <span class="opt">?<i class="arg">-binary</i>?</span> <span class="opt">?<i class="arg">-hex</i>?</span> <span class="opt">?<i class="arg">-unpad</i>?</span> <span class="opt">?<i class="arg">-nounpad</i>?</span> <span class="opt">?<i class="arg">-priv</i>?</span> <span class="opt">?<i class="arg">-pub</i>?</span> <span class="opt">?<i class="arg">--</i>?</span> <i class="arg">input</i> <i class="arg">key</i></a></li> <li><a href="#3"><b class="cmd">::pki::sign</b> <i class="arg">input</i> <i class="arg">key</i> <span class="opt">?<i class="arg">algo</i>?</span></a></li> <li><a href="#4"><b class="cmd">::pki::verify</b> <i class="arg">signedmessage</i> <i class="arg">plaintext</i> <i class="arg">key</i> <span class="opt">?<i class="arg">algo</i>?</span></a></li> <li><a href="#5"><b class="cmd">::pki::key</b> <i class="arg">key</i> <span class="opt">?<i class="arg">password</i>?</span> <span class="opt">?<i class="arg">encodePem</i>?</span></a></li> |
︙ | ︙ |
Changes to idoc/www/tcllib/toc.html.
︙ | ︙ | |||
465 466 467 468 469 470 471 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > | < < < < | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | | > > > > < < < < | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > > > > | 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fileutil/multi.html">fileutil::multi</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather, standard object</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/fileutil/multiop.html">fileutil::multi::op</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/fileutil/traverse.html">fileutil_traverse</a></td> <td class="#doctools_tocright">Iterative directory traversal</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ftp/ftp.html">ftp</a></td> <td class="#doctools_tocright">Client-side tcl implementation of the ftp protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ftp/ftp_geturl.html">ftp::geturl</a></td> <td class="#doctools_tocright">Uri handler for ftp urls</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ftpd/ftpd.html">ftpd</a></td> <td class="#doctools_tocright">Tcl FTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/generator/generator.html">generator</a></td> <td class="#doctools_tocright">Procedures for creating and using generators.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/gpx/gpx.html">gpx</a></td> <td class="#doctools_tocright">Extracts waypoints, tracks and routes from GPX files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_aycock/aycock.html">grammar::aycock</a></td> <td class="#doctools_tocright">Aycock-Horspool-Earley parser generator for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/fa.html">grammar::fa</a></td> <td class="#doctools_tocright">Create and manipulate finite automatons</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/dacceptor.html">grammar::fa::dacceptor</a></td> <td class="#doctools_tocright">Create and use deterministic acceptors</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/dexec.html">grammar::fa::dexec</a></td> <td class="#doctools_tocright">Execute deterministic finite automatons</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_fa/faop.html">grammar::fa::op</a></td> <td class="#doctools_tocright">Operations on finite automatons</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_cpu.html">grammar::me::cpu</a></td> <td class="#doctools_tocright">Virtual machine implementation II for parsing token streams</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_cpucore.html">grammar::me::cpu::core</a></td> <td class="#doctools_tocright">ME virtual machine state manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/gasm.html">grammar::me::cpu::gasm</a></td> <td class="#doctools_tocright">ME assembler</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_tcl.html">grammar::me::tcl</a></td> <td class="#doctools_tocright">Virtual machine implementation I for parsing token streams</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_util.html">grammar::me::util</a></td> <td class="#doctools_tocright">AST utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_ast.html">grammar::me_ast</a></td> <td class="#doctools_tocright">Various representations of ASTs</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_intro.html">grammar::me_intro</a></td> <td class="#doctools_tocright">Introduction to virtual machines for parsing token streams</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_me/me_vm.html">grammar::me_vm</a></td> <td class="#doctools_tocright">Virtual machine for parsing token streams</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_peg/peg.html">grammar::peg</a></td> <td class="#doctools_tocright">Create and manipulate parsing expression grammars</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/grammar_peg/peg_interp.html">grammar::peg::interp</a></td> <td class="#doctools_tocright">Interpreter for parsing expression grammars</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/hook/hook.html">hook</a></td> <td class="#doctools_tocright">Hooks</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/html/html.html">html</a></td> <td class="#doctools_tocright">Procedures to generate HTML structures</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/htmlparse/htmlparse.html">htmlparse</a></td> <td class="#doctools_tocright">Procedures to parse HTML strings</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/yaml/huddle.html">huddle</a></td> <td class="#doctools_tocright">Create and manipulate huddle object</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ident/ident.html">ident</a></td> <td class="#doctools_tocright">Ident protocol client</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/imap4/imap4.html">imap4</a></td> <td class="#doctools_tocright">imap client-side tcl implementation of imap protocol</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/inifile/ini.html">inifile</a></td> <td class="#doctools_tocright">Parsing of Windows INI files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/interp/tcllib_interp.html">interp</a></td> <td class="#doctools_tocright">Interp creation and aliasing</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/irc/irc.html">irc</a></td> <td class="#doctools_tocright">Create IRC connection and interface.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/javascript/javascript.html">javascript</a></td> <td class="#doctools_tocright">Procedures to generate HTML and Java Script structures.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/jpeg/jpeg.html">jpeg</a></td> <td class="#doctools_tocright">JPEG querying and manipulation of meta data</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/json/json.html">json</a></td> <td class="#doctools_tocright">JSON parser</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/json/json_write.html">json::write</a></td> <td class="#doctools_tocright">JSON generation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/lambda/lambda.html">lambda</a></td> <td class="#doctools_tocright">Utility commands for anonymous procedures</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ldap/ldap.html">ldap</a></td> <td class="#doctools_tocright">LDAP client</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ldap/ldapx.html">ldapx</a></td> <td class="#doctools_tocright">LDAP extended object interface</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/log/log.html">log</a></td> <td class="#doctools_tocright">Procedures to log messages of libraries and applications.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/log/logger.html">logger</a></td> <td class="#doctools_tocright">System to control logging of events.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/log/loggerAppender.html">logger::appender</a></td> <td class="#doctools_tocright">Collection of predefined appenders for logger</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/log/loggerUtils.html">logger::utils</a></td> <td class="#doctools_tocright">Utilities for logger</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_geocode_nominatim.html">map::geocode::nominatim</a></td> <td class="#doctools_tocright">Resolving geographical names with a Nominatim service</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_slippy.html">map::slippy</a></td> <td class="#doctools_tocright">Common code for slippy based map packages</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_slippy_cache.html">map::slippy::cache</a></td> <td class="#doctools_tocright">Management of a tile cache in the local filesystem</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/map/map_slippy_fetcher.html">map::slippy::fetcher</a></td> <td class="#doctools_tocright">Accessing a server providing tiles for slippy-based maps</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/mapproj/mapproj.html">mapproj</a></td> <td class="#doctools_tocright">Map projection routines</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/markdown/markdown.html">markdown</a></td> <td class="#doctools_tocright">Converts Markdown text to HTML</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/math.html">math</a></td> <td class="#doctools_tocright">Tcl Math Library</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/bigfloat.html">math::bigfloat</a></td> <td class="#doctools_tocright">Arbitrary precision floating-point numbers</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/bignum.html">math::bignum</a></td> <td class="#doctools_tocright">Arbitrary precision integer numbers</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/calculus.html">math::calculus</a></td> <td class="#doctools_tocright">Integration and ordinary differential equations</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/romberg.html">math::calculus::romberg</a></td> <td class="#doctools_tocright">Romberg integration</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/symdiff.html">math::calculus::symdiff</a></td> <td class="#doctools_tocright">Symbolic differentiation for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/combinatorics.html">math::combinatorics</a></td> <td class="#doctools_tocright">Combinatorial functions in the Tcl Math Library</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/qcomplex.html">math::complexnumbers</a></td> <td class="#doctools_tocright">Straightforward complex number package</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/constants.html">math::constants</a></td> <td class="#doctools_tocright">Mathematical and numerical constants</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/decimal.html">math::decimal</a></td> <td class="#doctools_tocright">General decimal arithmetic</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/exact.html">math::exact</a></td> <td class="#doctools_tocright">Exact Real Arithmetic</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/fourier.html">math::fourier</a></td> <td class="#doctools_tocright">Discrete and fast fourier transforms</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/fuzzy.html">math::fuzzy</a></td> <td class="#doctools_tocright">Fuzzy comparison of floating-point numbers</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/math_geometry.html">math::geometry</a></td> <td class="#doctools_tocright">Geometrical computations</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/interpolate.html">math::interpolate</a></td> <td class="#doctools_tocright">Interpolation routines</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/linalg.html">math::linearalgebra</a></td> <td class="#doctools_tocright">Linear Algebra</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/numtheory.html">math::numtheory</a></td> <td class="#doctools_tocright">Number Theory</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/optimize.html">math::optimize</a></td> <td class="#doctools_tocright">Optimisation routines</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/polynomials.html">math::polynomials</a></td> <td class="#doctools_tocright">Polynomial functions</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/rational_funcs.html">math::rationalfunctions</a></td> <td class="#doctools_tocright">Polynomial functions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/roman.html">math::roman</a></td> <td class="#doctools_tocright">Tools for creating and manipulating roman numerals</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/math/special.html">math::special</a></td> <td class="#doctools_tocright">Special mathematical functions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/statistics.html">math::statistics</a></td> <td class="#doctools_tocright">Basic statistical functions and procedures</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/md4/md4.html">md4</a></td> <td class="#doctools_tocright">MD4 Message-Digest Algorithm</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/md5/md5.html">md5</a></td> <td class="#doctools_tocright">MD5 Message-Digest Algorithm</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/md5crypt/md5crypt.html">md5crypt</a></td> <td class="#doctools_tocright">MD5-based password encryption</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/mime/mime.html">mime</a></td> <td class="#doctools_tocright">Manipulation of MIME body parts</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/doctools/mpexpand.html">mpexpand</a></td> <td class="#doctools_tocright">Markup processor</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/multiplexer/multiplexer.html">multiplexer</a></td> <td class="#doctools_tocright">One-to-many communication with sockets.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_client.html">nameserv</a></td> <td class="#doctools_tocright">Name service facility, Client</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_auto.html">nameserv::auto</a></td> <td class="#doctools_tocright">Name service facility, Client Extension</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_common.html">nameserv::common</a></td> <td class="#doctools_tocright">Name service facility, shared definitions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_protocol.html">nameserv::protocol</a></td> <td class="#doctools_tocright">Name service facility, client/server protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_server.html">nameserv::server</a></td> <td class="#doctools_tocright">Name service facility, Server</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/namespacex/namespacex.html">namespacex</a></td> <td class="#doctools_tocright">Namespace utility commands</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ncgi/ncgi.html">ncgi</a></td> <td class="#doctools_tocright">Procedures to manipulate CGI values.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nettool/nettool.html">nettool</a></td> <td class="#doctools_tocright">Tools for networked applications</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nmea/nmea.html">nmea</a></td> <td class="#doctools_tocright">Process NMEA data</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/nns.html">nns</a></td> <td class="#doctools_tocright">Name service facility, Commandline Client Application</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/nns/nns_intro.html">nns_intro</a></td> <td class="#doctools_tocright">Name service facility, introduction</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/nnsd.html">nnsd</a></td> <td class="#doctools_tocright">Name service facility, Commandline Server Application</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/apps/nnslog.html">nnslog</a></td> <td class="#doctools_tocright">Name service facility, Commandline Logging Client Application</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/nntp/nntp.html">nntp</a></td> <td class="#doctools_tocright">Tcl client for the NNTP protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ntp/ntp_time.html">ntp_time</a></td> <td class="#doctools_tocright">Tcl Time Service Client</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/oauth/oauth.html">oauth</a></td> <td class="#doctools_tocright">oauth API base signature</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tool/meta.html">oo::util</a></td> <td class="#doctools_tocright">Utility commands for TclOO</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ooutil/ooutil.html">oo::util</a></td> <td class="#doctools_tocright">Utility commands for TclOO</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/otp/otp.html">otp</a></td> <td class="#doctools_tocright">One-Time Passwords</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/page.html">page</a></td> <td class="#doctools_tocright">Parser Generator</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_intro.html">page_intro</a></td> <td class="#doctools_tocright">page introduction</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_pluginmgr.html">page_pluginmgr</a></td> <td class="#doctools_tocright">page plugin manager</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_flow.html">page_util_flow</a></td> <td class="#doctools_tocright">page dataflow/treewalker utility</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_norm_lemon.html">page_util_norm_lemon</a></td> <td class="#doctools_tocright">page AST normalization, LEMON</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_norm_peg.html">page_util_norm_peg</a></td> <td class="#doctools_tocright">page AST normalization, PEG</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_peg.html">page_util_peg</a></td> <td class="#doctools_tocright">page PEG transformation utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/page/page_util_quote.html">page_util_quote</a></td> <td class="#doctools_tocright">page character quoting utilities</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/irc/picoirc.html">picoirc</a></td> <td class="#doctools_tocright">Small and simple embeddable IRC client.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pki/pki.html">pki</a></td> <td class="#doctools_tocright">Implementation of the public key cipher</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pluginmgr/pluginmgr.html">pluginmgr</a></td> <td class="#doctools_tocright">Manage a plugin</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/png/png.html">png</a></td> <td class="#doctools_tocright">PNG querying and manipulation of meta data</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pop3/pop3.html">pop3</a></td> <td class="#doctools_tocright">Tcl client for POP3 email protocol</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pop3d/pop3d.html">pop3d</a></td> <td class="#doctools_tocright">Tcl POP3 server implementation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pop3d/pop3d_dbox.html">pop3d::dbox</a></td> <td class="#doctools_tocright">Simple mailbox database for pop3d</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pop3d/pop3d_udb.html">pop3d::udb</a></td> <td class="#doctools_tocright">Simple user database for pop3d</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/practcl/practcl.html">practcl</a></td> <td class="#doctools_tocright">The Practcl Module</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/processman/processman.html">processman</a></td> <td class="#doctools_tocright">Tool for automating the period callback of commands</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/profiler/profiler.html">profiler</a></td> <td class="#doctools_tocright">Tcl source code profiler</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/apps/pt.html">pt</a></td> <td class="#doctools_tocright">Parser Tools Application</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_astree.html">pt::ast</a></td> <td class="#doctools_tocright">Abstract Syntax Tree Serialization</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_cparam_config_critcl.html">pt::cparam::configuration::critcl</a></td> <td class="#doctools_tocright">C/PARAM, Canned configuration, Critcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_cparam_config_tea.html">pt::cparam::configuration::tea</a></td> <td class="#doctools_tocright">C/PARAM, Canned configuration, TEA</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_json_language.html">pt::json_language</a></td> <td class="#doctools_tocright">The JSON Grammar Exchange Format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_param.html">pt::param</a></td> <td class="#doctools_tocright">PackRat Machine Specification</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pexpression.html">pt::pe</a></td> <td class="#doctools_tocright">Parsing Expression Serialization</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pexpr_op.html">pt::pe::op</a></td> <td class="#doctools_tocright">Parsing Expression Utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pegrammar.html">pt::peg</a></td> <td class="#doctools_tocright">Parsing Expression Grammar Serialization</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_container.html">pt::peg::container</a></td> <td class="#doctools_tocright">PEG Storage</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_container_peg.html">pt::peg::container::peg</a></td> <td class="#doctools_tocright">PEG Storage. Canned PEG grammar specification</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export.html">pt::peg::export</a></td> <td class="#doctools_tocright">PEG Export</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export_container.html">pt::peg::export::container</a></td> <td class="#doctools_tocright">PEG Export Plugin. Write CONTAINER format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export_json.html">pt::peg::export::json</a></td> <td class="#doctools_tocright">PEG Export Plugin. Write JSON format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_export_peg.html">pt::peg::export::peg</a></td> <td class="#doctools_tocright">PEG Export Plugin. Write PEG format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_from_container.html">pt::peg::from::container</a></td> <td class="#doctools_tocright">PEG Conversion. From CONTAINER format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_from_json.html">pt::peg::from::json</a></td> <td class="#doctools_tocright">PEG Conversion. Read JSON format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_from_peg.html">pt::peg::from::peg</a></td> <td class="#doctools_tocright">PEG Conversion. Read PEG format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import.html">pt::peg::import</a></td> <td class="#doctools_tocright">PEG Import</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import_container.html">pt::peg::import::container</a></td> <td class="#doctools_tocright">PEG Import Plugin. From CONTAINER format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import_json.html">pt::peg::import::json</a></td> <td class="#doctools_tocright">PEG Import Plugin. Read JSON format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_import_peg.html">pt::peg::import::peg</a></td> <td class="#doctools_tocright">PEG Import Plugin. Read PEG format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_interp.html">pt::peg::interp</a></td> <td class="#doctools_tocright">Interpreter for parsing expression grammars</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_container.html">pt::peg::to::container</a></td> <td class="#doctools_tocright">PEG Conversion. Write CONTAINER format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_cparam.html">pt::peg::to::cparam</a></td> <td class="#doctools_tocright">PEG Conversion. Write CPARAM format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_json.html">pt::peg::to::json</a></td> <td class="#doctools_tocright">PEG Conversion. Write JSON format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_param.html">pt::peg::to::param</a></td> <td class="#doctools_tocright">PEG Conversion. Write PARAM format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_peg.html">pt::peg::to::peg</a></td> <td class="#doctools_tocright">PEG Conversion. Write PEG format</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_to_tclparam.html">pt::peg::to::tclparam</a></td> <td class="#doctools_tocright">PEG Conversion. Write TCLPARAM format</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_language.html">pt::peg_language</a></td> <td class="#doctools_tocright">PEG Language Tutorial</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_introduction.html">pt::pegrammar</a></td> <td class="#doctools_tocright">Introduction to Parsing Expression Grammars</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_pgen.html">pt::pgen</a></td> <td class="#doctools_tocright">Parser Generator</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_rdengine.html">pt::rde</a></td> <td class="#doctools_tocright">Parsing Runtime Support, PARAM based</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_tclparam_config_snit.html">pt::tclparam::configuration::snit</a></td> <td class="#doctools_tocright">Tcl/PARAM, Canned configuration, Snit</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_tclparam_config_tcloo.html">pt::tclparam::configuration::tcloo</a></td> <td class="#doctools_tocright">Tcl/PARAM, Canned configuration, Tcloo</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_util.html">pt::util</a></td> <td class="#doctools_tocright">General utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_to_api.html">pt_export_api</a></td> <td class="#doctools_tocright">Parser Tools Export API</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_from_api.html">pt_import_api</a></td> <td class="#doctools_tocright">Parser Tools Import API</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_introduction.html">pt_introduction</a></td> <td class="#doctools_tocright">Introduction to Parser Tools</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_parse_peg.html">pt_parse_peg</a></td> <td class="#doctools_tocright">Parser Tools PEG Parser</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_parser_api.html">pt_parser_api</a></td> <td class="#doctools_tocright">Parser API</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/pt/pt_peg_op.html">pt_peg_op</a></td> <td class="#doctools_tocright">Parser Tools PE Grammar Utility Operations</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/rc4/rc4.html">rc4</a></td> <td class="#doctools_tocright">Implementation of the RC4 stream cipher</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/rcs/rcs.html">rcs</a></td> <td class="#doctools_tocright">RCS low level utilities</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/report/report.html">report</a></td> <td class="#doctools_tocright">Create and manipulate report objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/rest/rest.html">rest</a></td> <td class="#doctools_tocright">define REST web APIs and call them inline or asychronously</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/ripemd/ripemd128.html">ripemd128</a></td> <td class="#doctools_tocright">RIPEMD-128 Message-Digest Algorithm</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/ripemd/ripemd160.html">ripemd160</a></td> <td class="#doctools_tocright">RIPEMD-160 Message-Digest Algorithm</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/amazon-s3/S3.html">S3</a></td> <td class="#doctools_tocright">Amazon S3 Web Service Interface</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/sasl.html">SASL</a></td> <td class="#doctools_tocright">Implementation of SASL mechanisms for Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/ntlm.html">SASL::NTLM</a></td> <td class="#doctools_tocright">Implementation of SASL NTLM mechanism for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/scram.html">SASL::SCRAM</a></td> <td class="#doctools_tocright">Implementation of SASL SCRAM mechanism for Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/sasl/gtoken.html">SASL::XGoogleToken</a></td> <td class="#doctools_tocright">Implementation of SASL NTLM mechanism for Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/sha1/sha1.html">sha1</a></td> <td class="#doctools_tocright">SHA1 Message-Digest Algorithm</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/sha1/sha256.html">sha256</a></td> <td class="#doctools_tocright">SHA256 Message-Digest Algorithm</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/simulation/annealing.html">simulation::annealing</a></td> <td class="#doctools_tocright">Simulated annealing</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/simulation/montecarlo.html">simulation::montecarlo</a></td> <td class="#doctools_tocright">Monte Carlo simulations</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/simulation/simulation_random.html">simulation::random</a></td> <td class="#doctools_tocright">Pseudo-random number generators</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/mime/smtp.html">smtp</a></td> <td class="#doctools_tocright">Client-side tcl implementation of the smtp protocol</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/smtpd/smtpd.html">smtpd</a></td> <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/snit/snit.html">snit</a></td> <td class="#doctools_tocright">Snit's Not Incr Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/snit/snitfaq.html">snitfaq</a></td> <td class="#doctools_tocright">Snit Frequently Asked Questions</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/soundex/soundex.html">soundex</a></td> <td class="#doctools_tocright">Soundex</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/stooop/stooop.html">stooop</a></td> <td class="#doctools_tocright">Object oriented extension.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/string/token.html">string::token</a></td> <td class="#doctools_tocright">Regex based iterative lexing</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/string/token_shell.html">string::token::shell</a></td> <td class="#doctools_tocright">Parsing of shell command line</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/stringprep/stringprep.html">stringprep</a></td> <td class="#doctools_tocright">Implementation of stringprep</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/stringprep/stringprep_data.html">stringprep::data</a></td> <td class="#doctools_tocright">stringprep data tables, generated, internal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/disjointset.html">struct::disjointset</a></td> <td class="#doctools_tocright">Disjoint set data structure</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/graph.html">struct::graph</a></td> <td class="#doctools_tocright">Create and manipulate directed graph objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/graphops.html">struct::graph::op</a></td> <td class="#doctools_tocright">Operation for (un)directed graph objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/graph1.html">struct::graph_v1</a></td> <td class="#doctools_tocright">Create and manipulate directed graph objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_list.html">struct::list</a></td> <td class="#doctools_tocright">Procedures for manipulating lists</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/matrix.html">struct::matrix</a></td> <td class="#doctools_tocright">Create and manipulate matrix objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/matrix1.html">struct::matrix_v1</a></td> <td class="#doctools_tocright">Create and manipulate matrix objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/pool.html">struct::pool</a></td> <td class="#doctools_tocright">Create and manipulate pool objects (of discrete items)</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/prioqueue.html">struct::prioqueue</a></td> <td class="#doctools_tocright">Create and manipulate prioqueue objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/queue.html">struct::queue</a></td> <td class="#doctools_tocright">Create and manipulate queue objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/record.html">struct::record</a></td> <td class="#doctools_tocright">Define and create records (similar to 'C' structures)</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_set.html">struct::set</a></td> <td class="#doctools_tocright">Procedures for manipulating sets</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/skiplist.html">struct::skiplist</a></td> <td class="#doctools_tocright">Create and manipulate skiplists</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/stack.html">struct::stack</a></td> <td class="#doctools_tocright">Create and manipulate stack objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_tree.html">struct::tree</a></td> <td class="#doctools_tocright">Create and manipulate tree objects</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/struct/struct_tree1.html">struct::tree_v1</a></td> <td class="#doctools_tocright">Create and manipulate tree objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/crc/sum.html">sum</a></td> <td class="#doctools_tocright">Calculate a sum(1) compatible checksum</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/stooop/switched.html">switched</a></td> <td class="#doctools_tocright">switch/option management.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tar/tar.html">tar</a></td> <td class="#doctools_tocright">Tar file creation, extraction & manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/cat.html">tcl::chan::cat</a></td> <td class="#doctools_tocright">Concatenation channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_core/core.html">tcl::chan::core</a></td> <td class="#doctools_tocright">Basic reflected/virtual channel support</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_core/events.html">tcl::chan::events</a></td> <td class="#doctools_tocright">Event support for reflected/virtual channels</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/facade.html">tcl::chan::facade</a></td> <td class="#doctools_tocright">Facade channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_fifo.html">tcl::chan::fifo</a></td> <td class="#doctools_tocright">In-memory fifo channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_fifo2.html">tcl::chan::fifo2</a></td> <td class="#doctools_tocright">In-memory interconnected fifo channels</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/halfpipe.html">tcl::chan::halfpipe</a></td> <td class="#doctools_tocright">In-memory channel, half of a fifo2</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_memchan.html">tcl::chan::memchan</a></td> <td class="#doctools_tocright">In-memory channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_null.html">tcl::chan::null</a></td> <td class="#doctools_tocright">Null channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/nullzero.html">tcl::chan::nullzero</a></td> <td class="#doctools_tocright">Null/Zero channel combination</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_random.html">tcl::chan::random</a></td> <td class="#doctools_tocright">Random channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/std.html">tcl::chan::std</a></td> <td class="#doctools_tocright">Standard I/O, unification of stdin and stdout</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_string.html">tcl::chan::string</a></td> <td class="#doctools_tocright">Read-only in-memory channel</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/textwindow.html">tcl::chan::textwindow</a></td> <td class="#doctools_tocright">Textwindow channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_variable.html">tcl::chan::variable</a></td> <td class="#doctools_tocright">In-memory channel using variable for storage</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/tcllib_zero.html">tcl::chan::zero</a></td> <td class="#doctools_tocright">Zero channel</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_base/randseed.html">tcl::randomseed</a></td> <td class="#doctools_tocright">Utilities for random channels</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/adler32.html">tcl::transform::adler32</a></td> <td class="#doctools_tocright">Adler32 transformation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_base64.html">tcl::transform::base64</a></td> <td class="#doctools_tocright">Base64 encoding transformation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_core/transformcore.html">tcl::transform::core</a></td> <td class="#doctools_tocright">Basic reflected/virtual channel transform support</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_counter.html">tcl::transform::counter</a></td> <td class="#doctools_tocright">Counter transformation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_crc32.html">tcl::transform::crc32</a></td> <td class="#doctools_tocright">Crc32 transformation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/hex.html">tcl::transform::hex</a></td> <td class="#doctools_tocright">Hexadecimal encoding transformation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/identity.html">tcl::transform::identity</a></td> <td class="#doctools_tocright">Identity transformation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/limitsize.html">tcl::transform::limitsize</a></td> <td class="#doctools_tocright">limiting input</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/observe.html">tcl::transform::observe</a></td> <td class="#doctools_tocright">Observer transformation, stream copy</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/vt_otp.html">tcl::transform::otp</a></td> <td class="#doctools_tocright">Encryption via one-time pad</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/rot.html">tcl::transform::rot</a></td> <td class="#doctools_tocright">rot-encryption</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/spacer.html">tcl::transform::spacer</a></td> <td class="#doctools_tocright">Space insertation and removal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/virtchannel_transform/tcllib_zlib.html">tcl::transform::zlib</a></td> <td class="#doctools_tocright">zlib (de)compression</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/des/tcldes.html">tclDES</a></td> <td class="#doctools_tocright">Implementation of the DES and triple-DES ciphers</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/des/tcldesjr.html">tclDESjr</a></td> <td class="#doctools_tocright">Implementation of the DES and triple-DES ciphers</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/apps/tcldocstrip.html">tcldocstrip</a></td> <td class="#doctools_tocright">Tcl-based Docstrip Processor</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/math/machineparameters.html">tclrep/machineparameters</a></td> <td class="#doctools_tocright">Compute double precision machine parameters.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_introduction.html">tepam</a></td> <td class="#doctools_tocright">An introduction into TEPAM, Tcl's Enhanced Procedure and Argument Manager</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_argument_dialogbox.html">tepam::argument_dialogbox</a></td> <td class="#doctools_tocright">TEPAM argument_dialogbox, reference manual</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_doc_gen.html">tepam::doc_gen</a></td> <td class="#doctools_tocright">TEPAM DOC Generation, reference manual</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tepam/tepam_procedure.html">tepam::procedure</a></td> <td class="#doctools_tocright">TEPAM procedure, reference manual</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/term.html">term</a></td> <td class="#doctools_tocright">General terminal control</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_code.html">term::ansi::code</a></td> <td class="#doctools_tocright">Helper for control sequences</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_cattr.html">term::ansi::code::attr</a></td> <td class="#doctools_tocright">ANSI attribute sequences</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_cctrl.html">term::ansi::code::ctrl</a></td> <td class="#doctools_tocright">ANSI control sequences</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_cmacros.html">term::ansi::code::macros</a></td> <td class="#doctools_tocright">Macro sequences</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_ctrlu.html">term::ansi::ctrl::unix</a></td> <td class="#doctools_tocright">Control operations and queries</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ansi_send.html">term::ansi::send</a></td> <td class="#doctools_tocright">Output of ANSI control sequences to terminals</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/imenu.html">term::interact::menu</a></td> <td class="#doctools_tocright">Terminal widget, menu</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/ipager.html">term::interact::pager</a></td> <td class="#doctools_tocright">Terminal widget, paging</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/receive.html">term::receive</a></td> <td class="#doctools_tocright">General input from terminals</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/term/term_bind.html">term::receive::bind</a></td> <td class="#doctools_tocright">Keyboard dispatch from terminals</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/term/term_send.html">term::send</a></td> <td class="#doctools_tocright">General output to terminals</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/textutil.html">textutil</a></td> <td class="#doctools_tocright">Procedures to manipulate texts and strings.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/adjust.html">textutil::adjust</a></td> <td class="#doctools_tocright">Procedures to adjust, indent, and undent paragraphs</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/expander.html">textutil::expander</a></td> <td class="#doctools_tocright">Procedures to process templates and expand text.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/repeat.html">textutil::repeat</a></td> <td class="#doctools_tocright">Procedures to repeat strings.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/textutil_split.html">textutil::split</a></td> <td class="#doctools_tocright">Procedures to split texts</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/textutil_string.html">textutil::string</a></td> <td class="#doctools_tocright">Procedures to manipulate texts and strings.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/tabify.html">textutil::tabify</a></td> <td class="#doctools_tocright">Procedures to (un)tabify strings</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/textutil/trim.html">textutil::trim</a></td> <td class="#doctools_tocright">Procedures to trim strings</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tie/tie_std.html">tie</a></td> <td class="#doctools_tocright">Array persistence, standard data sources</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tie/tie.html">tie</a></td> <td class="#doctools_tocright">Array persistence</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tiff/tiff.html">tiff</a></td> <td class="#doctools_tocright">TIFF reading, writing, and querying and manipulation of meta data</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/tool/tool.html">tool</a></td> <td class="#doctools_tocright">Dictionary Tools</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/tool/tool_dict_ensemble.html">tool::dict_ensemble</a></td> <td class="#doctools_tocright">Dictionary Tools</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/connect.html">transfer::connect</a></td> <td class="#doctools_tocright">Connection setup</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/copyops.html">transfer::copy</a></td> <td class="#doctools_tocright">Data transfer foundation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/tqueue.html">transfer::copy::queue</a></td> <td class="#doctools_tocright">Queued transfers</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/ddest.html">transfer::data::destination</a></td> <td class="#doctools_tocright">Data destination</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/dsource.html">transfer::data::source</a></td> <td class="#doctools_tocright">Data source</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/receiver.html">transfer::receiver</a></td> <td class="#doctools_tocright">Data source</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/transfer/transmitter.html">transfer::transmitter</a></td> <td class="#doctools_tocright">Data source</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/treeql/treeql.html">treeql</a></td> <td class="#doctools_tocright">Query tree objects</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="files/modules/uev/uevent_onidle.html">uevent::onidle</a></td> <td class="#doctools_tocright">Request merging and deferal to idle time</td> |
︙ | ︙ |
Changes to idoc/www/toc.html.
︙ | ︙ | |||
970 971 972 973 974 975 976 977 978 979 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> | > > > > | | | 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/urn-scheme.html">uri_urn</a></td> <td class="#doctools_tocright">URI utilities, URN scheme</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/websocket/websocket.html">websocket</a></td> <td class="#doctools_tocright">Tcl implementation of the websocket protocol</td> </tr> </table></dl> <dl><dt>Page Parser Generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
1242 1243 1244 1245 1246 1247 1248 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > | < < < < | | | | | | | | | | | | | | | | | | | | | 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multi.html">fileutil::multi</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather, standard object</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multiop.html">fileutil::multi::op</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/traverse.html">fileutil_traverse</a></td> <td class="#doctools_tocright">Iterative directory traversal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/hook/hook.html">hook</a></td> <td class="#doctools_tocright">Hooks</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/interp/tcllib_interp.html">interp</a></td> <td class="#doctools_tocright">Interp creation and aliasing</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/log.html">log</a></td> <td class="#doctools_tocright">Procedures to log messages of libraries and applications.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/logger.html">logger</a></td> <td class="#doctools_tocright">System to control logging of events.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerAppender.html">logger::appender</a></td> <td class="#doctools_tocright">Collection of predefined appenders for logger</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerUtils.html">logger::utils</a></td> <td class="#doctools_tocright">Utilities for logger</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/multiplexer/multiplexer.html">multiplexer</a></td> <td class="#doctools_tocright">One-to-many communication with sockets.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/pluginmgr/pluginmgr.html">pluginmgr</a></td> <td class="#doctools_tocright">Manage a plugin</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/profiler/profiler.html">profiler</a></td> <td class="#doctools_tocright">Tcl source code profiler</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snit.html">snit</a></td> <td class="#doctools_tocright">Snit's Not Incr Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snitfaq.html">snitfaq</a></td> <td class="#doctools_tocright">Snit Frequently Asked Questions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/stooop.html">stooop</a></td> <td class="#doctools_tocright">Object oriented extension.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/switched.html">switched</a></td> <td class="#doctools_tocright">switch/option management.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie.html">tie</a></td> <td class="#doctools_tocright">Array persistence</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie_std.html">tie</a></td> <td class="#doctools_tocright">Array persistence, standard data sources</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/wip/wip.html">wip</a></td> <td class="#doctools_tocright">Word Interpreter</td> </tr> </table></dl> <dl><dt>System<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
2412 2413 2414 2415 2416 2417 2418 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > | < < < < | 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> </table></dl> <dl><dt>generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> | > > > > > > > | 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>udpcluster<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> |
︙ | ︙ |
Changes to idoc/www/toc0.html.
︙ | ︙ | |||
970 971 972 973 974 975 976 977 978 979 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> | > > > > | | | 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 | <td class="#doctools_tocright">Tcl SMTP server implementation</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/dns/tcllib_ip.html">tcllib_ip</a></td> <td class="#doctools_tocright">IPv4 and IPv6 address manipulation</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/uri.html">uri</a></td> <td class="#doctools_tocright">URI utilities</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uri/urn-scheme.html">uri_urn</a></td> <td class="#doctools_tocright">URI utilities, URN scheme</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/websocket/websocket.html">websocket</a></td> <td class="#doctools_tocright">Tcl implementation of the websocket protocol</td> </tr> </table></dl> <dl><dt>Page Parser Generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
1242 1243 1244 1245 1246 1247 1248 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > | < < < < | | | | | | | | | | | | | | | | | | | | | 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multi.html">fileutil::multi</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather, standard object</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/multiop.html">fileutil::multi::op</a></td> <td class="#doctools_tocright">Multi-file operation, scatter/gather</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fileutil/traverse.html">fileutil_traverse</a></td> <td class="#doctools_tocright">Iterative directory traversal</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/hook/hook.html">hook</a></td> <td class="#doctools_tocright">Hooks</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/interp/tcllib_interp.html">interp</a></td> <td class="#doctools_tocright">Interp creation and aliasing</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/log.html">log</a></td> <td class="#doctools_tocright">Procedures to log messages of libraries and applications.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/logger.html">logger</a></td> <td class="#doctools_tocright">System to control logging of events.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerAppender.html">logger::appender</a></td> <td class="#doctools_tocright">Collection of predefined appenders for logger</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/log/loggerUtils.html">logger::utils</a></td> <td class="#doctools_tocright">Utilities for logger</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/multiplexer/multiplexer.html">multiplexer</a></td> <td class="#doctools_tocright">One-to-many communication with sockets.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/pluginmgr/pluginmgr.html">pluginmgr</a></td> <td class="#doctools_tocright">Manage a plugin</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/profiler/profiler.html">profiler</a></td> <td class="#doctools_tocright">Tcl source code profiler</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snit.html">snit</a></td> <td class="#doctools_tocright">Snit's Not Incr Tcl</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/snit/snitfaq.html">snitfaq</a></td> <td class="#doctools_tocright">Snit Frequently Asked Questions</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/stooop.html">stooop</a></td> <td class="#doctools_tocright">Object oriented extension.</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/stooop/switched.html">switched</a></td> <td class="#doctools_tocright">switch/option management.</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie.html">tie</a></td> <td class="#doctools_tocright">Array persistence</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/tie/tie_std.html">tie</a></td> <td class="#doctools_tocright">Array persistence, standard data sources</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/wip/wip.html">wip</a></td> <td class="#doctools_tocright">Word Interpreter</td> </tr> </table></dl> <dl><dt>System<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ |
Changes to idoc/www/toc1.html.
︙ | ︙ | |||
607 608 609 610 611 612 613 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > | < < < < | 607 608 609 610 611 612 613 614 615 616 617 618 619 620 | <td class="#doctools_tocright">Generator core for compiler of magic(5) files</td> </tr> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/filetypes.html">fileutil::magic::filetype</a></td> <td class="#doctools_tocright">Procedures implementing file-type recognition</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/fumagic/rtcore.html">fileutil::magic::rt</a></td> <td class="#doctools_tocright">Runtime core for file type recognition engines written in pure Tcl</td> </tr> </table></dl> <dl><dt>generator<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > |
︙ | ︙ | |||
1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> | > > > > > > > | 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 | <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_throw.html">throw</a></td> <td class="#doctools_tocright">throw - Throw an error exception with a message</td> </tr> <tr class="#doctools_tocodd" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/try/tcllib_try.html">try</a></td> <td class="#doctools_tocright">try - Trap and process errors and exceptions</td> </tr> </table></dl> <dl><dt>udpcluster<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/udpcluster/udpcluster.html">udpcluster</a></td> <td class="#doctools_tocright">UDP Peer-to-Peer cluster</td> </tr> </table></dl> <dl><dt>uev<dd> <table class="#doctools_toc"> <tr class="#doctools_toceven" > <td class="#doctools_tocleft" ><a href="tcllib/files/modules/uev/uevent.html">uevent</a></td> <td class="#doctools_tocright">User events</td> </tr> |
︙ | ︙ |
Changes to modules/fumagic/cfront.tcl.
1 2 3 4 5 6 7 8 9 10 11 12 | # cfront.tcl -- # # Generator frontend for compiler of magic(5) files into recognizers # based on the 'rtcore'. Parses magic(5) into a basic 'script'. # # Copyright (c) 2004-2005 Colin McCormack <[email protected]> # Copyright (c) 2005 Andreas Kupries <[email protected]> # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # RCS: @(#) $Id: cfront.tcl,v 1.7 2008/03/22 01:10:32 andreas_kupries Exp $ | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # cfront.tcl -- # # Generator frontend for compiler of magic(5) files into recognizers # based on the 'rtcore'. Parses magic(5) into a basic 'script'. # # Copyright (c) 2016 Poor Yorick <[email protected]> # Copyright (c) 2004-2005 Colin McCormack <[email protected]> # Copyright (c) 2005 Andreas Kupries <[email protected]> # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # RCS: @(#) $Id: cfront.tcl,v 1.7 2008/03/22 01:10:32 andreas_kupries Exp $ |
︙ | ︙ | |||
27 28 29 30 31 32 33 34 | package require Tcl 8.4 # file to compile the magic file from magic(5) into a tcl program package require fileutil ; # File processing (input) package require fileutil::magic::cgen ; # Code generator. package require fileutil::magic::rt ; # Runtime (typemap) package require struct::list ; # lrepeat. | > | > > | > > > > > > > > > > > > > > | > > > > | > > > > | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | > > > > | | > > > > > > > > > > > > > > > > > > > > > | < < < < < | | < < | < < | < | | | | < < | | < < < | > | < | | | > > > | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | > > > > | > > > > > | < < > > > > > > > > | > > > > > > > | > > | | | > | | | | < < | < < < < < < < | | < < | | < < | < | < | < > > | | | < | < | | < < | < < | < < | < | < < < | < < | < < < < | | < < | < < | | < < < | | | < < < < < < | < < | < < | < < | < | | | | < | > > > | < < < < < < < < | < < < < | < < < < < | | < < | < < < < < < < < | | | < < | < < | < < < < < < < | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | | | | < < | | | < | < < < | | > > | | < > > | | | | | | | > | < < | | > > > > > > > > > > > | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 | package require Tcl 8.4 # file to compile the magic file from magic(5) into a tcl program package require fileutil ; # File processing (input) package require fileutil::magic::cgen ; # Code generator. package require fileutil::magic::rt ; # Runtime (typemap) package require struct::list ; # lrepeat. package require struct::tree ; # package provide fileutil::magic::cfront 1.2 # ### ### ### ######### ######### ######### ## Implementation namespace eval ::fileutil::magic::cfront { # Configuration flag. (De)activate debugging output. # This is done during initialization. # Changes at runtime have no effect. variable debug 0 # Make backend functionality accessible namespace import ::fileutil::magic::cgen namespace export compile generate install variable floattestops {= < > !} variable inttestops {= < > & ^ ~ !} variable stringtestops { > < = !} variable offsetopts {& | ^ + - * / %} variable stringmodifiers {W w c C t b T} variable typemodifiers [dict create \ indirect r \ search $stringmodifiers \ string $stringmodifiers \ pstring [list {*}$stringmodifiers B H h L l J] \ regex {c s l} \ ] set numeric_modifier_allowed {regex search} variable types_numeric_short { dC byte d1 byte C byte 1 byte ds short d2 short S short 2 short dI long dL long d4 long I long L long 4 long d8 quad 8 quad dQ quad Q quad } variable types_numeric_re [join [list {*}[ array names ::fileutil::magic::rt::typemap] {*}[ dict keys $types_numeric_short]] |] variable types_string_short [dict create s string] variable types_string { bestring clear default indirect lestring pstring regex search string } variable types_string_re [join [list {*}[ dict keys $types_string_short] {*}$types_string] |] variable types_verbatim {name use} variable types_notimplemented {} variable types_notimplemented_re [join $types_notimplemented |] variable types_numeric_real { float double befloat bedouble lefloat ledouble } variable indir_typemap [dict create \ b byte c byte e ledouble f ledouble g ledouble i leid3 h leshort \ s leshort l lelong B byte C byte E bedouble F bedouble G bedouble \ H beshort I beid3 L belong m ME S beshort] } proc ::fileutil::magic::cfront::advance {len args} { upvar node node tree tree if {[llength args]} { upvar [lindex $args 0] res } set res {} set line [$tree get $node line] set cursor [$tree get $node cursor] if {[string index $len 0] eq {w}} { regexp -start $cursor {\A(\s*)} $line match res incr cursor [string length $match] set len [string range $len 1 end] } if {$len ne {}} { if {[regexp -start $cursor "\\A(.{[ scan $len %lld]})" $line match res]} { incr cursor [string length $match] } } set line [$tree get $node line] $tree set $node cursor $cursor return $res } proc ::fileutil::magic::cfront::rewind len { upvar node node tree tree set cursor [$tree get $node cursor] incr cursor -$len $tree set $node cursor $cursor } proc ::fileutil::magic::cfront::parseerror args { upvar node node tree tree set cursor [$tree get $node cursor] set line [$tree get $node line] set files [$tree get root files] set file [lindex files [$tree get $node file]] return -code error -errorcode [list fumagic {parse error}] [ list [lmap arg $args {string trim $arg}] \ file $file \ linenenum [$tree get $node linenum] \ cursor $cursor \ line [list \ [string range $line 0 ${cursor}-1] \ [string range $line $cursor end]]] } proc ::fileutil::magic::cfront::parsewarning args { upvar node node tree tree catch {parseerror {*}$args} res options puts stderr [dict get $options -errorinfo] } # parse an individual line variable ::fileutil::magic::cfront::parsedkeys { } proc ::fileutil::magic::cfront::parseline {tree node} { variable parsedkeys set line [$tree get $node line] $tree set $node cursor 0 parseoffset $tree $node parsetype $tree $node parsetest $tree $node parsemsg $tree $node set record [$tree getall $node] foreach key $parsedkeys { if {![dict exists $record $key]} { return -code error [list {missing key} $key] } } ::fileutil::magic::cfront::Debug { puts [list parsed $record] } } proc ::fileutil::magic::cfront::parsefloat {tree node} { set line [$tree get $node line] set cursor [$tree get $node cursor] # If only [scan] had a @ conversion character like [binary scan] set line2 [string range $line $cursor end] if {[scan $line2 %e%n num count] < 0} { parseerror {invalid floating point number} } set cursor [expr {$cursor + $count}] $tree set $node cursor $cursor # These suffixes are not used in magic files #if {[regexp -start $cursor {\A([fFlL)} -> modifier]} { # advance [string length $modifier]] #} return $num } proc ::fileutil::magic::cfront::parseint {tree node} { set line [$tree get $node line] set cursor [$tree get $node cursor] # If only [scan] had a @ conversion character like [binary scan] set line2 [string range $line $cursor end] if {[set scanres [scan $line2 %lli%n num n]] < 1} { parseerror {invalid number} } set cursor [expr {$cursor + $n}] $tree set $node cursor $cursor # Thse suffixes are not used in magic files #if {[regexp -start $cursor {\A([uU]?[lL]{1,2})} -> modifier]} { # advance [string length $modifier]] #} return $num } proc ::fileutil::magic::cfront::parsetype {tree node} { variable types_numeric_re variable types_numeric_short variable types_string_re variable types_string_short variable types_notimplemented_re set line [$tree get $node line] set cursor [$tree get $node cursor] $tree set $node mod {} $tree set $node mand {} set num_or_string { } if {[regexp -start $cursor {\A\s*(\w+)} $line match type]} { advance [string length $match] switch -regexp -matchvar match $type \ ^(u?)($types_numeric_re)$ - ^(u?)($types_string_re)$ { lassign $match -> sgn type # {to do} {Current design doesn't use sign, right? Is it # really not needed?} $tree set $node sgn [dict get {{} 1 u 0} $sgn] if {[regexp ^($types_numeric_re)$ $type]} { if {[dict exists $types_numeric_short $type]} { set type [dict get $types_numeric_short $type] } $tree set $node type $type parsetypenummod $tree $node } else { if {[dict exists $types_string_short $type]} { set type [dict get $types_string_short $type] } $tree set $node type $type # No modifying operator for strings parsetypemod $tree $node if {$type eq {search} && [$tree get $node mand] eq {}} { parseerror {search has no number} } } } \ ^(name|use)$ { $tree set $node type [lindex $match end] } \ $types_notimplemented_re { parseerror {type not implemented} } \ default { parseerror {unknown type} } } else { parseerror {no type} } } proc ::fileutil::magic::cfront::parsetypemod {tree node} { # For numeric types , $mod is a list of modifiers and $mand is either a # number or the empty strinng . variable typemodifiers variable numeric_modifier_allowed set type [$tree get $node type] if {[advance 1 char] ne {/}} { rewind 1 return } set res [dict create] while 1 { if {[advance 1 char] eq {/}} { continue } if {[string is space $char]} { break } if {[dict exists $typemodifiers $type] && $char in [dict get $typemodifiers $type]} { dict set res $char {} } elseif {$type in $numeric_modifier_allowed} { rewind 1 if {[catch {parseint $tree $node} mand]} { # Whatever it is, it isn't a number. Let the next parsing step # handle it . break } else { $tree set $node mand $mand ; # numeric modifier } } else { parseerror {bad modifier} } } $tree set $node mod [dict keys $res] } proc ::fileutil::magic::cfront::parsetypenummod {tree node} { # For numeric types, $mod is an operator and $mand is a number set line [$tree get $node line] set cursor [$tree get $node cursor] if {[regexp -start $cursor {\A([-&|^+*/%])} \ $line match mod]} { advance [string length $match] $tree set $node mod $mod # {to do} {parse floats?} $tree set $node mand [parseint $tree $node] ; # mod operand } else { $tree set $node mod {} $tree set $node mand {} } } proc ::fileutil::magic::cfront::parsestringval {tree node} { variable floattestops variable inttestops variable stringtestops advance w1 char set val {} set line [$tree get $node line] while 1 { # break on whitespace or empty string if {[string is space $char] || $char eq {}} break switch $char [dict create \ \\ { advance 1 char if {[string is space $char]} { append val \\$char } else { # extra backslashes because of interaction with glob switch -glob $char [dict create \ {\\} { append val {\\} } \t { parsewarning {use \t instead of \<tab>} append val \\t } > - < - & - ^ - = - ! - ( - ) - . { if {$char in [list {*}$stringtestops \ {*}$floattestops {*}$inttestops]} { parsewarning {no need to escape operators} } append val $char } a - b - f - n - r - t - v { append val \\$char } x { set cursor [$tree get $node cursor] if {[regexp -start $cursor \ {\A([0-9A-Fa-f]{1,2})} $line match char2]} { advance [string length $match] append val \\x$char2 } else { parseerror {malformed \x escape sequence} } } \[0-7\] { set cursor [$tree get $node cursor] append val \\$char if {[regexp -start $cursor \ {\A([0-7]{1,2})} $line match char2]} { advance [string length $match] append val $char2 } } default { parseerror {Could not handle escape sequence in value} } ] } } default { if {[string is space $char] || $char in [ list \# \{ \} \[ \] \" \$ \; \n]} { append val \\ } append val $char } ] advance 1 char } $tree set $node val $val } proc ::fileutil::magic::cfront::parsetestverbatim {tree node} { switch [$tree get $node type] { name { $tree set $node rel 1 } use { set cursor [$tree get $node cursor] # order matters in regular expression : longest match must come # first in parenthesized if {[regexp -start $cursor {\A\s*(?:\\\^|\^)} [$tree get $node line] match]} { advance [string length $match] $tree set $node iendian 1 } else { $tree set $node iendian 0 } } } parsestringval $tree $node } proc ::fileutil::magic::cfront::parsetest {tree node} { variable floattestops variable inttestops variable stringtestops variable types_numeric_real variable types_numeric_short variable types_string variable types_verbatim set type [$tree get $node type] if {$type in $types_verbatim} { parsetestverbatim $tree $node return } $tree set $node compinvert 0 set testinvert 0 set comp == advance w1 char if {$char eq {x}} { advance 1 char if {[string is space $char]} { $tree set $node testinvert 0 $tree set $node comp x $tree set $node val {} return } else { rewind 1 } } if {$type in $types_string} { while 1 { if {$char in $stringtestops} { if {$char eq {!}} { set testinvert 1 } else { set comp $char # Exclamation must precede any normal operator break } advance w1 char } else { rewind 1 break } } parsestringval $tree $node } elseif {$type in [list {*}[ array names ::fileutil::magic::rt::typemap] {*}[ dict keys $types_numeric_short]]} { if {$type in $types_numeric_real} { set ops $floattestops set parsecmd parsefloat } else { set ops $inttestops set parsecmd parseint } while 1 { if {$char in $ops} { if {$char eq {~}} { $tree set $node compinvert 1 } elseif {$char eq {!}} { set testinvert 1 } else { set comp $char # Exclamation and tilde must precede any normal operator break } advance w1 char } else { rewind 1 break } } $tree set $node val [$parsecmd $tree $node] } else { parseerror {don't know how to parse the test or this type} } switch $comp { = { set comp == } } # This facilitates Switch creation by [treegen1] if {$testinvert && ($comp eq {==})} { set comp != set testinvert 0 } $tree set $node testinvert $testinvert $tree set $node comp $comp } proc ::fileutil::magic::cfront::parseoffset {tree node} { # Offset parser. # Syntax: # ( ?&? number ?.[bslBSL]? ?[+-]? ?number? ) # This was all fine and dandy, but didn't do spaces where spaces might # exist between lexical elements in the wild, and ididn't do offset # operators #set n {([-+]?[0-9]+|[-+]?0x[0-9A-Fa-f]+)[UL]*} ##"\\((&?)(${n})((\\.\[bslBSL])?)()(\[+-]?)(${n}?)\\)" #set o \ # "^(&?)${n}((?:\\.\[bslBSL])?)(?:(\[-+*/%&|^])${n})?(?:(\[+-])(\\()?${n}\\)?)?$" ## | | | | | | | | ## 1 2 3 4 5 6 7 8 ## 1 2 3 4 5 6 7 8 #set ok [regexp $o $offset -> irel base type iop ioperand sign ind idx] variable offsetopts variable indir_typemap $tree set $node rel 0 ; # relative $tree set $node ind 0 ; # indirect $tree set $node ir 0 ; # indirect relative $tree set $node it {} ; # indir_type $tree set $node ioi 0 ; # indirect offset invert $tree set $node iir 0 ; # indirect indirect relative $tree set $node ioo 0 ; # indirect_offset_op $tree set $node io 0 ; # indirect offset advance w1 char if {$char eq {&}} { advance w1 char $tree set $node rel 1 } if {$char eq {(}} { $tree set $node ind 1 if {[advance w1] eq {&}} { $tree set $node ir 1 } else { rewind 1 } $tree set $node o [parseint $tree $node] # $char is used below if it's not "." if {[advance w1 char] eq {.}} { advance w1 it if {[dict exists $indir_typemap $it]} { set it [ dict get $indir_typemap $it] } else { parseerror {bad indirect offset type} } advance w1 char } else { set it long } $tree set $node it $it # The C implementation does this, so we will , too . if {$char eq {~}} { advance w1 char $tree set $node ioi 1 } if {$char in $offsetopts} { $tree set $node ioo $char if {[advance w1] in {(}} { $tree set $node iir 1 } else { rewind 1 } $tree set $node io [parseint $tree $node] if {[$tree get $node iir]} { if {[advance w1] ne {)}} { parseerror { expected closing parenthesis for indirect indirect offset offset } } } advance w1 char } if {$char ne {)}} { parseerror { expected close parenthesis for indirect offset } } } else { rewind 1 $tree set $node o [parseint $tree $node] } } proc ::fileutil::magic::cfront::parseoffsetmod {tree node} { advance w1 char if {$char eq {~}} { $tree set $node offset_invert 1 advance w1 char } else { $tree set $node offset_invert 0 } switch $char { + - - - * - / - % - & - | - ^ { $tree set $node offset_mod_op $char $tree set $node offset_mod [parseint $tree $node] } default { $tree set $node offset_mod_op {} $tree set $node offset_mod {} rewind 1 # no offset modifier } } } proc ::fileutil::magic::cfront::parsemsg {tree node} { advance w set line [$tree get $node line] set cursor [$tree get $node cursor] ##leave \b in the message for [emit] to parse #regexp -start $cursor {\A(\b|\\b)?(.*)$} $line match b line #if {$b ne {}} { # $tree set $node space 0 #} else { # $tree set $node space 1 #} set line [string range $line $cursor end] $tree set $node desc $line } # process a magic file proc ::fileutil::magic::cfront::process {tree file {maxlevel 10000}} { variable level ;# level of line variable linenum ;# line number set level 0 set linenum 0 set records {} set rejected 0 set script {} if {[$tree keyexists root files]} { set files [$tree get root files] } else { set files {} } set fileidx [llength $files] if {$file in $files} { return -code error [list {already processed file} $file] } lappend files $file $tree set root files $files $tree set root level -1 set node root ::fileutil::foreachLine line $file { incr linenum # Only trim the left side . White space on the the right side could be # part of an escape sequence , and trimming would munge it . set line [string trimleft $line] if {[string index $line 0] eq {#}} { continue ;# skip comments } elseif {$line eq {}} { continue ;# skip blank lines } else { # parse line if {[regexp {!:(\S+)\s*(.*)$} $line -> extname extdata]} { if {$rejected} { continue } if {$node eq {root}} { return -code error [list {malformed magic file}] } $tree set $node ext_$extname $extdata } else { # calculate the line's level set unlevel [string trimleft $line >] set level [expr {[string length $line] - [string length $unlevel]}] set line $unlevel if {$level > $maxlevel} { return -code continue "Skip - too high a level" } if {$level > 0} { if {$rejected} { continue } while {[$tree keyexists $node level] && [$tree get $node level] >= $level} { set node [$tree parent $node] } if {$level > [$tree get $node level]+1} { return -code error [ list {level more than one greater than parent level} \ file $file linenum $linenum line $line] } set node [$tree insert $node end] } else { set rejected 0 set node [$tree insert root end] set node0 $node } $tree set $node file $fileidx $tree set $node line $line $tree set $node linenum $linenum $tree set $node level $level if {[catch {parseline $tree $node} cres copts]} { set errorcode [dict get $copts -errorcode] if {[lindex $errorcode 0] eq {fumagic} && [ lindex $errorcode 1] eq {parse error}} { $tree delete $node0 set rejected 1 puts stderr [list Rejected {bad parse}] puts stderr [dict get $copts -errorinfo] continue ;# skip erroring lines } else { return -options $copts $cres } } } } # collect some summaries ::fileutil::magic::cfront::Debug { variable types set types($type) [$tree get $node type] variable quals set quals($qual) [$tree get $node qual] } #puts $linenum level:$level offset:$offset type:$type #puts qual:$qual compare:$compare val:'$val' desc:'$desc' } } # compile up magic files or directories of magic files into a single recognizer. proc ::fileutil::magic::cfront::compile {args} { set tree [tree] foreach arg $args { if {[file type $arg] eq {directory}} { foreach file [glob [file join $arg *]] { process $tree $file } #append tcl "magic::file_start $file" \n #append tcl [run $script1] \n } else { set file $arg process $tree $file #append tcl "magic::file_start $file" \n #append tcl [run $script1] \n } } #puts stderr $script ::fileutil::magic::cfront::Debug {puts "\# $args"} # Historically, this command converted the output of [process] , which was # a list , into a tree . Now it post-processes the tree . cgen 2tree $tree set tests [cgen treegen $tree root] set named [$tree get root named] ::fileutil::magic::cfront::Debug {puts [treedump $t]} #set tcl [run $script] return [list $named $tests] } proc ::fileutil::magic::cfront::generate {namespace args} { set pspace [namespace qualifiers $namespace] if {$pspace eq ""} { return -code error "Cannot generate recognizer in the global namespace" } lassign [compile {*}$args] named tests set script "namespace eval [list $namespace] { variable named [list $named] variable tests [list $tests] }" return $script } proc ::fileutil::magic::cfront::install {args} { foreach arg $args { set path [file tail $arg] eval [generate ::fileutil::magic::/$path $arg] } return } proc ::fileutil::magic::cfront::tree {} { set tree [::struct::tree] $tree set root path "" $tree set root otype Root $tree set root type root $tree set root named {} $tree set root message "unknown" return $tree } # ### ### ### ######### ######### ######### ## Internal, debugging. if {!$::fileutil::magic::cfront::debug} { # This procedure definition is optimized out of using code by the # core bcc. It knows that neither argument checks are required, |
︙ | ︙ |
Changes to modules/fumagic/cgen.tcl.
1 2 3 4 5 6 7 8 9 10 11 12 | # cgen.tcl -- # # Generator core for compiler of magic(5) files into recognizers # based on the 'rtcore'. # # Copyright (c) 2004-2005 Colin McCormack <[email protected]> # Copyright (c) 2005 Andreas Kupries <[email protected]> # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # RCS: @(#) $Id: cgen.tcl,v 1.7 2007/06/23 03:39:34 andreas_kupries Exp $ | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # cgen.tcl -- # # Generator core for compiler of magic(5) files into recognizers # based on the 'rtcore'. # # Copyright (c) 2016 Poor Yorick <[email protected]> # Copyright (c) 2004-2005 Colin McCormack <[email protected]> # Copyright (c) 2005 Andreas Kupries <[email protected]> # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # RCS: @(#) $Id: cgen.tcl,v 1.7 2007/06/23 03:39:34 andreas_kupries Exp $ |
︙ | ︙ | |||
20 21 22 23 24 25 26 | # Wiki page last updated: ??? # ##### # ### ### ### ######### ######### ######### ## Requirements | | < | > > > > > | < | < < < < < | > > > > | < < | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | # Wiki page last updated: ??? # ##### # ### ### ### ######### ######### ######### ## Requirements package require Tcl 8.6 package require fileutil::magic::rt ; # Runtime core, for Access to the typemap package require struct::list ; # Our data structures. package provide fileutil::magic::cgen 1.2 # ### ### ### ######### ######### ######### ## Implementation namespace eval ::fileutil::magic { namespace export * } namespace eval ::fileutil::magic::cgen { namespace ensemble create namespace export * # Import the runtime typemap into our scope. variable ::fileutil::magic::rt::typemap # The tree most operations use for their work. variable tree {} # Generator data structure. variable regions # Export the API namespace export 2tree treedump treegen # Assumption : the parser folds the test inversion operator into equality and # inequality operators . variable offsetskey { type o rel ind ir it ioi ioo iir io compinvert mod mand } } # Optimisations: # reorder tests according to expected or observed frequency this # conflicts with reduction in strength optimisations. |
︙ | ︙ | |||
87 88 89 90 91 92 93 | # - String tests at same level over overlapping ranges can be # written as sub-string comparisons over the maximum range # this saves re-reading the same string from file. # # - common prefix strings will have to be guarded against, by # sorting string values, then sorting the tests in reverse length order. | < | > > > > > > > > > > > > < < < < > > | > > | | > > | > | > < < < < < < < < < | < | | | < < | < < < < < < < < < < < < < < < < | < < | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | # - String tests at same level over overlapping ranges can be # written as sub-string comparisons over the maximum range # this saves re-reading the same string from file. # # - common prefix strings will have to be guarded against, by # sorting string values, then sorting the tests in reverse length order. proc ::fileutil::magic::cgen::path {tree} { # Annotates the tree. In each node we store the path from the root # to this node, as list of nodes, with the current node the last # element. The root node is never stored in the path. $tree set root path {} foreach child [$tree children root] { $tree walk $child -type dfs node { set path [$tree get [$tree parent $node] path] lappend path [$tree index $node] $tree set $node path $path } } return } proc ::fileutil::magic::cgen::tree_el {tree node} { set parent [$tree parent $node] if {[$tree keyexists $parent path]} { set path [$tree get $parent path] } else { set path {} } lappend path [$tree index $node] $tree set $node path $path foreach name {type} { set $name [$tree get $node $name] } # Recursively creates and annotates a node for the specified # tests, and its sub-tests (args). # generate a proc call type for the type, Numeric or String variable ::fileutil::magic::rt::typemap switch -glob -- $type { *byte* - *double* - *short* - *long* - *quad* - *date* { $tree set $node otype N } clear - default - search - regex - *string* { $tree set $node otype S } name { $tree set $node otype A } use { $tree set $node otype U } default { puts stderr "Unknown type: '$type'" $tree set $node otype Unknown } } # Stores the type determined above, and the arguments into # attributes of the new node. # now add children foreach el [$tree children $node] { tree_el $tree $el } return } proc ::fileutil::magic::cgen::2tree {tree} { foreach child [$tree children root] { tree_el $tree $child } optNum $tree root #optStr $tree root puts stderr "Script contains [llength [$tree children root]] discriminators" path $tree # Decoding the offsets, determination if we have to handle |
︙ | ︙ | |||
248 249 250 251 252 253 254 | foreach el $strings { #if {[$tree get $el otype] eq "String"} {puts "[$tree getall $el] - [string length [$tree get $el val]]"} if {[$tree get $el comp] eq "x"} { continue } | | | > | > > > > | | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | foreach el $strings { #if {[$tree get $el otype] eq "String"} {puts "[$tree getall $el] - [string length [$tree get $el val]]"} if {[$tree get $el comp] eq "x"} { continue } set o [$tree get $el o] set len [string length [$tree get $el val]] lappend regions([list $o $len]) $el } } proc ::fileutil::magic::cgen::isNum {tree node} { return [expr {"N" eq [$tree get $node otype]}] } proc ::fileutil::magic::cgen::switchNSort {tree n1 n2} { return [expr {[$tree get $n1 val] - [$tree get $n1 val]}] } proc ::fileutil::magic::cgen::optNum {tree node} { variable offsetskey array set offsets {} # traverse each numeric element of this node's children, # categorising them set kids [$tree children $node] foreach child $kids { optNum $tree $child } set numerics [$tree children $node filter ::fileutil::magic::cgen::isNum] #puts stderr "optNum: $node: $numerics" if {[llength $numerics] < 2} { return } foreach el $numerics { if {[$tree get $el comp] ne {==}} { continue } set key {} foreach name $offsetskey { lappend key [$tree get $el $name] } lappend offsets([join $key ,]) $el } #puts "Offset: stderr [array get offsets]" foreach {match nodes} [array get offsets] { if {[llength $nodes] < 2} { continue } |
︙ | ︙ | |||
305 306 307 308 309 310 311 | puts stderr "* clashes with <[$tree getall $matcher($nv)]>" puts stderr "*=====================================" } else { set matcher($nv) $n } } | | | | | < > > > > > > > | > | > | < | < < < < < < | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | | | > | < < | < < < < < < < < < | | > | < | < < | < | | < < | | < | | < < | < < | | | | | | 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 | puts stderr "* clashes with <[$tree getall $matcher($nv)]>" puts stderr "*=====================================" } else { set matcher($nv) $n } } foreach $offsetskey [split $match ,] break set switch [$tree insert $node [$tree index [lindex $nodes 0]]] $tree set $switch otype Switch $tree set $switch desc $match foreach name $offsetskey { $tree set $switch $name [set $name] } set nodes [lsort -command [list ::fileutil::magic::cgen::switchNSort $tree] $nodes] eval [linsert $nodes 0 $tree move $switch end] # 8.5 # $tree move $switch end {*}$nodes set path [$tree get [$tree parent $switch] path] lappend path [$tree index $switch] $tree set $switch path $path set level [$tree get [$tree parent $switch] level] $tree set $switch level [expr {$level+1}] } } proc ::fileutil::magic::cgen::Offsets {tree} { # Indicator if a node has to save field location information for # relative addressing. The 'kill' attribute is an accumulated # 'save' over the whole subtree. It will be used to determine when # level information was destroyed by subnodes and has to be # regenerated at the current level. $tree walk root -type dfs node { $tree set $node kill 0 if {[$tree get $node otype] ne {Root} && ([$tree get $node rel] || [$tree get $node ir])} { $tree set $node save 1 } else { $tree set $node save 0 } } # We walk from the leafs up to the root, synthesizing the data # needed, as we go. $tree walk root -type dfs -order post node { if {$node eq {root}} continue # If the current node's parent is a switch, and the node has # to save, then the switch has to save. Because the current # node is not relevant during code generation anymore, the # switch is. if {[$tree get $node save]} { # We save, therefore we kill. $tree set $node kill 1 if {[$tree get [$tree parent $node] otype] eq {Switch}} { $tree set [$tree parent $node] save 1 } } else { # We don't save i.e. kill, but we may inherit it from # children which kill. foreach c [$tree children $node] { if {[$tree get $c kill]} { $tree set $node kill 1 break } } } } } # Useful when debugging proc ::fileutil::magic::cgen::stack {tree node} { set res {} set files [$tree get root files] while 1 { set s [dict create \ file [lindex $files [$tree get $node file]] \ linenum [$tree get $node linenum]] if {[$tree keyexists $node origin]} { set origin [$tree get $node origin] dict set s origin [dict create \ name [$tree get $origin val] \ file [lindex $files [$tree get $origin file]] \ linenum [$tree get $origin linenum]] } set res [linsert $res 0 $s] set node [$tree parent $node] if {$node eq {root}} { break } } return $res } proc ::fileutil::magic::cgen::treedump {tree} { set result "" $tree walk root -type dfs node { set path [$tree get $node path] set depth [llength $path] append result [string repeat " " $depth] [list $path] ": " [$tree get $node type]: if {[$tree keyexists $node o]} { append result " ,O|[$tree get $node o]|" set x {} foreach v {ind rel base itype iop ioperand idelta} {lappend x [$tree get $node $v]} append result "=<[join $x !]>" } if {[$tree keyexists $node qual]} { set q [$tree get $node qual] if {$q ne ""} { append result " ,q/$q/" } |
︙ | ︙ | |||
484 485 486 487 488 489 490 | } if {[$tree keyexists $node otype]} { append result " " [$tree get $node otype]/[$tree get $node save] } if {$depth == 1} { | | | < < < < | < | | > | > | > | > > > > > | > | > | > > > > | > > > > > > > > > > > > > > > > > > | | | < | < < < | | < > > > > > | > | < < | < | | | | > > | > | < | | < < < < < | < | < < < < < < < < < < | < > > > > > > > > | | > > > > > > > | | | < < | < | > | | | | < | | > > | | < | | | | < > | > < < < < < | < | > | | | | > > | | | | | > > > | > > | > > > > > > > > | > > | | | 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 | } if {[$tree keyexists $node otype]} { append result " " [$tree get $node otype]/[$tree get $node save] } if {$depth == 1} { set msg [$tree get $node desc] set n $node while {($n != {}) && ($msg == "")} { set n [lindex [$tree children $n] 0] if {$n != {}} { set msg [$tree get $n desc] } } append result " " ( $msg ) if {[$tree keyexists $node file]} { append result " - " [$tree get $node file] } } #append result " <" [$tree getall $node] > append result \n } return $result } proc ::fileutil::magic::cgen::treegen {tree node} { variable ::fileutil::magic::rt::typemap set result {} set named [$tree get root named] set otype [$tree get $node otype] set level [$tree get $node level] set indent \n[string repeat \t [expr {$level > 0 ? $level-1 : 0}]] # Generate code for each node per its type. switch $otype { A { set file [$tree get $node file] set val [$tree get $node val] if {[dict exists named $file$val]} { return -code error [list {name already exists} $file $val] } set aresult {} foreach child [$tree children $node] { lappend aresult [treegen $tree $child] } dict set named $file $val [join $aresult \n] $tree set root named $named return } U { set file [$tree get $node file] set val [$tree get $node val] append result "U [list $file] [list $val]\n" } N - S { set names {type mod mand testinvert compinvert comp val desc kill save path} foreach name $names { set $name [$tree get $node $name] } set o [GenerateOffset $tree $node] if {$val eq {}} { # If the value is the empty string, armor it. Otherwise, it's # already been armored. set val [list $val] } if {$otype eq {N}} { if {$kill} { # We have to save field data for relative adressing under this # leaf. set type [list Nx $type] } else { # Regular fetching of information. set type [list N $type] } # $type and $o are expanded via substitution append result "${indent}if \{\[$type $o [list $testinvert] [ list $compinvert] [list $mod] [list $mand] [ list $comp] $val\]\} \{>\n" } elseif {$otype eq {S}} { switch $comp { == {set comp eq} != {set comp ne} } if {$kill} { set type [list Sx $type] } else { set type [list S $type] } append result "${indent}if \{\[$type $o [list $testinvert] [ list $mod] [list $mand] [list $comp] $val\]\} \{>\n" } if {[$tree isleaf $node] && $desc ne {}} { append result "${indent}emit [list $desc]" } else { if {$desc ne {}} { append result "${indent}emit [list $desc]\n" } foreach child [$tree children $node] { append result [treegen $tree $child] } #append result "\nreturn \$result" } if {[$tree keyexists $node ext_mime]} { append result "${indent}mime [$tree get $node ext_mime]\n" } if {[$tree keyexists $node ext_ext]} { append result "${indent}ext [$tree get $node ext_ext]\n" } append result "\n<\}\n" } Root { foreach child [$tree children $node] { lappend result [treegen $tree $child] if {[lindex $result end] eq {}} { set result [lreplace $result[set result {}] end end] } } } Switch { set names {o type compinvert mod mand kill save} foreach name $names { set $name [$tree get $node $name] } set o [GenerateOffset $tree $node] if {$kill} { set fetch Nvx } else { set fetch Nv } append fetch " $type $o [list $compinvert] [list $mod] [list $mand]" append result "${indent}switch -- \[$fetch\] " set scan [lindex $typemap($type) 1] set ckilled 0 foreach child [$tree children $node] { # See ::fileutil::magic::rt::rtscan if {$scan eq {me}} { set scan I } # get value in binary form, then back to numeric # this avoids problems with sign, as both values are # [binary scan]-converted identically binary scan [binary format $scan [$tree get $child val]] $scan val append result "$val \{>;" set desc [$tree get $child desc] if {[$tree isleaf $child] && $desc ne {}} { append result "emit [list [$tree get $child desc]]" } else { if {$desc ne {}} { append result "emit [list [$tree get $child desc]]\n" } foreach grandchild [$tree children $child] { append result [treegen $tree $grandchild] } } if {[$tree keyexists $child ext_mime]} { append result "${indent}mime [$tree get $child ext_mime]\n" } if {[$tree keyexists $child ext_ext]} { append result "${indent}ext [$tree get $child ext_ext]\n" } append result ";<\} " } append result "\n<\n" } } return $result } proc ::fileutil::magic::cgen::GenerateOffset {tree node} { # Examples: # direct absolute: 45 -> 45 # direct relative: &45 -> [R 45] # indirect absolute: (45.s+1) -> [I 45 s + 0 1] # indirect absolute (indirect offset): (45.s+(1)) -> [I 45 s + 1 1] # relative indirect absolute: &(45.s+1) -> [R [I 45 s + 0 1]] # relative indirect absolute (indirect offset): &(45.s+(1)) -> [R [I 45 s + 1 1]] # indirect relative: (&45.s+1) -> [I [R 45] s op 0 1] # relative indirect relative: &(&45.s+1) -> [R [I [R 45] s + 0 1]] # relative indirect relative: &(&45.s+(1)) -> [R [I [R 45] s + 1 1]] foreach v {o rel ind ir it ioi iir ioo io} { set $v [$tree get $node $v] } #foreach v {ind rel base itype iop ioperand iindir idelta} { # set $v [$tree get $node $v] #} if {$ind} { if {$ir} {set o "\[R $o]"} set o "\[I $o [list $it] [list $ioi] [list $ioo] [list $iir] [list $io]\]" } if {$rel} { set o "\[R $o\]" } return $o } # ### ### ### ######### ######### ######### ## Ready for use. # EOF |
Changes to modules/fumagic/filetypes.man.
︙ | ︙ | |||
22 23 24 25 26 27 28 | The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types. [para] | | | | | < < | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | The core part of the recognizer was generated from a "magic(5)" file containing the checks to perform to recognize files, and associated file-types. [para] [emph Beware!] This recognizer is large, about 752 Kilobyte of generated Tcl code. [list_begin definitions] [call [cmd ::fileutil::magic::filetype] [arg filename]] This command is similar to the command [cmd fileutil::fileType]. [para] Returns a list containing a list of descriptions, a list of mimetype components, and a list file extensions. Returns an empty string if the file content is not recognized. [list_end] [section REFERENCES] [list_begin enumerated] [enum] |
︙ | ︙ |
Changes to modules/fumagic/filetypes.tcl.
more than 10,000 changes
Changes to modules/fumagic/filetypes.test.
︙ | ︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # Copyright (c) 2005-2006 by Andreas Kupries <[email protected]> # All rights reserved. # # RCS: @(#) $Id: filetypes.test,v 1.9 2006/10/09 21:41:40 andreas_kupries Exp $ # ------------------------------------------------------------------------- source [file join \ [file dirname [file dirname [file join [pwd] [info script]]]] \ devtools testutilities.tcl] testsNeedTcl 8.4 testsNeedTcltest 1.0 | > | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Copyright (c) 2005-2006 by Andreas Kupries <[email protected]> # All rights reserved. # # RCS: @(#) $Id: filetypes.test,v 1.9 2006/10/09 21:41:40 andreas_kupries Exp $ # ------------------------------------------------------------------------- package require tcltest source [file join \ [file dirname [file dirname [file join [pwd] [info script]]]] \ devtools testutilities.tcl] testsNeedTcl 8.4 testsNeedTcltest 1.0 |
︙ | ︙ | |||
41 42 43 44 45 46 47 | test fumagic.filetype-1.2 {test file directory} { set f [makeDirectory fileTypeTest] set res [catch {fileutil::magic::filetype $f} msg] regsub {file[0-9]+} $msg {fileXXX} msg removeDirectory fileTypeTest list $res $msg | | | | | < | > | | > > > > | | > | > > > > > > > | > > > > > > > > | > > | | | | | > | > > > > > > > > > > > > > > > > > > > > | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | test fumagic.filetype-1.2 {test file directory} { set f [makeDirectory fileTypeTest] set res [catch {fileutil::magic::filetype $f} msg] regsub {file[0-9]+} $msg {fileXXX} msg removeDirectory fileTypeTest list $res $msg } {0 {directory application/x-directory {}}} test fumagic.filetype-1.3 {test file empty} { set f [makeEmptyFile] set res [catch {fileutil::magic::filetype $f} msg] removeEmptyFile list $res $msg } {0 {}} test fumagic.filetype-1.4 {test simple binary} { set f [makeBinFile] set res [catch {fileutil::magic::filetype $f} msg] removeBinFile list $res $msg } {0 {}} test fumagic.filetype-1.5 {test elf executable} { set f [makeElfFile] set res [catch {fileutil::magic::filetype $f} msg] removeElfFile list $res $msg } {0 {{ELF 32-bit LSB executable, {*unknown arch 0x0*} (SYSV)} {application x-executable} {}}} test fumagic.filetype-1.6 {test simple text} { set f [makeTextFile] set res [catch {fileutil::magic::filetype $f} msg] removeTextFile list $res $msg } {0 {}} test fumagic.filetype-1.7 {test script file} { set f [makeScriptFile] set res [catch {fileutil::magic::filetype $f} msg] removeScriptFile list $res $msg } {0 {{a {/bin/tclsh script text executable}} {} {}}} test fumagic.filetype-1.8 {test html text} { set f [makeHtmlFile] set res [catch {fileutil::magic::filetype $f} msg] removeHtmlFile list $res $msg } {0 {{{HTML document text}} {text html} {}}} test fumagic.filetype-1.9 {test xml text} { set f [makeXmlFile] set res [catch {fileutil::magic::filetype $f} msg] removeXmlFile list $res $msg } {0 {{XML {1.0 document text}} {text xml} {}}} test fumagic.filetype-1.10 {test xml with dtd text} { set f [makeXmlDTDFile] set res [catch {fileutil::magic::filetype $f} msg] removeXmlDTDFile list $res $msg } {0 {{XML {1.0 document text}} {text xml} {}}} test fumagic.filetype-1.11 { test PGP message. Their are multiple matches, and the longest match should carry greater weight, and thus be the one returned. If the match is "PGP armored data message", this isn't happening. } { set f [makePGPFile] set res [catch {fileutil::magic::filetype $f} msg] removePGPFile list $res $msg } {0 {{{PGP message}} {application pgp} {}}} test fumagic.filetype-1.12.0 {test binary graphic jpeg} { set f [makeJpegFile] set res [catch {fileutil::magic::filetype $f} msg] removeJpegFile list $res $msg } {0 {{{JPEG image data, JFIF standard 1.02, resolution (DPI), density 300x316, segment length 16}} {image jpeg} {jpeg jpg jpe jfif}}} #the result should actually be 128x112, but current magic files indicate "byte" instead of "ubyte" test fumagic.filetype-1.12.1 {test binary graphic jpeg} { set f [makeJpeg2File] set res [catch {fileutil::magic::filetype $f} msg] removeJpeg2File list $res $msg } {0 {{{JPEG image data, JFIF standard 1.02, resolution (DPI), density 300x316, segment length 16, thumbnail -128x112}} {image jpeg} {jpeg jpg jpe jfif}}} test fumagic.filetype-1.13 {test binary graphic gif} { set f [makeGifFile] set res [catch {fileutil::magic::filetype $f} msg] removeGifFile list $res $msg } {0 {{{GIF image data, version 89a,} {43 x} 64} {image gif} {}}} test fumagic.filetype-1.14 {test binary graphic png} { set f [makePngFile] set res [catch {fileutil::magic::filetype $f} msg] removePngFile list $res $msg } {0 {{{PNG image data, 0 x} 0, 0-bit} {image png} {}}} #{To do} {implement a "wild guess" mode} #test fumagic.filetype-1.14.1 {test binary graphic png} { # set f [makePngFile] # set res [catch {fileutil::magic::filetype $f} msg] # removePngFile # list $res $msg #} {0 {PNG image data, CORRUPTED, PNG image data, CORRUPTED}} # The file doesn't really provide a direntries value, so not sure what the # result means here, but any number is good enough for this test. test fumagic.filetype-1.15 {test binary graphic tiff} { set f [makeTiffFile] set res [catch {fileutil::magic::filetype $f} msg] removeTiffFile list $res $msg } {0 {{{TIFF image data, big-endian, direntries=19789}} {image tiff} {}}} test fumagic.filetype-1.16 {test binary pdf} { set f [makePdfFile] set res [catch {fileutil::magic::filetype $f} msg] removePdfFile list $res $msg } {0 {{{PDF document, version 1.2}} {application pdf} {}}} test fumagic.filetype-1.17 {test text ps} { set f [makePSFile] set res [catch {fileutil::magic::filetype $f} msg] removePSFile list $res $msg } {0 {{{PostScript document text}} {application postscript} {}}} test fumagic.filetype-1.18 {test text eps} { set f [makeEPSFile] set res [catch {fileutil::magic::filetype $f} msg] removeEPSFile list $res $msg } {0 {{{PostScript document text}} {application postscript} {}}} test fumagic.filetype-1.19 {test binary gravity_wave_data_frame} { set f [makeIgwdFile] set res [catch {fileutil::magic::filetype $f} msg] removeIgwdFile list $res $msg } {0 {}} test fumagic.filetype-1.20 {test binary compressed bzip} { set f [makeBzipFile] set res [catch {fileutil::magic::filetype $f} msg] removeBzipFile list $res $msg } {0 {{{bzip2 compressed data, block size = 900k}} {application x-bzip2} {}}} test fumagic.filetype-1.21 {test binary compressed gzip} { set f [makeGzipFile] set res [catch {fileutil::magic::filetype $f} msg] removeGzipFile list $res $msg } {0 {{{gzip compressed data, reserved method, ASCII, last modified: 1}} {application x-gzip} {}}} test fumagic.filetype-1.22 {test pstring} { set f [makeWsdlFile] set res [catch {fileutil::magic::filetype $f} msg] removeWsdlFile list $res $msg } {0 {{{PHP WSDL cache,} {version 0x03, created 7, uri: "hello", source: "some source", target_ns: "and a target"}} {} {}}} test fumagic.filetype-1.23 {regular expressions} { set f [makeCSourceFile] set res [catch {fileutil::magic::filetype $f} msg] removeCSourceFile list $res $msg } {0 {{{C source text}} {text x-c} {}}} test fumagic.filetype-1.24 {ustring} { set f [makeXzFile] set res [catch {fileutil::magic::filetype $f} msg] removeXzFile list $res $msg } {0 {{{XZ compressed data}} {application x-xz} {}}} testsuiteCleanup return |
Changes to modules/fumagic/fileutil_magic_cfront.pcx.
︙ | ︙ | |||
20 21 22 23 24 25 26 | {checkSimpleArgs 1 -1 { checkFileName }} pcx::check 1.0 std ::fileutil::magic::cfront::install \ {checkSimpleArgs 1 -1 { checkFileName }} | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {checkSimpleArgs 1 -1 { checkFileName }} pcx::check 1.0 std ::fileutil::magic::cfront::install \ {checkSimpleArgs 1 -1 { checkFileName }} pcx::check 1.0 std ::fileutil::magic::cfront::generate \ {checkSimpleArgs 2 -1 { checkWord checkFileName }} # Initialization via pcx::init. # Use a ::fileutil::magic::cfront::init procedure for non-standard initialization. |
︙ | ︙ |
Changes to modules/fumagic/fumagic.testsupport.
︙ | ︙ | |||
25 26 27 28 29 30 31 | abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz } # ### ### ### ######### ######### ######### ## Creates a series of commands for the creation of small data files ## for various file formats. | | | | > > | | > > | > | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz } # ### ### ### ######### ######### ######### ## Creates a series of commands for the creation of small data files ## for various file formats. foreach {name data} [dict create \ Empty {} \ Bin "\u0000" \ Elf [cat "\x7F" "ELF" "\x01\x01\x01\x00\x00" "\x00\x00\x00\x00\x00\x00\x00" "\x02\x00"] \ Bzip "BZh91AY&SY\x01\x01\x01\x00\x00" \ Gzip "\x1f\x8b\x01\x01\x01\x00\x00" \ Jpeg [cat "\xFF\xD8\xFF\xE0\x00\x10JFIF" "\x00\x01\x02\x01\x01\x2c\x01\x3c"] \ Jpeg2 [cat "\xFF\xD8\xFF\xE0\x00\x10JFIF" "\x00\x01\x02\x01\x01\x2c\x01\x3c\x80\x70"] \ Gif "GIF89a\x2b\x00\x40\x00\xf7\xff\x00" \ Png "\x89PNG\x0D\x0A\x1A\x0A" \ PngMalformed "\x89PNG\x00\x01\x02\x01\x01\x2c" \ Tiff "MM\x00\*\x00\x01\x02\x01\x01\x2c" \ Pdf "%PDF-1.2 \x00\x01\x02\x01\x01\x2c" \ Igwd "IGWD\x00\x01\x02\x01\x01\x2c" \ Xz \xFD7zXZ\x00 \ Wsdl "wsdl\x03 \x07\x00\x00\x00\x05\x00\x00\x00hello\x0b\x00\x00\x00some source\x0c\x00\x00\x00and a targetxxxmore text" ] { proc make${name}File {} [list makeBinaryFile $data $name] proc remove${name}File {} [list removeFile $name] } foreach {name data} [dict create \ CSource "#include <stdio.h>\nint main(int argc, char *argv[]) {int a;}" \ PS "%!PS-ADOBO-123 EPSF-1.4" \ EPS "%!PS-ADOBO-123 EPSF-1.4" \ Text "simple text" \ Script "#!/bin/tclsh" \ Html "<html></html>" \ Xml $xmlData \ XmlDTD $xmlDataWithDTD \ |
︙ | ︙ |
Deleted modules/fumagic/mimetypes.man.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted modules/fumagic/mimetypes.tcl.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted modules/fumagic/mimetypes.test.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Changes to modules/fumagic/pkgIndex.tcl.
|
| | | < | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | if {![package vsatisfies [package provide Tcl] 8.6]} {return} # Recognizers package ifneeded fileutil::magic::filetype 1.2.0 [list source [file join $dir filetypes.tcl]] # Runtime package ifneeded fileutil::magic::rt 1.2 [list source [file join $dir rtcore.tcl]] # Compiler packages package ifneeded fileutil::magic::cgen 1.2 [list source [file join $dir cgen.tcl]] package ifneeded fileutil::magic::cfront 1.2 [list source [file join $dir cfront.tcl]] |
Changes to modules/fumagic/regenerate.sh.
1 2 3 4 5 6 7 | #!/bin/sh # Point this to an unpacked source distribution of file(1) to # regenerate the recognizers. filesrc="$1" | < < | | 1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh # Point this to an unpacked source distribution of file(1) to # regenerate the recognizers. filesrc="$1" type="${filesrc}/magic/Magdir" `dirname $0`/tmc -merge filetypes.tcl '::fileutil::magic::filetype' "${type}" exit 0 |
Changes to modules/fumagic/rtcore.man.
︙ | ︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 | [package fileutil::magic::filetypes], and the two engine compiler packages [package fileutil::magic::cgen] and [package fileutil::magic::cfront]. [section COMMANDS] [list_begin definitions] [call [cmd ::fileutil::magic::rt::open] [arg filename]] This command initializes the runtime and prepares the file [arg filename] for use by the system. This command has to be invoked first, before any other command of this | > > > > > > > > | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | [package fileutil::magic::filetypes], and the two engine compiler packages [package fileutil::magic::cgen] and [package fileutil::magic::cfront]. [section COMMANDS] [list_begin definitions] [call [cmd ::fileutil::magic::rt::>]] Shorthand for [cmd {incr level}]. [call [cmd ::fileutil::magic::rt::<]] Shorthand for [cmd {incr level -1}]. [call [cmd ::fileutil::magic::rt::open] [arg filename]] This command initializes the runtime and prepares the file [arg filename] for use by the system. This command has to be invoked first, before any other command of this |
︙ | ︙ | |||
147 148 149 150 151 152 153 | [para] The special comparison operator [const x] signals that no comparison should be done, or, in other words, that the fetched value will always match [arg val]. | | | | | | | | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | [para] The special comparison operator [const x] signals that no comparison should be done, or, in other words, that the fetched value will always match [arg val]. [call [cmd ::fileutil::magic::rt::Nvx] [arg type] [arg offset] [opt [arg qual]]] This command behaves like [cmd ::fileutil::magic::rt::Nv], except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by [cmd ::fileutil::magic::rt::R]. [call [cmd ::fileutil::magic::rt::Nx] [arg type] [arg offset] [arg comp] [arg val] [opt [arg qual]]] This command behaves like [cmd ::fileutil::magic::rt::N], except that it additionally remembers the location in the file after the fetch in the calling context, for the current, for later use by [cmd ::fileutil::magic::rt::R]. [call [cmd ::fileutil::magic::rt::S] [arg offset] [arg comp] [arg val] [opt [arg qual]]] This command behaves like [cmd ::fileutil::magic::rt::N], except that it fetches and compares strings, not numeric data. The fetched value is also stored in the internal string buffer instead of the numeric buffer. [call [cmd ::fileutil::magic::rt::Sx] [arg offset] [arg comp] [arg val] [opt [arg qual]]] This command behaves like [cmd ::fileutil::magic::rt::S], except that it additionally remembers the location in the file after the fetch in the calling context, for the current level, for later use by [cmd ::fileutil::magic::rt::R]. [call [cmd ::fileutil::magic::rt::L] [arg newlevel]] This command sets the current level in the calling context to [arg newlevel]. The command returns the empty string as its result. |
︙ | ︙ | |||
202 203 204 205 206 207 208 209 210 211 212 213 214 215 | [para] In other words, the command computes an absolute location in the file based on the relative [arg offset] and returns it as its result. The base the offset is added to is the last location remembered for the level in the calling context. [list_end] [section {NUMERIC TYPES}] [list_begin definitions] [def [const byte]] 8-bit integer | > > > > | 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | [para] In other words, the command computes an absolute location in the file based on the relative [arg offset] and returns it as its result. The base the offset is added to is the last location remembered for the level in the calling context. [call [cmd ::fileutil::magic::rt::U] [arg fileindex] [arg name]] Use a named test script at the current level. [list_end] [section {NUMERIC TYPES}] [list_begin definitions] [def [const byte]] 8-bit integer |
︙ | ︙ |
Changes to modules/fumagic/rtcore.tcl.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # rtcore.tcl -- # # Runtime core for file type recognition engines written in pure Tcl. # # Copyright (c) 2004-2005 Colin McCormack <[email protected]> # Copyright (c) 2005 Andreas Kupries <[email protected]> # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # RCS: @(#) $Id: rtcore.tcl,v 1.5 2005/09/28 04:51:19 andreas_kupries Exp $ ##### # # "mime type recognition in pure tcl" # http://wiki.tcl.tk/12526 # # Tcl code harvested on: 10 Feb 2005, 04:06 GMT # Wiki page last updated: ??? # ##### | > > | > > | < > > > > > | > > > > > > > | > > > > > > > | > > > > > > > > > > > > > > > | > > > > > > > > > > < < | > > > > > > | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | < | > > > | > > > | > > > > > | | | < | > | | | | | | < < < < < < < < < < < < < < < < < < < | | | < < | < < > | | < < | < | > > | | < < < < < | | < | < < | < < < < < < < | < < < < < < < < | < < | < < | | < < < | < | < < | | < < > | | < < < < < < < | < < | < < | < | < < | < < | | | < | | | | < < < > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | > < > > > < | > > | < > > > > > > > | > > | | | > | | < < < | > > > > | > | | | | > > > > > > > | > | | > > > > | > > > > > | > > | | | | > > | | > > > > > > > | > | > | > > > > > > > > > > | > > > > > | < | | > > | > > > > > > > | > | | < > > > > > > | > > | > > > > > > > > > | > > > > > > > > > > > > > > | > > > > > > > | > > > | > | > > > | | > > | | < < | > > | > > > > | > | | > > > > > > > > > > > > > > | > > | | | > > > > | | | > | | < > | > > > > > > > | | > > > | > > > | > | > > > > > > > > > > > > > | | > > > > > | | > > > > | > > > | > > > > | > > > > > | > > > > > | > > | > | > > > > > | > | > > | | < | > > > > | > > | > > | > > > | | > > > > > > > > | > > > | > > | | > > > > > > > > > > | > > > > | > | > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 | # rtcore.tcl -- # # Runtime core for file type recognition engines written in pure Tcl. # # Copyright (c) 2016 Poor Yorick <[email protected]> # Copyright (c) 2004-2005 Colin McCormack <[email protected]> # Copyright (c) 2005 Andreas Kupries <[email protected]> # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # RCS: @(#) $Id: rtcore.tcl,v 1.5 2005/09/28 04:51:19 andreas_kupries Exp $ ##### # # "mime type recognition in pure tcl" # http://wiki.tcl.tk/12526 # # Tcl code harvested on: 10 Feb 2005, 04:06 GMT # Wiki page last updated: ??? # ##### #TODO { # {Required Functionality} { # {implement full offset language} { # done # # by pooryorick # # time {2016 06} # } # # {implement pstring (pascal string, blerk)} { # done # # by pooryorick # # time {2016 06} #} # # {implement regex form (blerk!)} { # done # # by pooryorick # # time {2016 06} # } # {implement string qualifiers} { # done # # by pooryorick # # time {2016 06} # } # # {finish implementing the indirect type} # # {Maybe distinguish between binary and text tests, like file(n)} # # {process and use strength directives} # # } #} # ### ### ### ######### ######### ######### ## Requirements package require Tcl 8.6 # ### ### ### ######### ######### ######### ## Implementation namespace eval ::fileutil::magic::rt { # Configuration flag. (De)activate debugging output. # This is done during initialization. # Changes at runtime have no effect. variable debug 0 # The maximum size of a substring to inspect from the file in question variable maxstring 64 # The maximum length of any %s substitution in a resulting description is variable maxpstring 64 variable regexdefaultlen 4096 # Runtime state. variable cursor 0 ; # The current offset variable fd {} ; # Channel to file under scrutiny variable found 0 ; # Whether the last test produced a match variable strbuf {} ; # Input cache [*]. variable cache ; # Cache of fetched and decoded numeric array set cache {} ; # values. variable result {} ; # Accumulated recognition result. variable extracted ; # The value extracted for inspection variable last ; # Behind last fetch locations, array set last {} ; # per nesting level. variable weight 0 ; # The weight of the current part. ; # Basically string length of the contributing of ; # the potentially-matching part. variable weighttotal 0 ; # The aggregate weight of the matching components of ; # the current test. # [*] The vast majority of magic strings are in the first 4k of the file. # Export APIs (full public, recognizer public) namespace export open close file_start result namespace export emit ext mime offset Nv N S Nvx Nx Sx L R I resultv U < > } # ### ### ### ######### ######### ######### ## Public API, general use. proc ::fileutil::magic::rt::> {} { upvar level level incr level } proc ::fileutil::magic::rt::< {} { upvar level level incr level -1 } proc ::fileutil::magic::rt::classify {data} { set bin_rx {[\x00-\x08\x0b\x0e-\x1f]} if {[regexp $bin_rx $data] } { return binary } else { return text } } proc ::fileutil::magic::rt::mime value { upvar 1 mime mime set mime $value } proc ::fileutil::magic::rt::ext value { upvar 1 ext ext set ext $value } # open the file to be scanned proc ::fileutil::magic::rt::open {file} { variable result {} variable extracted {} variable strbuf variable fd variable cache set fd [::open $file] ::fconfigure $fd -translation binary # fill the string cache set strbuf [::read $fd 4096] set class [classify $strbuf] # clear the fetch cache catch {unset cache} array set cache {} return $fd } proc ::fileutil::magic::rt::close {} { variable fd ::close $fd return } # mark the start of a magic file in debugging proc ::fileutil::magic::rt::file_start {name} { ::fileutil::magic::rt::Debug {puts stderr "File: $name"} } # return the emitted result proc ::fileutil::magic::rt::result {{msg {}}} { variable found variable result variable weight variable weighttotal if {$msg ne {}} {emit $msg} set res [list $found $weighttotal $result] set found 0 set weight 0 set weighttotal 0 set result {} return -code return $res } proc ::fileutil::magic::rt::resultv {{msg {}}} { try result on return result { return $result } } # ### ### ### ######### ######### ######### ## Public API, for use by a recognizer. # emit a description proc ::fileutil::magic::rt::emit msg { variable found variable maxpstring variable extracted variable result variable weight variable weighttotal set found 1 incr weighttotal $weight #set map [list \ # \\b "" \ # %c [apply {extracted { # if {[catch {format %c $extracted} result]} { # return {} # } # return $result # }} $extracted] \ # %s [string trim [string range $extracted 0 $maxpstring]] \ # %ld $extracted \ # %d $extracted \ #] #[::string map $map $msg] # {to do} {Is only taking up to the first newline really a good general rule?} regexp {\A[^\n\r]*} $extracted extracted2 regsub -all {\s+} $extracted2 { } extracted2 set arguments {} set count [expr {[string length $msg] - [string length [ string map {% {}} $msg]]}] for {set i 0} {$i < $count} {incr i} { lappend arguments $extracted2 } catch {set msg [format $msg {*}$arguments]} # Assumption: [regexp] leaves $msg untouched if it fails regexp {\A(\b|\\b)?(.*)$} $msg match b msg if {$b ne {} && [llength $result]} { lset result end [lindex $result end]$msg } else { lappend result $msg } return } proc ::fileutil::magic::rt::Nv {type offset compinvert mod mand} { variable typemap variable extracted variable weight # unpack the type characteristics foreach {size scan} $typemap($type) break # fetch the numeric field from the file set extracted [Fetch $offset $size $scan] if {$compinvert && $extracted ne {}} { set extracted [expr ~$extracted] } if {$mod ne {} && $extracted ne {}} { # there's a mask to be applied set extracted [expr $extracted $mod $mand] } ::fileutil::magic::rt::Debug {puts stderr "NV $type $offset $mod: $extracted"} set weight [string length $extracted] return $extracted } proc ::fileutil::magic::rt::use {named file name} { if [dict exists $named $file $name] { set script [dict get $named $file $name] } else { dict for {file val} $named { if {[dict exists $val $name]} { set script [dict get $val $name] break } } } if {![info exists script]} { return -code error [list {name not found} $key] } return $script } # Numeric - get bytes of $type at $offset and $compare to $val # qual might be a mask proc ::fileutil::magic::rt::N { type offset testinvert compinvert mod mand comp val} { variable typemap variable extracted variable weight # unpack the type characteristics foreach {size scan} $typemap($type) break # fetch the numeric field set extracted [Fetch $offset $size $scan] if {$extracted eq {}} { # Rules like the following, from the jpeg file, imply that # in the absence of an extracted value, a numerical value of # 0 should be used # From jpeg: ## Next, show thumbnail info, if it exists: #>>18 byte !0 \b, thumbnail %dx set extracted 0 } # Would moving this before the fetch an optimisation ? The # tradeoff is that we give up filling the cache, and it is unclear # how often that value would be used. -- Profile! if {$comp eq {x}} { set weight 0 # anything matches - don't care if {$testinvert} { return 0 } else { return 1 } } if {[string match $scan *me]} { set data [me4 $data] set scan I } # get value in binary form, then back to numeric # this avoids problems with sign, as both values are # [binary scan]-converted identically (see [treegen1]) binary scan [binary format $scan $val] $scan val if {$compinvert && $extracted ne {}} { set extracted [expr ~$extracted] } # perform comparison if {$mod ne {}} { # there's a mask to be applied set extracted [expr $extracted $mod $mand] } switch $comp { & { set c [expr {($extracted & $val) == $val}] } ^ { set c [expr {($extracted & ~$val) == $extracted}] } == - != - < - > { set c [expr $extracted $comp $val] } default { #Should never reach this return -code error [list {unknown comparison operator} $comp] } } # Do this last to minimize shimmering set weight [string length $extracted] ::fileutil::magic::rt::Debug { puts stderr "numeric $type: $val $t$comp $extracted / $mod - $c" } if {$testinvert} { set c [expr {!$c}] return $c } else { return $c } } proc ::fileutil::magic::rt::S {type offset testinvert mod mand comp val} { variable cursor variable extracted variable fd variable maxstring variable regexdefaultlen variable weight # $compinvert is currently ignored for strings set weight [string length $val] switch $type { pstring { set ptype B set vincluded 0 # The last pstring type specifier wins foreach item $mod { if {$item eq {J}} { set vincluded 1 } else { set ptype $item } } lassign [dict get {B {b 1} H {S 2} h {s 2} L {I 4} l {i 4}} $ptype] scan slength set length [GetString $offset $slength] set offset $cursor binary scan $length ${scan}u length if {$vincluded} { set length [expr {$length - $slength}] } set extracted [GetString $offset $length] set c [Smatch $val $comp $extracted $mod] } regex { if {$mand eq {}} { set mand $regexdefaultlen } set extracted [GetString $offset $mand] if {[regexp $val $extracted match]} { set weight [string length $match] set c 1 } else { set c 0 } } search { set limit $mand set extracted [GetString $offset $limit] if {[string first $val $extracted] >= 0} { set weight [string length $val] set c 1 } else { set c 0 } } default { # get the string and compare it switch $type bestring16 - lestring16 { set extracted [GetString $offset $maxstring] set extracted [string range $extracted 0 1] switch $type bestring16 { set extracted [binary scan $extracted Su] } lestring16 { set extracted [binary scan $extracted Su] } set extracted [format %c $extracted] } default { # If $val is 0, give [emit] something to work with . if {$val eq "\0"} { set extracted [GetString $offset $maxstring] } else { set extracted [GetString $offset [string length $val]] } } set c [Smatch $val $comp $extracted $mod] } } ::fileutil::magic::rt::Debug { puts "String '$val' $comp '$extracted' - $c" if {$c} { puts "offset $offset - $extracted" } } if {$testinvert} { return [expr {!$c}] } else { return $c } } proc ::fileutil::magic::rt::Smatch {val op string mod} { variable weight if {$op eq {x}} { set weight 0 return 1 } if {![string length $string]} { # Nothing matches an empty $string. return 0 } if {$op eq {>} && [string length $val] > [string length $string]} { return 1 } # To preserve the semantics, the w operation must occur prior to the W # operation (Assuming the interpretation that w makes all whitespace # optional, relaxing the requirements of W) . if {{w} in $mod} { regsub -all {\s} $string[set string {}] {} string regsub -all {\s} $val[set val {}] {} val } if {{W} in $mod} { set blanklen [::tcl::mathfunc::max 0 {*}[ lmap {_unused_ blanks} [regexp -all -indices -inline {(\s+)} $val] { expr {[lindex $blanks 1] - [lindex $blanks 0]} }]] if {![regexp "\s{$blanklen}" $string]} { ::fileutil::magic::rt::Debug { puts "String '$val' $op '$string' - $c" if {$c} { puts "offset $offset - $string" } } return 0 } regsub -all {\s+} $string[set string {}] { } string regsub -all {\s+} $val[set val {}] { } val } if {{T} in $mod} { set string [string trim $string[set string {}]] set val [string tolower $val[set val {}]] } set string [string range $string 0 [string length $val]-1] # The remaining code may assume that $string and $val have the same length # . set opnum [dict get {< -1 == 0 eq 0 != 0 ne 0 > 1} $op] if {{c} in $mod || {C} in $mod} { if {{c} in $mod && {C} in $mod} { set string [string tolower $string[set string {}]] set val [string tolower $val[set val {}]] } elseif {{c} in $mod} { foreach sc [split $string] vc [split $val] { if {[string is lower $sc]} { set vc [string tolower $vc] } if {[::string compare $val $string] != $opnum} { set res 0 break } } } elseif {{C} in $mode} { foreach vc [split $val] sc [split $string] { if {[string is upper $vc]} { set sc [string toupper $sc] } if {[::string compare $val $string] != $opnum} { set res 0 break } } } } else { set res [expr {[::string compare $string $val] == $opnum}] } if {$op in {!= ne}} { set res [expr {!$res}] } set weight [string length $val] return $res } proc ::fileutil::magic::rt::Nvx {type offset compinvert mod mand} { variable typemap variable extracted variable last variable weight upvar 1 level l # unpack the type characteristics foreach {size scan} $typemap($type) break set last($l) [expr {$offset + $size}] set extracted [Nv $type $offset $compinvert $mod $mand] ::fileutil::magic::rt::Debug {puts stderr "NVx $type $offset $extracted $mod $mand"} return $extracted } # Numeric - get bytes of $type at $offset and $compare to $val # qual might be a mask proc ::fileutil::magic::rt::Nx { type offset testinvert compinvert mod mand comp val} { variable cursor variable typemap variable extracted variable last variable weight upvar 1 level l set res [N $type $offset $testinvert $compinvert $mod $mand $comp $val] ::fileutil::magic::rt::Debug { puts stderr "Nx numeric $type: $val $comp $extracted / $qual - $c" } set last($l) $cursor return $res } proc ::fileutil::magic::rt::Sx { type offset testinvert mod mand comp val} { variable cursor variable extracted variable fd variable last variable weight upvar 1 level l set res [S $type $offset $testinvert $mod $mand $comp $val] set last($l) $cursor return $res } proc ::fileutil::magic::rt::L {newlevel} { # Regenerate level information in the calling context. upvar 1 level l ; set l $newlevel return } proc ::fileutil::magic::rt::I {offset it ioi ioo iir io} { # Handling of base locations specified indirectly through the # contents of the inspected file. variable typemap foreach {size scan} $typemap($it) break if {$iir} { set io [Fetch [expr $offset + $io] $size $scan] } set data [Fetch [expr $offset $ioo $io] $size $scan] if {$ioi} { set data [expr {~$data}] } if {$ioo ne {}} { set data [expr $data $ioo $io] } return $data } proc ::fileutil::magic::rt::R base { # Handling of base locations specified relative to the end of the # last field one level above. variable last ; # Remembered locations. upvar 1 level l ; # The level to get data from. return [expr {$last([expr {$l-1}]) + $base}] } proc ::fileutil::magic::rt::U {file name} { upvar level l upvar named named set script [use $named $file $name] tailcall ::try $script } # ### ### ### ######### ######### ######### ## Internal. Retrieval of the data used in comparisons. # fetch and cache a numeric value from the file proc ::fileutil::magic::rt::Fetch {where what scan} { variable cache variable cursor variable extracted variable strbuf variable fd # {to do} id3 length if {![info exists cache($where,$what,$scan)]} { ::seek $fd $where set data [::read $fd $what] incr cursor [string length $data] set extracted [rtscan $data $scan] set cache($where,$what,$scan) [list $extracted $cursor] # Optimization: If we got 4 bytes, i.e. long we implicitly # know the short and byte data as well. Should put them into # the cache. -- Profile: How often does such an overlap truly # happen ? } else { lassign $cache($where,$what,$scan) extracted cursor } return $extracted } proc ::fileutil::magic::rt::rtscan {data scan} { if {$scan eq {me}} { set data [me4 $data] set scan I } set numeric {} binary scan $data $scan numeric return $numeric } proc ::fileutil::magic::rt::me4 data { binary scan $data a4 chars set data [binary format a4 [lindex $chars 1] [ lindex $chars 0] [lindex $chars 3] [lindex $chars 2]] } proc ::fileutil::magic::rt::GetString {offset len} { variable cursor # We have the first 1k of the file cached variable strbuf variable fd set end [expr {$offset + $len - 1}] if {$end < 4096} { # in the string cache, copy the requested part. set string [::string range $strbuf $offset $end] } else { # an unusual one, move to the offset and read directly from # the file. ::seek $fd $offset set string [::read $fd $len] } set cursor [expr {$offset + [string length $string]}] return $string } # ### ### ### ######### ######### ######### ## Internal, debugging. if {!$::fileutil::magic::rt::debug} { |
︙ | ︙ | |||
455 456 457 458 459 460 461 | variable typemap global tcl_platform # Set the definitions for all types which have their endianess # explicitly specified n their name. array set typemap { | | | | > | | > > > > > > > > > > > > > > > | | > > > | > > | > > | | 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 | variable typemap global tcl_platform # Set the definitions for all types which have their endianess # explicitly specified n their name. array set typemap { byte {1 c} beshort {2 S} leshort {2 s} bedouble {8 Q} belong {4 I} lelong {4 i} bedate {4 S} ledate {4 s} beldate {4 I} leldate {4 i} bedouble {8 Q} beqdate {8 W} beqldate {8 W} bequad {8 W} ledouble {8 q} leqdate {8 w} leqldate {8 w} lequad {8 w} lequad {8 w} leqwdate {8 w} medate {4 me} melong {4 me} meldate {4 me} lestring16 {2 s} bestring16 {2 S} long {4 Q} date {4 Q} ldate {4 Q} short {2 Y} quad {8 W} } # Now set the definitions for the types without explicit # endianess. They assume/use 'native' byteorder. We also put in # special forms for the compiler, so that it can use short names # for the native-endian types as well. # generate short form names foreach {n v} [array get typemap] { foreach {len scan} $v break #puts stderr "Adding $scan - [list $len $scan]" set typemap($scan) [list $len $scan] } # The special Q and Y short forms are incorrect, correct now to # use the proper native endianess. # {to do} {Is ldate done correctly in the procedure? What is its byte # order anyway? Native?} if {$tcl_platform(byteOrder) eq "littleEndian"} { array set typemap {Q {4 i} Y {2 s} short {2 s} long {4 i} quad {8 w} } } else { array set typemap {Q {4 I} Y {2 S} short {2 S} long {4 I} quad {8 W} } } } ::fileutil::magic::rt::Init # ### ### ### ######### ######### ######### ## Ready for use. package provide fileutil::magic::rt 1.2 # EOF |
Changes to modules/fumagic/tmc.
1 2 3 4 5 6 7 8 9 10 11 | #! /bin/sh # -*- tcl -*- \ exec tclsh "$0" ${1+"$@"} # TMC - Trival Magic Compiler # === = ===================== # Use cases # --------- # (-) Compilation of one or more files in magic(5) syntax into a | | | | > | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #! /bin/sh # -*- tcl -*- \ exec tclsh "$0" ${1+"$@"} # TMC - Trival Magic Compiler # === = ===================== # Use cases # --------- # (-) Compilation of one or more files in magic(5) syntax into a # list of recognizers performing all the checks and mappings # encoded in them. # # Command syntax # -------------- # # Ad 1) tmc namespace magic-file ?magic-file...? # # Compile all magic files list of recognizers, generate a script which # assigns the recognizers to $namespace::tests and $namespace::named and # write the script to stdout. # # Ad 2) tmc -merge tclfile namespace magic-file ?magic-file...? # # Same as (1), but does not write to stdout. Instead the part of # the 'tclfile' delineated by marker lines containing "BEGIN # GENERATED CODE" and "END GENERATED CODE" is replaced with the # generated code. package require Tcl 8.4 set auto_path [linsert $auto_path 0 [file dirname [file normalize [info script]]]] ; # This directory set auto_path [linsert $auto_path 0 [file dirname [lindex $auto_path end]]]] ; # and the one above #puts *\t[join $auto_path \n*\t] package require fileutil::magic::cfront # ### ### ### ######### ######### ######### ## Internal data and status namespace eval ::tmc { |
︙ | ︙ | |||
72 73 74 75 76 77 78 | ## proc ::tmc::processCmdline {} { global argv variable output variable magic | | | | | | | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | ## proc ::tmc::processCmdline {} { global argv variable output variable magic variable namespace set output "" set magic {} set namespace "" # Process the options, perform basic validation. while {[llength $argv]} { set opt [lindex $argv 0] if {![string match "-*" $opt]} break if {$opt eq "-merge"} { if {[llength $argv] < 2} Usage set output [lindex $argv 1] set argv [lrange $argv 2 end] } else { Usage } } # Additional validation, and extraction of the non-option # arguments. if {[llength $argv] != 2} Usage set namespace [lindex $argv 0] set magic [lrange $argv 1 end] # Final validation across the whole configuration. if {$namespace eq ""} { ArgError "Illegal empty namespace name" } foreach m $magic { CheckInput $m {Magic file} } if {$output ne ""} { CheckTheMerge } |
︙ | ︙ | |||
127 128 129 130 131 132 133 | # Both write their messages to stderr and then # exit the application with status 1. ## proc ::tmc::Usage {} { global argv0 puts stderr "$argv0 wrong#args, expected:\ | | | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | # Both write their messages to stderr and then # exit the application with status 1. ## proc ::tmc::Usage {} { global argv0 puts stderr "$argv0 wrong#args, expected:\ ?-merge iofile? namespace magic magic..." exit 1 } proc ::tmc::ArgError {text} { global argv0 puts stderr "$argv0: $text" exit 1 |
︙ | ︙ | |||
222 223 224 225 226 227 228 | } # ### ### ### ######### ######### ######### ## Invoking the functionality. if {[catch { # Read and process all input files. | | | | | 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | } # ### ### ### ######### ######### ######### ## Invoking the functionality. if {[catch { # Read and process all input files. # Generate commands into a namespace. # Write the result either to stdout, or merge # into the specified output file. set tcl [eval [linsert $tmc::magic 0 \ fileutil::magic::cfront::generate \ $tmc::namespace]] if {$tmc::output eq ""} { puts stdout $tcl } else { ::tmc::Merge $tmc::output \n${tcl}\n } } msg]} { puts $::errorInfo ::tmc::ArgError $msg } # ### ### ### ######### ######### ######### exit |
Changes to support/devel/sak/doc/kwic.txt.
︙ | ︙ | |||
1075 1076 1077 1078 1079 1080 1081 | [manpage modules/tie/tie.man tie] [manpage modules/tie/tie_std.man tie] [manpage modules/uri/uri.man uri] [key {file recognition}] [manpage modules/fumagic/cfront.man fileutil::magic::cfront] [manpage modules/fumagic/cgen.man fileutil::magic::cgen] [manpage modules/fumagic/filetypes.man fileutil::magic::filetype] | < < < | 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 | [manpage modules/tie/tie.man tie] [manpage modules/tie/tie_std.man tie] [manpage modules/uri/uri.man uri] [key {file recognition}] [manpage modules/fumagic/cfront.man fileutil::magic::cfront] [manpage modules/fumagic/cgen.man fileutil::magic::cgen] [manpage modules/fumagic/filetypes.man fileutil::magic::filetype] [manpage modules/fumagic/rtcore.man fileutil::magic::rt] [key {file type}] [manpage modules/fumagic/cfront.man fileutil::magic::cfront] [manpage modules/fumagic/cgen.man fileutil::magic::cgen] [manpage modules/fumagic/filetypes.man fileutil::magic::filetype] [manpage modules/fumagic/rtcore.man fileutil::magic::rt] [key {file utilities}] [manpage modules/fileutil/fileutil.man fileutil] [manpage modules/fumagic/cfront.man fileutil::magic::cfront] [manpage modules/fumagic/cgen.man fileutil::magic::cgen] [manpage modules/fumagic/filetypes.man fileutil::magic::filetype] [manpage modules/fumagic/rtcore.man fileutil::magic::rt] [manpage modules/fileutil/multi.man fileutil::multi] [manpage modules/fileutil/multiop.man fileutil::multi::op] [key filesystem] [manpage modules/map/map_slippy_cache.man map::slippy::cache] [key filter] [manpage modules/generator/generator.man generator] |
︙ | ︙ | |||
1940 1941 1942 1943 1944 1945 1946 | [key method] [manpage modules/interp/deleg_method.man deleg_method] [manpage modules/interp/tcllib_interp.man interp] [key {method reference}] [manpage modules/ooutil/ooutil.man oo::util] [manpage modules/tool/meta.man oo::util] [key mime] | | | < | | | | 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 | [key method] [manpage modules/interp/deleg_method.man deleg_method] [manpage modules/interp/tcllib_interp.man interp] [key {method reference}] [manpage modules/ooutil/ooutil.man oo::util] [manpage modules/tool/meta.man oo::util] [key mime] [manpage modules/fumagic/cfront.man fileutil::magic::cfront] [manpage modules/fumagic/cgen.man fileutil::magic::cgen] [manpage modules/fumagic/rtcore.man fileutil::magic::rt] [manpage modules/mime/mime.man mime] [manpage modules/mime/smtp.man smtp] [key {minimal spanning tree}] [manpage modules/struct/graphops.man struct::graph::op] [key minimum] [manpage modules/math/optimize.man math::optimize] [key {minimum cost flow}] [manpage modules/struct/graphops.man struct::graph::op] [key {minimum degree spanning tree}] |
︙ | ︙ | |||
1977 1978 1979 1980 1981 1982 1983 | [key multiprecision] [manpage modules/math/bigfloat.man math::bigfloat] [manpage modules/math/bignum.man math::bignum] [key {my method}] [manpage modules/ooutil/ooutil.man oo::util] [manpage modules/tool/meta.man oo::util] [key {name service}] | | | | | | | | | | > | 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 | [key multiprecision] [manpage modules/math/bigfloat.man math::bigfloat] [manpage modules/math/bignum.man math::bignum] [key {my method}] [manpage modules/ooutil/ooutil.man oo::util] [manpage modules/tool/meta.man oo::util] [key {name service}] [manpage modules/nns/nns_client.man nameserv] [manpage modules/nns/nns_auto.man nameserv::auto] [manpage modules/nns/nns_common.man nameserv::common] [manpage modules/nns/nns_protocol.man nameserv::protocol] [manpage modules/nns/nns_server.man nameserv::server] [manpage apps/nns.man nns] [manpage modules/nns/nns_intro.man nns_intro] [manpage apps/nnsd.man nnsd] [manpage apps/nnslog.man nnslog] [manpage modules/udpcluster/udpcluster.man udpcluster] [key {namespace unknown}] [manpage modules/namespacex/namespacex.man namespacex] [key {namespace utilities}] [manpage modules/namespacex/namespacex.man namespacex] [key narrative] [manpage modules/debug/debug.man debug] [manpage modules/debug/debug_caller.man debug::caller] |
︙ | ︙ | |||
2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 | [key server] [manpage modules/map/map_geocode_nominatim.man map::geocode::nominatim] [manpage modules/map/map_slippy_fetcher.man map::slippy::fetcher] [manpage modules/nns/nns_common.man nameserv::common] [manpage modules/nns/nns_server.man nameserv::server] [manpage modules/nns/nns_intro.man nns_intro] [manpage apps/nnsd.man nnsd] [key service] [manpage modules/log/logger.man logger] [key services] [manpage modules/ftpd/ftpd.man ftpd] [manpage modules/smtpd/smtpd.man smtpd] [key set] [manpage modules/struct/queue.man struct::queue] | > | 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 | [key server] [manpage modules/map/map_geocode_nominatim.man map::geocode::nominatim] [manpage modules/map/map_slippy_fetcher.man map::slippy::fetcher] [manpage modules/nns/nns_common.man nameserv::common] [manpage modules/nns/nns_server.man nameserv::server] [manpage modules/nns/nns_intro.man nns_intro] [manpage apps/nnsd.man nnsd] [manpage modules/udpcluster/udpcluster.man udpcluster] [key service] [manpage modules/log/logger.man logger] [key services] [manpage modules/ftpd/ftpd.man ftpd] [manpage modules/smtpd/smtpd.man smtpd] [key set] [manpage modules/struct/queue.man struct::queue] |
︙ | ︙ | |||
3543 3544 3545 3546 3547 3548 3549 | [key twitter] [manpage modules/oauth/oauth.man oauth] [key type] [manpage modules/fileutil/fileutil.man fileutil] [manpage modules/fumagic/cfront.man fileutil::magic::cfront] [manpage modules/fumagic/cgen.man fileutil::magic::cgen] [manpage modules/fumagic/filetypes.man fileutil::magic::filetype] | < | 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 | [key twitter] [manpage modules/oauth/oauth.man oauth] [key type] [manpage modules/fileutil/fileutil.man fileutil] [manpage modules/fumagic/cfront.man fileutil::magic::cfront] [manpage modules/fumagic/cgen.man fileutil::magic::cgen] [manpage modules/fumagic/filetypes.man fileutil::magic::filetype] [manpage modules/fumagic/rtcore.man fileutil::magic::rt] [manpage modules/snit/snit.man snit] [key {Type checking}] [manpage modules/valtype/valtype_common.man valtype::common] [manpage modules/valtype/cc_amex.man valtype::creditcard::amex] [manpage modules/valtype/cc_discover.man valtype::creditcard::discover] [manpage modules/valtype/cc_mastercard.man valtype::creditcard::mastercard] |
︙ | ︙ |
Changes to support/devel/sak/doc/manpages.txt.
︙ | ︙ | |||
125 126 127 128 129 130 131 | modules/fileutil/traverse.man modules/ftp/ftp.man modules/ftp/ftp_geturl.man modules/ftpd/ftpd.man modules/fumagic/cfront.man modules/fumagic/cgen.man modules/fumagic/filetypes.man | < | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | modules/fileutil/traverse.man modules/ftp/ftp.man modules/ftp/ftp_geturl.man modules/ftpd/ftpd.man modules/fumagic/cfront.man modules/fumagic/cgen.man modules/fumagic/filetypes.man modules/fumagic/rtcore.man modules/generator/generator.man modules/gpx/gpx.man modules/grammar_aycock/aycock.man modules/grammar_fa/dacceptor.man modules/grammar_fa/dexec.man modules/grammar_fa/fa.man |
︙ | ︙ | |||
360 361 362 363 364 365 366 367 368 369 370 371 372 373 | modules/transfer/dsource.man modules/transfer/receiver.man modules/transfer/tqueue.man modules/transfer/transmitter.man modules/treeql/treeql.man modules/try/tcllib_throw.man modules/try/tcllib_try.man modules/uev/uevent.man modules/uev/uevent_onidle.man modules/units/units.man modules/uri/uri.man modules/uri/urn-scheme.man modules/uuid/uuid.man modules/valtype/cc_amex.man | > | 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 | modules/transfer/dsource.man modules/transfer/receiver.man modules/transfer/tqueue.man modules/transfer/transmitter.man modules/treeql/treeql.man modules/try/tcllib_throw.man modules/try/tcllib_try.man modules/udpcluster/udpcluster.man modules/uev/uevent.man modules/uev/uevent_onidle.man modules/units/units.man modules/uri/uri.man modules/uri/urn-scheme.man modules/uuid/uuid.man modules/valtype/cc_amex.man |
︙ | ︙ |
Changes to support/devel/sak/doc/toc.txt.
︙ | ︙ | |||
215 216 217 218 219 220 221 | [item modules/math/special.man math::special {Special mathematical functions}] [item modules/math/statistics.man math::statistics {Basic statistical functions and procedures}] [item modules/simulation/annealing.man simulation::annealing {Simulated annealing}] [item modules/simulation/montecarlo.man simulation::montecarlo {Monte Carlo simulations}] [item modules/simulation/simulation_random.man simulation::random {Pseudo-random number generators}] [division_end] [division_start Networking] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > | | | | 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | [item modules/math/special.man math::special {Special mathematical functions}] [item modules/math/statistics.man math::statistics {Basic statistical functions and procedures}] [item modules/simulation/annealing.man simulation::annealing {Simulated annealing}] [item modules/simulation/montecarlo.man simulation::montecarlo {Monte Carlo simulations}] [item modules/simulation/simulation_random.man simulation::random {Pseudo-random number generators}] [division_end] [division_start Networking] [item modules/asn/asn.man asn {ASN.1 BER encoder/decoder}] [item modules/http/autoproxy.man autoproxy {Automatic HTTP proxy usage and authentication}] [item modules/bee/bee.man bee {BitTorrent Serialization Format Encoder/Decoder}] [item modules/dns/tcllib_dns.man dns {Tcl Domain Name Service Client}] [item modules/ftp/ftp.man ftp {Client-side tcl implementation of the ftp protocol}] [item modules/ftp/ftp_geturl.man ftp::geturl {Uri handler for ftp urls}] [item modules/ftpd/ftpd.man ftpd {Tcl FTP server implementation}] [item modules/ident/ident.man ident {Ident protocol client}] [item modules/irc/irc.man irc {Create IRC connection and interface.}] [item modules/ldap/ldap.man ldap {LDAP client}] [item modules/ldap/ldapx.man ldapx {LDAP extended object interface}] [item modules/nns/nns_client.man nameserv {Name service facility, Client}] [item modules/nns/nns_auto.man nameserv::auto {Name service facility, Client Extension}] [item modules/nns/nns_common.man nameserv::common {Name service facility, shared definitions}] [item modules/nns/nns_protocol.man nameserv::protocol {Name service facility, client/server protocol}] [item modules/nns/nns_server.man nameserv::server {Name service facility, Server}] [item modules/nmea/nmea.man nmea {Process NMEA data}] [item apps/nns.man nns {Name service facility, Commandline Client Application}] [item modules/nns/nns_intro.man nns_intro {Name service facility, introduction}] [item apps/nnsd.man nnsd {Name service facility, Commandline Server Application}] [item apps/nnslog.man nnslog {Name service facility, Commandline Logging Client Application}] [item modules/nntp/nntp.man nntp {Tcl client for the NNTP protocol}] [item modules/ntp/ntp_time.man ntp_time {Tcl Time Service Client}] [item modules/oauth/oauth.man oauth {oauth API base signature}] [item modules/irc/picoirc.man picoirc {Small and simple embeddable IRC client.}] [item modules/pop3/pop3.man pop3 {Tcl client for POP3 email protocol}] [item modules/pop3d/pop3d.man pop3d {Tcl POP3 server implementation}] [item modules/pop3d/pop3d_dbox.man pop3d::dbox {Simple mailbox database for pop3d}] [item modules/pop3d/pop3d_udb.man pop3d::udb {Simple user database for pop3d}] [item modules/amazon-s3/S3.man S3 {Amazon S3 Web Service Interface}] [item modules/sasl/sasl.man SASL {Implementation of SASL mechanisms for Tcl}] [item modules/sasl/ntlm.man SASL::NTLM {Implementation of SASL NTLM mechanism for Tcl}] [item modules/sasl/scram.man SASL::SCRAM {Implementation of SASL SCRAM mechanism for Tcl}] [item modules/sasl/gtoken.man SASL::XGoogleToken {Implementation of SASL NTLM mechanism for Tcl}] [item modules/mime/smtp.man smtp {Client-side tcl implementation of the smtp protocol}] [item modules/smtpd/smtpd.man smtpd {Tcl SMTP server implementation}] [item modules/dns/tcllib_ip.man tcllib_ip {IPv4 and IPv6 address manipulation}] [item modules/udpcluster/udpcluster.man udpcluster {UDP Peer-to-Peer cluster}] [item modules/uri/uri.man uri {URI utilities}] [item modules/uri/urn-scheme.man uri_urn {URI utilities, URN scheme}] [item modules/websocket/websocket.man websocket {Tcl implementation of the websocket protocol}] [division_end] [division_start {Page Parser Generator}] [item apps/page.man page {Parser Generator}] [item modules/page/page_intro.man page_intro {page introduction}] [item modules/page/page_pluginmgr.man page_pluginmgr {page plugin manager}] [item modules/page/page_util_flow.man page_util_flow {page dataflow/treewalker utility}] [item modules/page/page_util_norm_lemon.man page_util_norm_lemon {page AST normalization, LEMON}] |
︙ | ︙ | |||
325 326 327 328 329 330 331 | [item modules/control/control.man control {Procedures for control flow structures.}] [item modules/interp/deleg_method.man deleg_method {Creation of comm delegates (snit methods)}] [item modules/interp/deleg_proc.man deleg_proc {Creation of comm delegates (procedures)}] [item modules/fileutil/fileutil.man fileutil {Procedures implementing some file utilities}] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] | < | 326 327 328 329 330 331 332 333 334 335 336 337 338 339 | [item modules/control/control.man control {Procedures for control flow structures.}] [item modules/interp/deleg_method.man deleg_method {Creation of comm delegates (snit methods)}] [item modules/interp/deleg_proc.man deleg_proc {Creation of comm delegates (procedures)}] [item modules/fileutil/fileutil.man fileutil {Procedures implementing some file utilities}] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] [item modules/fumagic/rtcore.man fileutil::magic::rt {Runtime core for file type recognition engines written in pure Tcl}] [item modules/fileutil/multi.man fileutil::multi {Multi-file operation, scatter/gather, standard object}] [item modules/fileutil/multiop.man fileutil::multi::op {Multi-file operation, scatter/gather}] [item modules/fileutil/traverse.man fileutil_traverse {Iterative directory traversal}] [item modules/hook/hook.man hook Hooks] [item modules/interp/tcllib_interp.man interp {Interp creation and aliasing}] [item modules/log/log.man log {Procedures to log messages of libraries and applications.}] |
︙ | ︙ | |||
675 676 677 678 679 680 681 | [division_start ftpd] [item modules/ftpd/ftpd.man ftpd {Tcl FTP server implementation}] [division_end] [division_start fumagic] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] | < | 675 676 677 678 679 680 681 682 683 684 685 686 687 688 | [division_start ftpd] [item modules/ftpd/ftpd.man ftpd {Tcl FTP server implementation}] [division_end] [division_start fumagic] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] [item modules/fumagic/rtcore.man fileutil::magic::rt {Runtime core for file type recognition engines written in pure Tcl}] [division_end] [division_start generator] [item modules/generator/generator.man generator {Procedures for creating and using generators.}] [division_end] [division_start gpx] [item modules/gpx/gpx.man gpx {Extracts waypoints, tracks and routes from GPX files}] |
︙ | ︙ | |||
1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 | [division_start treeql] [item modules/treeql/treeql.man treeql {Query tree objects}] [division_end] [division_start try] [item modules/try/tcllib_throw.man throw {throw - Throw an error exception with a message}] [item modules/try/tcllib_try.man try {try - Trap and process errors and exceptions}] [division_end] [division_start uev] [item modules/uev/uevent.man uevent {User events}] [item modules/uev/uevent_onidle.man uevent::onidle {Request merging and deferal to idle time}] [division_end] [division_start units] [item modules/units/units.man units {unit conversion}] [division_end] | > > > | 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 | [division_start treeql] [item modules/treeql/treeql.man treeql {Query tree objects}] [division_end] [division_start try] [item modules/try/tcllib_throw.man throw {throw - Throw an error exception with a message}] [item modules/try/tcllib_try.man try {try - Trap and process errors and exceptions}] [division_end] [division_start udpcluster] [item modules/udpcluster/udpcluster.man udpcluster {UDP Peer-to-Peer cluster}] [division_end] [division_start uev] [item modules/uev/uevent.man uevent {User events}] [item modules/uev/uevent_onidle.man uevent::onidle {Request merging and deferal to idle time}] [division_end] [division_start units] [item modules/units/units.man units {unit conversion}] [division_end] |
︙ | ︙ |
Changes to support/devel/sak/doc/toc_cats.txt.
︙ | ︙ | |||
215 216 217 218 219 220 221 | [item modules/math/special.man math::special {Special mathematical functions}] [item modules/math/statistics.man math::statistics {Basic statistical functions and procedures}] [item modules/simulation/annealing.man simulation::annealing {Simulated annealing}] [item modules/simulation/montecarlo.man simulation::montecarlo {Monte Carlo simulations}] [item modules/simulation/simulation_random.man simulation::random {Pseudo-random number generators}] [division_end] [division_start Networking] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > | | | | 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | [item modules/math/special.man math::special {Special mathematical functions}] [item modules/math/statistics.man math::statistics {Basic statistical functions and procedures}] [item modules/simulation/annealing.man simulation::annealing {Simulated annealing}] [item modules/simulation/montecarlo.man simulation::montecarlo {Monte Carlo simulations}] [item modules/simulation/simulation_random.man simulation::random {Pseudo-random number generators}] [division_end] [division_start Networking] [item modules/asn/asn.man asn {ASN.1 BER encoder/decoder}] [item modules/http/autoproxy.man autoproxy {Automatic HTTP proxy usage and authentication}] [item modules/bee/bee.man bee {BitTorrent Serialization Format Encoder/Decoder}] [item modules/dns/tcllib_dns.man dns {Tcl Domain Name Service Client}] [item modules/ftp/ftp.man ftp {Client-side tcl implementation of the ftp protocol}] [item modules/ftp/ftp_geturl.man ftp::geturl {Uri handler for ftp urls}] [item modules/ftpd/ftpd.man ftpd {Tcl FTP server implementation}] [item modules/ident/ident.man ident {Ident protocol client}] [item modules/irc/irc.man irc {Create IRC connection and interface.}] [item modules/ldap/ldap.man ldap {LDAP client}] [item modules/ldap/ldapx.man ldapx {LDAP extended object interface}] [item modules/nns/nns_client.man nameserv {Name service facility, Client}] [item modules/nns/nns_auto.man nameserv::auto {Name service facility, Client Extension}] [item modules/nns/nns_common.man nameserv::common {Name service facility, shared definitions}] [item modules/nns/nns_protocol.man nameserv::protocol {Name service facility, client/server protocol}] [item modules/nns/nns_server.man nameserv::server {Name service facility, Server}] [item modules/nmea/nmea.man nmea {Process NMEA data}] [item apps/nns.man nns {Name service facility, Commandline Client Application}] [item modules/nns/nns_intro.man nns_intro {Name service facility, introduction}] [item apps/nnsd.man nnsd {Name service facility, Commandline Server Application}] [item apps/nnslog.man nnslog {Name service facility, Commandline Logging Client Application}] [item modules/nntp/nntp.man nntp {Tcl client for the NNTP protocol}] [item modules/ntp/ntp_time.man ntp_time {Tcl Time Service Client}] [item modules/oauth/oauth.man oauth {oauth API base signature}] [item modules/irc/picoirc.man picoirc {Small and simple embeddable IRC client.}] [item modules/pop3/pop3.man pop3 {Tcl client for POP3 email protocol}] [item modules/pop3d/pop3d.man pop3d {Tcl POP3 server implementation}] [item modules/pop3d/pop3d_dbox.man pop3d::dbox {Simple mailbox database for pop3d}] [item modules/pop3d/pop3d_udb.man pop3d::udb {Simple user database for pop3d}] [item modules/amazon-s3/S3.man S3 {Amazon S3 Web Service Interface}] [item modules/sasl/sasl.man SASL {Implementation of SASL mechanisms for Tcl}] [item modules/sasl/ntlm.man SASL::NTLM {Implementation of SASL NTLM mechanism for Tcl}] [item modules/sasl/scram.man SASL::SCRAM {Implementation of SASL SCRAM mechanism for Tcl}] [item modules/sasl/gtoken.man SASL::XGoogleToken {Implementation of SASL NTLM mechanism for Tcl}] [item modules/mime/smtp.man smtp {Client-side tcl implementation of the smtp protocol}] [item modules/smtpd/smtpd.man smtpd {Tcl SMTP server implementation}] [item modules/dns/tcllib_ip.man tcllib_ip {IPv4 and IPv6 address manipulation}] [item modules/udpcluster/udpcluster.man udpcluster {UDP Peer-to-Peer cluster}] [item modules/uri/uri.man uri {URI utilities}] [item modules/uri/urn-scheme.man uri_urn {URI utilities, URN scheme}] [item modules/websocket/websocket.man websocket {Tcl implementation of the websocket protocol}] [division_end] [division_start {Page Parser Generator}] [item apps/page.man page {Parser Generator}] [item modules/page/page_intro.man page_intro {page introduction}] [item modules/page/page_pluginmgr.man page_pluginmgr {page plugin manager}] [item modules/page/page_util_flow.man page_util_flow {page dataflow/treewalker utility}] [item modules/page/page_util_norm_lemon.man page_util_norm_lemon {page AST normalization, LEMON}] |
︙ | ︙ | |||
325 326 327 328 329 330 331 | [item modules/control/control.man control {Procedures for control flow structures.}] [item modules/interp/deleg_method.man deleg_method {Creation of comm delegates (snit methods)}] [item modules/interp/deleg_proc.man deleg_proc {Creation of comm delegates (procedures)}] [item modules/fileutil/fileutil.man fileutil {Procedures implementing some file utilities}] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] | < | 326 327 328 329 330 331 332 333 334 335 336 337 338 339 | [item modules/control/control.man control {Procedures for control flow structures.}] [item modules/interp/deleg_method.man deleg_method {Creation of comm delegates (snit methods)}] [item modules/interp/deleg_proc.man deleg_proc {Creation of comm delegates (procedures)}] [item modules/fileutil/fileutil.man fileutil {Procedures implementing some file utilities}] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] [item modules/fumagic/rtcore.man fileutil::magic::rt {Runtime core for file type recognition engines written in pure Tcl}] [item modules/fileutil/multi.man fileutil::multi {Multi-file operation, scatter/gather, standard object}] [item modules/fileutil/multiop.man fileutil::multi::op {Multi-file operation, scatter/gather}] [item modules/fileutil/traverse.man fileutil_traverse {Iterative directory traversal}] [item modules/hook/hook.man hook Hooks] [item modules/interp/tcllib_interp.man interp {Interp creation and aliasing}] [item modules/log/log.man log {Procedures to log messages of libraries and applications.}] |
︙ | ︙ |
Changes to support/devel/sak/doc/toc_mods.txt.
︙ | ︙ | |||
185 186 187 188 189 190 191 | [division_start ftpd] [item modules/ftpd/ftpd.man ftpd {Tcl FTP server implementation}] [division_end] [division_start fumagic] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] | < | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | [division_start ftpd] [item modules/ftpd/ftpd.man ftpd {Tcl FTP server implementation}] [division_end] [division_start fumagic] [item modules/fumagic/cfront.man fileutil::magic::cfront {Generator core for compiler of magic(5) files}] [item modules/fumagic/cgen.man fileutil::magic::cgen {Generator core for compiler of magic(5) files}] [item modules/fumagic/filetypes.man fileutil::magic::filetype {Procedures implementing file-type recognition}] [item modules/fumagic/rtcore.man fileutil::magic::rt {Runtime core for file type recognition engines written in pure Tcl}] [division_end] [division_start generator] [item modules/generator/generator.man generator {Procedures for creating and using generators.}] [division_end] [division_start gpx] [item modules/gpx/gpx.man gpx {Extracts waypoints, tracks and routes from GPX files}] |
︙ | ︙ | |||
571 572 573 574 575 576 577 578 579 580 581 582 583 584 | [division_start treeql] [item modules/treeql/treeql.man treeql {Query tree objects}] [division_end] [division_start try] [item modules/try/tcllib_throw.man throw {throw - Throw an error exception with a message}] [item modules/try/tcllib_try.man try {try - Trap and process errors and exceptions}] [division_end] [division_start uev] [item modules/uev/uevent.man uevent {User events}] [item modules/uev/uevent_onidle.man uevent::onidle {Request merging and deferal to idle time}] [division_end] [division_start units] [item modules/units/units.man units {unit conversion}] [division_end] | > > > | 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 | [division_start treeql] [item modules/treeql/treeql.man treeql {Query tree objects}] [division_end] [division_start try] [item modules/try/tcllib_throw.man throw {throw - Throw an error exception with a message}] [item modules/try/tcllib_try.man try {try - Trap and process errors and exceptions}] [division_end] [division_start udpcluster] [item modules/udpcluster/udpcluster.man udpcluster {UDP Peer-to-Peer cluster}] [division_end] [division_start uev] [item modules/uev/uevent.man uevent {User events}] [item modules/uev/uevent_onidle.man uevent::onidle {Request merging and deferal to idle time}] [division_end] [division_start units] [item modules/units/units.man units {unit conversion}] [division_end] |
︙ | ︙ |