C++

The library “Eigen” is needed to compile and run the following c++ codes.

R