Theme 4. Programming elements in Maple. Types of data. Operands and operations
2. Types of data
Message A along with the corresponding information B is called the value.
Information B is called the value of the value, and the message A is denoted by the value. A set of values for which a certain set of operations is defined is called a set of values of a certain type.
The object type determines the set of values that this object can accept and the operations that can be performed on them.
Whole numbers, fractional numbers, floating point numbers are the main types of data. More complex data types include arrays, sets, and lists.
Single and multidimensional arrays are created by declaring arrays of elements of simple data types.
Elements of a multidimensional array are stored in rows.
To create an array, the array command ( i 1 .. j 1, i 2 .. j 2, ..., M ) is used that returns an array with elements from the list M.
An appeal to the elements of the plural, the list, and the array is indicated by the index of the element in square brackets.
Index names are character names with a lower index.
For their task, it is necessary to set the sequence of expressions after the symbolic name in square brackets, and the index name itself may also have a lower index.
Computer variable is a named part of the memory location, where data of a certain type is stored. By default, the variable is a scalar value.
If the expression uses a variable that does not have any numerical value, then such a variable is considered by the Maple system as an unknown value, and the expression containing the unknown is called a symbolic expression.
Just to work with such expressions, first and foremost, Maple was developed.
Variables allow you to store and process various types of data. By default, the Maple variable has a type, represents a character variable, and its value is its own name.
When assigning a variable to any value, its type changes to the value assigned to it.
Font Face
Font Size
Text Colour
Background Colour
Font Kerning
Image Visibility
Letter Spacing
Line Height
Link Highlight