This repository contains my tutorials on how to master Matrix operation and numerical optimisation with Eigen and C++. The following will be the outline of this repository:
Chapter 1
Chapter 2
- Matrix Class
- Vector Class
- Array Class
- Initialization
- Accessing Elements (Coefficient)
- Reshaping, Resizing, Slicing
- Tensor Module
Chapter 3
- Matrix Arithmetic
- Coefficient-Wise Operations
- Reductions
- Minimum/ Maximum Element In The Matrix
- Minimum/ Maximum Element Row-wise/Col-wise in the Matrix
- Sum Of All Elements
- Mean Of The Matrix
- Mean Of The Matrix Row-wise/Col-wise
- The Trace Of The Matrix
- The Multiplication Of All Elements
- Norm 2 of The Matrix
- Norm Infinity Of The Matrix
- Checking If All Elements Are Positive
- Checking If Any Elements Is Positive
- Counting Elements
- Matrix Condition Number
- Matrix Rank
- Broadcasting
Chapter 4
- Memory Alignment
- Passing Eigen objects by value to functions
- Aliasing
- Check Matrix Similarity
- Memory Mapping
- Unary Expression
- Eigen Functor