|
function | get_table_ri (r, ri) |
| Get the table row index that matches a table row identifier. More...
|
|
function | get_table_r (r, ri) |
| Get the table row that matches a table row identifier. More...
|
|
function | get_table_ci (c, ci) |
| Get the table column index that matches a table column identifier. More...
|
|
function | get_table_c (c, ci) |
| Get the table column that matches a table column identifier. More...
|
|
function | get_table_v (r, c, ri, ci) |
| Get the table cell value for a specified row and column identifier. More...
|
|
function | get_table_crl (r, c, ci) |
| Form a list of a select column across all table rows. More...
|
|
function | get_table_ridl (r) |
| Form a list of all table row identifiers. More...
|
|
function | get_table_cidl (c) |
| Form a list of all table column identifiers. More...
|
|
function | table_exists (r, c, ri, ci) |
| Test the existence of a table row and column identifier. More...
|
|
function | get_table_size (r, c) |
| Get the size of a table. More...
|
|
function | get_table_copy (r, c, rl, cl) |
| Create a new matrix from select rows and columns of a table. More...
|
|
function | get_table_sum (r, c, rl, cl) |
| Sum select rows and columns of a table. More...
|
|
module | table_check (r, c, verbose=false) |
| Perform some basic validation/checks on a table. More...
|
|
module | table_dump (r, c, rl, cl, number=true) |
| Dump a table to the console. More...
|
|
Table data type operations.
ECHO: "[ INFO ] table_check(); begin table check"
ECHO: "[ INFO ] table_check(); row identifier found at column zero."
ECHO: "[ INFO ] table_check(); checking row column counts."
ECHO: "[ INFO ] table_check(); checking for repeat column identifiers."
ECHO: "[ INFO ] table_check(); checking for repeat row identifiers."
ECHO: "[ INFO ] table_check(); table size: 4 rows by 8 columns."
ECHO: "[ INFO ] table_check(); end table check"
ECHO: ""
ECHO: "row: 0"
ECHO: "[m3r08r] [id] (row identifier) = [m3r08r]"
ECHO: "[m3r08r] [ht] (head type [r|h|s]) = [r]"
ECHO: "[m3r08r] [td] (thread diameter) = [3]"
ECHO: "[m3r08r] [tl] (thread length) = [8]"
ECHO: "[m3r08r] [hd] (head diameter) = [5.5]"
ECHO: "[m3r08r] [hl] (head length) = [3]"
ECHO: "[m3r08r] [nd] (hex nut flat-to-flat width) = [5.5]"
ECHO: "[m3r08r] [nl] (hex nut length) = [25.4]"
ECHO: ""
ECHO: "row: 1"
ECHO: "[m3r14r] [id] (row identifier) = [m3r14r]"
ECHO: "[m3r14r] [ht] (head type [r|h|s]) = [r]"
ECHO: "[m3r14r] [td] (thread diameter) = [3]"
ECHO: "[m3r14r] [tl] (thread length) = [14]"
ECHO: "[m3r14r] [hd] (head diameter) = [5.5]"
ECHO: "[m3r14r] [hl] (head length) = [3]"
ECHO: "[m3r14r] [nd] (hex nut flat-to-flat width) = [5.5]"
ECHO: "[m3r14r] [nl] (hex nut length) = [31.75]"
ECHO: ""
ECHO: "row: 2"
ECHO: "[m3r16r] [id] (row identifier) = [m3r16r]"
ECHO: "[m3r16r] [ht] (head type [r|h|s]) = [r]"
ECHO: "[m3r16r] [td] (thread diameter) = [3]"
ECHO: "[m3r16r] [tl] (thread length) = [16]"
ECHO: "[m3r16r] [hd] (head diameter) = [5.5]"
ECHO: "[m3r16r] [hl] (head length) = [3]"
ECHO: "[m3r16r] [nd] (hex nut flat-to-flat width) = [5.5]"
ECHO: "[m3r16r] [nl] (hex nut length) = [38.1]"
ECHO: ""
ECHO: "row: 3"
ECHO: "[m3r20r] [id] (row identifier) = [m3r20r]"
ECHO: "[m3r20r] [ht] (head type [r|h|s]) = [r]"
ECHO: "[m3r20r] [td] (thread diameter) = [3]"
ECHO: "[m3r20r] [tl] (thread length) = [20]"
ECHO: "[m3r20r] [hd] (head diameter) = [5.5]"
ECHO: "[m3r20r] [hl] (head length) = [3]"
ECHO: "[m3r20r] [nd] (hex nut flat-to-flat width) = [5.5]"
ECHO: "[m3r20r] [nl] (hex nut length) = [44.45]"
ECHO: ""
ECHO: "table size: 4 rows by 8 columns."
ECHO: "metric 'nl' available"
ECHO: table_ids = ["m3r08r", "m3r14r", "m3r16r", "m3r20r"]
ECHO: table_cols_tl = [8, 14, 16, 20]
ECHO: m3r16r_tl = 16
ECHO: tnew = [[8, 25.4], [14, 31.75], [16, 38.1], [20, 44.45]]
ECHO: tsum = [58, 139.7]