2. Data Types

Scilab recognizes several data types. Scalar objects are constants, booleans, polynomials, strings and rationals (quotients of polynomials). These objects in turn allow to define matrices which admit these scalars as entries. Other basic objects are lists, typed-lists and functions. Only constant and boolean sparse matrices are defined. The objective of this chapter is to describe the use of each of these data types.

- 2.1 Special Constants
- 2.2 Constant Matrices

- 2.3 Matrices of Character Strings
- 2.4 Polynomials and Polynomial Matrices

- 2.5 Boolean Matrices
- 2.6 Integer Matrices
- 2.7 Lists
- 2.8 N-dimensionnal arrays
- 2.9 Linear system representation
- 2.10 Functions (Macros)
- 2.11 Libraries
- 2.12 Objects
- 2.13 Matrix Operations
- 2.14 Indexing