> >From my understanding:
>
> If you can write the results of your computation into a file, write
> the output from MATLAB and then from your C++ program. Make sure you
> have follow the same order in writing the data to a file (with same
> formatting like spaces/newlines...)
> Use a program like GNU diff/kdiff3/windiff on the two output files you
> have to find the differences between them. Ideally, you should not see
> any difference. If you do notice a difference, check if the difference
> is negligible (you have to decide the precision you are expecting).
>
> The idea behind this is:
> A drive to improve performance _must_ not degrade the correctness of
> the solution.

Ok thnks druvah..


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!