2004-01-19 21:51:56 UTC
Hi, thanks for the responses.
In relation to the third point:
The code I provided puts the following into a sparse matrix:
1+2j at position (3,3)
0.3+1.0j at position (1,2) &
4+0.5j at position (2,1)
Then when I execute the spFindElement command on element (1,1) I get a non-null spElement back, indicating that something must be in position (1,1) but there isn't. If instead, I was to execute the spGetElement command for position (1,1), I would end up putting a 0+0j into the sparse matrix at position (1,1).
The results returned by spFindElement seem to depend on the order in which you place elements into a Sparse matrix, while spGetElement doesn't. Is this intended?