views:

177

answers:

2

Which is the best way to implement a sparse vector in Java?

Of course the good thing would be to have something that can be manipulated quite easily (normalization, scalar product and so on)

Thanks in advance

+2  A: 
Chad Okere
+1  A: 

JScience has a SparseVector implementation that is part of its linear algebra package.

trashgod