MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / clone

Method clone

JSAT/src/jsat/linear/SubVector.java:110–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 }
109
110 @Override
111 public Vec clone()
112 {
113 if(vec.isSparse())
114 return new SparseVector(this);
115 else
116 return new DenseVector(this);
117 }
118
119}

Callers 1

testCloneMethod · 0.95

Calls 1

isSparseMethod · 0.45

Tested by 1

testCloneMethod · 0.76