net.sourceforge.combean.mathprog.linalg.statics
Class SparseVectorStringifier

Package class diagram package SparseVectorStringifier
java.lang.Object
  extended by net.sourceforge.combean.mathprog.linalg.statics.SparseVectorStringifier

public class SparseVectorStringifier
extends Object

Collection of static utility methods for representing sparse vectors as strings.


Constructor Summary
SparseVectorStringifier()
           
 
Method Summary
static
<Label> String
convertToString(SparseVec<Label> svec)
          Represent a sparse vector as string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparseVectorStringifier

public SparseVectorStringifier()
Method Detail

convertToString

public static <Label> String convertToString(SparseVec<Label> svec)
Represent a sparse vector as string

Type Parameters:
Label -
Parameters:
svec - the sparse vector to be converted to a string
Returns:
string representation of svec