Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LangZhong36/immortal-jellyfish-algorithm
/ uniformArray
Method
uniformArray
java/src/main/java/ija/IJA.java:349–353 ·
view source on GitHub ↗
(int size, double val)
Source
from the content-addressed store, hash-verified
347
}
348
349
private
static
double[] uniformArray(
int
size, double val) {
350
double[] arr =
new
double[size];
351
Arrays.fill(arr, val);
352
return
arr;
353
}
354
355
public
static
class
Builder {
356
int
n = 50;
Callers
1
optimize
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected