Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
table_type [2020/02/10 21:27] admin [Table Type] |
table_type [2020/02/10 21:37] admin [Table Type] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Table Type ====== | ====== Table Type ====== | ||
- | A table is a collection of [[wp>Tuple|tuples]], where each tuple may be formed by several keys and values. The set of keys must be unique for each tuple. | + | A table is a collection of [[wp>Tuple|tuples]] (or rows), where each tuple may be formed by several keys and values. The set of keys must be unique for each row. |
[{{ :editors:table_basics_1.png?nolink |Table Basics}}] | [{{ :editors:table_basics_1.png?nolink |Table Basics}}] | ||
Line 7: | Line 7: | ||
[{{ :editors:table_basics_2.png?nolink |Table Basics}}] | [{{ :editors:table_basics_2.png?nolink |Table Basics}}] | ||
- | The set of all elements at the same position in all tuples defines a column. All columns must have a unique name. The names must follow the general name convention in Dinamica EGO, they must start with a "_" or a letter and must be formed by letters, numbers and underscores. Blanks in names are automatically replaced by "_" (underscore). | + | The set of all elements at the same position in all rows defines a column. All columns must have a unique name. The names must follow the general name convention in Dinamica EGO, they must start with a "_" or a letter and must be formed by letters, numbers and underscores. Blanks in names are automatically replaced by "_" (underscore). |
Keys and values can be represented using double precision [[wp>Floating_point|floating point numbers]], allowing the definition of integral and fractional values, or [[wp>String_(computer_science)|strings]]. | Keys and values can be represented using double precision [[wp>Floating_point|floating point numbers]], allowing the definition of integral and fractional values, or [[wp>String_(computer_science)|strings]]. |