Hi,
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.

Thanks
Regards

Recommended Answers

All 2 Replies

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.