11.07.2015 Views

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.5 Basic Types of <strong>Maple</strong> Objects2.5 Basic Types of <strong>Maple</strong> Objects • 21This section examines basic types of <strong>Maple</strong> objects, including expressionsequences, lists, sets, arrays, tables, and strings. These ideas are essentialto the discussion in the rest of this book. Also, the following conceptsin <strong>Maple</strong> are introduced.• Concatenation operator• Square bracket usage• Curly braces usage• Mapping• Colon (:) for suppressing output• Double quotation mark usageTypes Expressions belong to a class or group that share common properities.The classes and groups are known as types. For a complete list oftypes in <strong>Maple</strong>, refer to the ?type help page.Expression SequencesThe basic <strong>Maple</strong> data structure is the expression sequence. This is agroup of <strong>Maple</strong> expressions separated by commas.> 1, 2, 3, 4;1, 2, 3, 4> x, y, z, w;x, y, z, wExpression sequences are neither lists nor sets. They are a distinct datastructure within <strong>Maple</strong> and have their own properties.• Expression sequences preserve the order and repetition of their elements.Items stay in the order in which you enter them. If you enteran element twice, both copies remain.• Sequences are often used to build more sophisticated objects throughsuch operations as concatenation.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!