Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testClone
Method · 0.95
Calls
1
isSparse
Method · 0.45
Tested by
1
testClone
Method · 0.76