Tuple... an Explanation: Difference between revisions
No edit summary |
(playing with operations list) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Tuple == | == Tuple == | ||
Within Planimate a Tuple is considered to be a collection of data components stored in a row of a table or on an item in the form if item attributes. | Within Planimate a '''Tuple '''is considered to be a collection of data components stored in a row of a table or on an item in the form if item attributes. | ||
Planimate offers a variety of [[Routine Operations|Routine Operations]] that assist in the | Planimate offers a variety of [[Routine Operations|Routine Operations]] that assist in the transfer of the tuple information between item and tables. These are listed below. | ||
<br> | <br> | ||
== Tuple Routine Operations == | == Tuple Routine Operations == | ||
<dpl> | |||
titlematch=%Tuple%|%tuple% | |||
<dpl>titlematch=tuple | |||
notnamespace=Category | notnamespace=Category | ||
category=Routine | |||
ordermethod=pagetouched | ordermethod=pagetouched | ||
order=descending</dpl | order=descending | ||
</dpl> | |||
<br> | <br> | ||
== Tuple Defined == | == Tuple Defined == | ||
Mathematically a Tuple is considered to be a sequence or 'Ordered list' of a specific number of values. Traditionally tuples are described as an n-Tuple where n represents the number of values within the ordered list. <br>Programming languages such as C, LISP, make use of tuples as a data type. Common uses for the tuple as a data type include, for passing a string of parameters from one program to another, and representing a set of value attributes in a relational database. In some languages, tuples can be nested within other tuples within parentheses or brackets or other delimiters. Importantly, tuples can contain a mixture of other data types. <br> | |||
<br> | |||
== The Difference in Planimate == | |||
Planimate makes use of the term tuple a little more loosely. | |||
The key differences include: | |||
*In Planimate, a tuple is | *In Planimate, a tuple is implicitly set by the names of items attributes and table columns that happen to match. Usually they are more explicitly defined. | ||
*Other languages provide | *Other languages provide greater opportunities to manage tuples as a collection of records. In Planimate, a single item can only carry multiple tuples only if their element names don't clash. | ||
*Other languages support different data types (int, float, strings) as members of their | *Other languages support different data types (int, float, strings) as members of their tuple's and complain if you mix things up. Planimate treats everything as floating point numbers. Planimate doesn't have the luxury of being compiled to assembly like other languages, slowing data processing. | ||
<br> | <br> | ||
== Related Articles == | == Related Articles == | ||
[[Category: | <dpl> | ||
titlematch=%Tuple%|%tuple% | |||
notnamespace=Category | |||
notcategory=Routine | |||
ordermethod=pagetouched | |||
order=descending | |||
</dpl> | |||
[[Category:Table]] [[Category:Item]] |
Latest revision as of 08:58, 8 January 2009
Tuple
Within Planimate a Tuple is considered to be a collection of data components stored in a row of a table or on an item in the form if item attributes.
Planimate offers a variety of Routine Operations that assist in the transfer of the tuple information between item and tables. These are listed below.
Tuple Routine Operations
Tuple Defined
Mathematically a Tuple is considered to be a sequence or 'Ordered list' of a specific number of values. Traditionally tuples are described as an n-Tuple where n represents the number of values within the ordered list.
Programming languages such as C, LISP, make use of tuples as a data type. Common uses for the tuple as a data type include, for passing a string of parameters from one program to another, and representing a set of value attributes in a relational database. In some languages, tuples can be nested within other tuples within parentheses or brackets or other delimiters. Importantly, tuples can contain a mixture of other data types.
The Difference in Planimate
Planimate makes use of the term tuple a little more loosely.
The key differences include:
- In Planimate, a tuple is implicitly set by the names of items attributes and table columns that happen to match. Usually they are more explicitly defined.
- Other languages provide greater opportunities to manage tuples as a collection of records. In Planimate, a single item can only carry multiple tuples only if their element names don't clash.
- Other languages support different data types (int, float, strings) as members of their tuple's and complain if you mix things up. Planimate treats everything as floating point numbers. Planimate doesn't have the luxury of being compiled to assembly like other languages, slowing data processing.