MCPcopy Create free account
hub / github.com/WinVector/Logistic / toString

Method toString

src/com/winvector/opt/impl/SparseSemiVec.java:47–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 @Override
48 public String toString() {
49 final StringBuilder b = new StringBuilder();
50 b.append("[");
51 final int card = indices.length;
52 for(int ii=0;ii<card;++ii) {
53 final int i = indices[ii];
54 final double v = values[ii];
55 b.append("\t" + i + ":" + v);
56 }
57 b.append("\t]");
58 return b.toString();
59 }
60}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected