commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raviv Granot <raviv.gra...@gmail.com>
Subject [MATH] Sparse Matrix - visiting all entries
Date Tue, 17 Aug 2010 12:49:46 GMT
Hi,
I see 2 implementations of sparse matrix in the math.commons.linear library.

1. OpenMapRealMatrix
2. SparseFieldMatrix
Both are documented as "Sparse matrix implementation based on an open
addressed map".
Does anyone know what are the differences between the two? also, which
method should I use to iterate only
over the non zero elements? it seems that the WalkInRawOrder method runs
over the entire row-length x col-length,
the same as for RealMatrix.

Thanks in advance!

Raviv

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message