I' am required to convert a MATLAB function into C++, and this requires me to find determinate of a matrix. I was told that use of BOOST library would make my job easier. I went through the documentation of BOOST Library, but couldn't find much info about the same.

If anyone could give a template for the above operation, It would be of lot of help and would be greatly appreciated.


Unless you have access to MATLAB's source code for this task, you wouldn't really be converting MATLAB's specific function to C++.

If you just want a function for computing the determinant of a matrix, why not try the NETLIB repository? Or the book "Numerical Recipes"? I am sure there are many other sources of code for this task.