Chapter 2
The BayES Language
2.1 Introduction
2.1.1 Writing and submitting code
2.1.2 Using the sample files that come with BayES
2.2 Arithmetic operations
2.3 Matrices and matrix calculations
2.3.1 Defining and using matrices
2.3.2 Indexing matrices and the range operator
2.3.3 Element-wise operators
2.3.4 Operator precedence
2.3.5 Functions operating on matrices
2.4 Datasets and data transformations
2.5 Models
2.6 Structures
2.7 Strings
2.8 Data types and assignments
2.9 Program flow
2.9.1 Boolean expressions and operators
2.9.2 if-else statements
2.9.3 for loops
2.9.4 while loops
2.10 User-defined functions
2.10.1 Rules for defining and calling functions
2.11 Plotting
2.1.1 Writing and submitting code
2.1.2 Using the sample files that come with BayES
2.2 Arithmetic operations
2.3 Matrices and matrix calculations
2.3.1 Defining and using matrices
2.3.2 Indexing matrices and the range operator
2.3.3 Element-wise operators
2.3.4 Operator precedence
2.3.5 Functions operating on matrices
2.4 Datasets and data transformations
2.5 Models
2.6 Structures
2.7 Strings
2.8 Data types and assignments
2.9 Program flow
2.9.1 Boolean expressions and operators
2.9.2 if-else statements
2.9.3 for loops
2.9.4 while loops
2.10 User-defined functions
2.10.1 Rules for defining and calling functions
2.11 Plotting