Sparse Matrix

Leandro Franco Londoño <[email protected]>
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
 Hello There (and good Morning)


 I'm having some problems with the Matrix-Matrix multiplication when they
 are sparse matrices. It seems to be that when multiplying the matrix
 tends to lose dispersion... I suppose it makes a dot product between the rows
 and columns and the accumulator finishes with zero, but the algorithm puts
 that zero in the matrix and I think it should not put anything at all, should 

 it? (I'm having the same problem with the Matrix-Vector multiplication)

 Is there any way to fix this problem? (I perform a serie of multiplications
                                        to the same matrix and it would be 
                                        very useful)
 
  And.... I'm very clumsy reading the documentation and couldn't find
  any way to set the value of the position of a (sparse) Vector/Matrix 
  to zero, I mean.. if I try Vector(i)=0; (when Vector(i)==3, for 
  example ) it doesn't reduce the number of non zero elements. 
  Isn't there something like Vector.clear(i) ?



  Thank you very much for everything.
 
 

  Leandro Franco Londoño
  Ing. de Sistemas y Computación
  Universidad de los Andes
  Bogota
  Colombia

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.