In my previous post, I have presented how to use the code of Numerical Recipes in MFC/C++. In this post, the use of it in C# is discussed.
Below is how to use it in C#:
1. Add the C# implementation of the snippets of “Numeric Recipe in C++”, 3rd edition into the project:
Note that the starting index of the matrix element is “1”, rather than “0” !
Emm, it works!
Cheers and happy coding!