Variables

All numeric literals in EXTREMA are stored internally as double precision real numbers. Numeric valued variables are stored internally as double precision real numbers, but EXTREMA also allows string valued variables. The following table shows the variable types.

scalar | a single number
vector | a one dimensional list of numbers
matrix | a two dimensional array of numbers
string | a character string
string array | an array of character strings

Except for some variables which are created automatically by various commands, each variable is named by the user. Variable names are not case sensitive, so variable `X` is the same as variable `x`

.

Other than restrictions due to memory allocation on your computer, there is

- no maximum number of variables
- no maximum size for variables
- no maximum dimension for string array variables
- no maximum length for string variables
- no maximum length for string elements of string array variables

Variable names
Scalar variables
Vector variables
Matrix variables
String variables
Making a vector

Commands
Indices