Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WinVector/Logistic
/ SumFn
Method
SumFn
src/com/winvector/opt/impl/SumFn.java:17–20 ·
view source on GitHub ↗
(final Iterable<VectorFn> underlying)
Source
from the content-addressed store, hash-verified
15
private
final
int
dim;
16
17
public
SumFn(
final
Iterable<VectorFn> underlying) {
18
this.underlying = underlying;
19
dim = underlying.iterator().next().dim();
20
}
21
22
@Override
23
public
int
dim() {
Callers
nothing calls this directly
Calls
3
dim
Method · 0.65
next
Method · 0.45
iterator
Method · 0.45
Tested by
no test coverage detected