[petsc-users] MatMult doesn't give the correct result
Longmin RAN
longmin.ran at gmail.com
Wed Feb 15 04:22:36 CST 2012
Dear all,
I tried to use MatMult on a 2*2 matrix but could not get the right answer.
With MatView I saw the Matrix was correctly defined as :
row 0: (0, 0.707107)
row 1: (1, 0.707107)
The vector to be multiplied is
0
-0.0141421
But MatMult gave the result vector as
0
-0.01
Has anyone a clue to the problem? Thank you for you help in advance.
Cheers,
Longmin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120215/eab63923/attachment.htm>
More information about the petsc-users
mailing list