Basic data handling Create data
This creates a list with values rising from zero to ten. This creates a two-dimensional list. Variables can contain data. This set the variable 'a' to a list. 'a' will now contain the list until you fill it with something else or close the program. You can use the # symbol to get the value from the last calculation
by table. This makes a list where the values go from 1 to 10 by using
the # symbol. Visualize data
This visualizes the data in the variable 'a' that we created earlier. Modify data
Get
This gets the third value in the second sub-list of the data variable
a. Note that the first value of a data variable has index 0. Drop
This drops the second value of the data variable 'a' Note that variable 'a' still is the same. The change is made in variable
'b'. This is because Eudox makes a new variable where the change is made.
'a' is still the same variable. If you want to change variable 'a' you
do like this. Map
This applies the function sine to all values of 'a'. |
Note that Map return a new variable with the new values, 'a' is still the same. Flatten
This flats the data variable 'a' to a one-dimensional list. Note that Flatten return a new variable with the new values, 'a' is still the same. Count
This counts the number of appearances of the value 4 in data variable
'a'.
|