-
Notifications
You must be signed in to change notification settings - Fork 2
RandNormal
Andika Wasisto edited this page May 1, 2021
·
2 revisions
GET /api/randnormal
Name | Type | Description |
---|---|---|
length |
integer | The number of random numbers to generate. Default: 1 |
mu |
number | The mean. Default: 0.0 |
sigma |
number | The standard deviation. Default: 1.0 |
curl 'http://192.168.1.100:8080/api/randnormal?length=10'
Status: 200 OK
{
"action": "randnormal",
"mu": 0.0,
"sigma": 1.0,
"length": 10,
"data": [
0.5701110885581638,
0.1996882510375306,
-0.7010500648665656,
1.587191900038012,
-0.15222487774753307,
0.09697828570517471,
-1.7998530109174575,
0.7926064808735915,
0.08671374150922546,
-0.3844227185173853
]
}