Share

Sparse

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

spFindElement

You are viewing a single message from this topic. View all messages.

  1. 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?






< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.