problem in passing by reference@cire Thanks for your reply. Yes I changed to x.size()-1 and now it works. But I still dont get i...
Why does this not calculate right?It is always a good practice to write "double" with the decimals.
problem in passing by referenceHi all, I have a weird problem in my code. First let me share a snippet of my code as below. [code...
how to switch between different type?@LB So here is what I intended to do. I am using Eigen library for matrix manipulations and I want...
how to switch between different type?Hi all, Thanks for the reply. I know the function overloading technique. However in my case this i...