"someone" <bo***********@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
CBLAS function dgemv (all operations of type double) returns a vector,
some of whose components are:
-4.7195321e-16
2.6001879e-16
-6.1531184e-16
2.3054204e-16
-2.2817035e-16
Should I assume these to be essentially 0?
MATLAB does similar computation and returns values:
0.00000004361293
0.000000080393098
0.000000036770758
0.000000009778969
0.000000016177475
which look something like x.ye-8. Which of the two should I believe as
these components are used in further computations.
It depends on the formulas you used. If these were the same formulas for
both, I would note that in your first one:
-4.7195321e-16
and 0.00000004361293
that CBLAS says it's a negative number, MATLAB says it's a positive number.
That's a pretty big difference. Look at your original formula (I don't care
to see it) and see if it should be a negative or positive value. If it
should be positive, use MATLAB, if it should be negative, use CBLAS. If you
can't decide, neither can I.