In this chapter, we discuss the following recipes:
- Traversing matrices efficiently
- Executing loops efficiently with conditional statements
- Generating full factorial designs
- Approximating π using partial series sums
- Running Monte Carlo simulations
- Analyzing a queuing system
- Working with complex numbers
- Writing a simple optimization routine
- Estimating linear regression
- Understanding broadcasting in Julia
- Improving code performance using @inbounds
- Creating a matrix from a set of vectors as rows
- Using array views to avoid memory allocation