These commands have the following syntax. Other Commands and Functions Maple knows about the elementary functions ln, exp, sin, cos, tan, etc. Data Structures Maple uses sequences, lists, sets, tables and arrays for representing more complicated data. A sequence is two or more expressions separated by commas. The seq function is a very useful function for creating sequences.
Sets are like lists except duplicate entries are removed.
In Maple there are many packages for special applications. The linalg package contains many functions from linear algebra for computing with vectors and matrices. In order to use a package, you must load the package using the with command, e.g. You can now use any of the functions listed. The matrix command can be used to input a matrix. In the next example the inverse and determinant of a 3 by 3 matrix is computed.