Hello,
I am new to Mathematica. I really enjoy the symbolic manipulation with numerics, however, simple matrix operation is really slow compare to Matlab. I think I am missing a point in Mathematica because the difference is huge.
only takes 0.065 seconds. It is 100 times slower, that makes me believe that I am doing something incomplete in Mathematica.
Also I am aware that in this code f does not need to be in the loop but this is just an example. For my application f does or px does change in every do/for loop.
Thank you for your reply. You are right about the Do vs ParallelDo for a simple function + evaluation.
And for the Approx approach you are right but sadly sometimes I will need more than floating points.